public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm, davinci: make arch_cpu_init() in da850_lowlevel.c weak
Date: Wed, 09 Nov 2011 13:27:42 +0100	[thread overview]
Message-ID: <4EBA71BE.7020007@denx.de> (raw)
In-Reply-To: <CABkLObrrsU5rQXLa0K66m0y4d1Aoh_5ftdP9B8sS_gyG4xOFHw@mail.gmail.com>

Hello Christian,

Christian Riesch wrote:
> Hello Heiko,
> 
> On Wed, Nov 9, 2011 at 11:44 AM, Heiko Schocher <hs@denx.de> wrote:
>>> Heiko, Christian: please negotiate who performs which part of the
>>> cleanup. But I expect that with proper symbolic names instead of the
>>> hardwired constants the need for a wek function will go away.
>> I rework this.
> 
> I'd like to help but since we have different custom boards it's a bit
> hard to test. Therefore I'd like to get this lowlevel initialization

Do you plan to post your patches for your custom board to the ML?

> working on the da850evm board. Since it boots from SPI I guess I'll
> need an SPL for SPI flash, right? Could we try to clean it up in a way

Yes.

> so it nicely integrates with your SPL code in
> arch/arm/cpu/arm926ejs/davinci/spl.c?

I soon post the cleanup for the da850_lowlevel.c file, so you can
do this based on that patch. You only have to adapt board_init_f() in
arch/arm/cpu/arm926ejs/davinci/spl.c. There for the da850 case,
arch_cpu_init() or for the spl case better called da850_lowlevel_init()
from arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c must be called.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2011-11-09 12:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09  9:23 [U-Boot] [PATCH] arm, davinci: make arch_cpu_init() in da850_lowlevel.c weak Christian Riesch
2011-11-09 10:12 ` Wolfgang Denk
2011-11-09 10:18   ` Christian Riesch
2011-11-09 10:44     ` Wolfgang Denk
2011-11-09 11:17       ` Christian Riesch
2011-11-09 12:18         ` Heiko Schocher
2011-11-10 12:24           ` Christian Riesch
2011-11-09 10:44   ` Heiko Schocher
2011-11-09 11:26     ` Christian Riesch
2011-11-09 12:27       ` Heiko Schocher [this message]
2011-11-10 10:42         ` Christian Riesch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBA71BE.7020007@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox