[U-Boot] ALERT! >90% of all board configurations BROKEN

Wolfgang Denk
2010-10-26T09:40:54Z

Dear Reinhard Meyer,

In message <4CC6909F.4060503@emk-elektronik.de> you wrote:
> Dear Albert ARIBAUD,
>
> >> That is #ifdef-ed away in case of ARM-relocation. Perhaps we should remove
> >> all code that pertains to "WITHOUT_RELOC"... Would make the rest of the code
> >> less obscure...
> >
> >> I changed my board.config like this:
> >> ...
> >> /*#define CONFIG_SYS_GBL_DATA_SIZE 128*/ /* 128 bytes for initial data */
> >> ...
> >> #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 /*- CONFIG_SYS_GBL_DATA_SIZE*/)
>
> I must confess I copied that #define from other boards without much reasoning about it:)

I just mentioned it in another mail: there is lots of confusion in
this area, and little common code. I will try to remove all of this.
All we need is the address and size of the initial RAM area; all the
rest can (now) be automatically calculated. Patches are in the works.

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
Emotions are alien to me. I'm a scientist.
-- Spock, "This Side of Paradise", stardate 3417.3