[U-Boot] [PATCH 0/57] RFC: Move arch-specific global data into its own structure

Wolfgang Denk wd at denx.de
Tue Dec 4 20:27:16 CET 2012


Dear Graeme Russ,

In message <CALButCJqp4CPvpwc_ri9fp6tcd=Az-7Si=FMMc0adWBHMDtVQw at mail.gmail.com> you wrote:
> 
> I agree. While gd->arch does look a bit 'ugly', it immediately unlocks
> the path forward to unifying the init loop. The x86 board.c would be a
> good start (IMNSHO) by simply making the init sequence arrays extern.
> From there we can tackle what really needs to be in gd and what can
> simply be run of the mill global variables. I think most of what is
> under gd->arch may just 'fall out'

OK, it seems I have the weekest arguments.  I will not fight about
that.

But I would definitely like to know exactly how much we pay for in
terms of code size.

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
Program maintenance is an entropy-increasing process,  and  even  its
most skilfull execution only delays the subsidence of the system into
unfixable obsolescence.       - Fred Brooks, "The Mythical Man Month"


More information about the U-Boot mailing list