[U-Boot] [PATCH] overo: add SPL support

Wolfgang Denk wd at denx.de
Tue Dec 20 12:41:08 CET 2011


Dear Tom Rini,

In message <CA+M6bXn_ZBqA8rosE4L4O+4Eu+grAhWgCZ=u=2Nomb6WcyL6-w at mail.gmail.com> you wrote:
>
> > I guess you really, really must use i2c before relocation? =A0If
> > possible, this should be avoided in the first place.
> 
> Yes, board rev detection to know how to configure SDRAM.

I don't consider this a valid reason (reading the SPD EEPROM would be
such a reason).  In almost all other cases it should be suffucient to
configure the maximum number of memory banks and the maximum size of
the memory banks and then use get_ram_size() to determine the actual
amount of memory and to correctly initialize the memory controller.

Note that I don't insist on any changes to existing code here.  This
is just a recommendation which you may (or may not) consider for any
future ports / implementations.


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
How much net work could a network work, if a network could net work?


More information about the U-Boot mailing list