[U-Boot] [PATCH v5] board support patch for phyCORE-MPC5200B-tiny

Wolfgang Denk wd at denx.de
Fri Jul 10 22:52:26 CEST 2009


Dear Jon Smirl,

In message <9e4733910906141512t26abf788g165491885ba8dbea at mail.gmail.com> you wrote:
>
> >> +#define CONFIG_SYS_FLASH_BASE                0xff000000
> >> +#define CONFIG_SYS_FLASH_SIZE                0x01000000
> >
> > You should rather use auto-sizing (ditto for RAM).
>
> I don't know how to do this correctly. I took out the old auto-sizing
> code because it didn't work right.

See some other boards...

> Also, I don't own any hardware with different sized RAM/flash to test with.

Well, then it's sufficient if it auto-detects the correct size on your
board.

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
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.


More information about the U-Boot mailing list