[U-Boot] [PATCH 09/10] arm: Move bootstage record for board_init_f() to after arch_cpu_init()

Simon Glass sjg at chromium.org
Thu Nov 22 15:57:17 CET 2012


Hi Wolfgang,

On Wed, Nov 7, 2012 at 5:18 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Simon,
>
> In message <CAPnjgZ0D4g4bK70VooK3SYkMzOwLSyPXdjE2yCn3gvJ1jAv6EQ at mail.gmail.com> you wrote:
>>
>> > NAK as is.  Please make sure to keep all arhcitectures in sync.  The
>> > long term goal iss till to merge the lib/board.c files into a single,
>> > common one.
>>
>> See my notes on the other patch, most of which apply here.
>>
>> http://patchwork.ozlabs.org/patch/196419/
>>
>> I don't believe this affects other architectures, but it is a problem
>> on at least exynos 5.
>
> Well, but if you just compare arch/arm/lib/board.c and
> arch/powerpc/lib/board.c, we are heading into pretty much deviation
> directions.  I'd like to stop that.

Well powerpc doesn't have specific bootstage markers at present
(although it does use boot progress). I hope that the generic board
series will solve this problem in general, but in the meantime this is
a real problem, and only in ARM.

Regards,
Simon

>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> It is impractical for  the  standard  to  attempt  to  constrain  the
> behavior  of code that does not obey the constraints of the standard.
>                                                           - Doug Gwyn


More information about the U-Boot mailing list