[U-Boot] [PATCH 3/3 v2] Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value

Wolfgang Denk wd at denx.de
Tue Oct 26 22:38:11 CEST 2010


Dear Alessandro Rubini,

In message <20101026195429.GA1349 at morgana.i.gnudd.com> you wrote:
>
> This has already been applied, sooner than usual.  Isn't it cleaner to
> force alignment on the structure itself? This way different architectures
> may use different values, if the need arises.

It would be better, but how to implement that? Please keep in mind
that the pointers are set up in aseembler code, where we don't have
such things as "struct" etc.  We're dealing with raw addresses here,
which is the reason we have to go through all this effort with
asm-offsets and such.

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
I have a very small mind and must live with it.    -- Edsger Dijkstra


More information about the U-Boot mailing list