[U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size
Wolfgang Denk
wd at denx.de
Sun Sep 26 10:52:28 CEST 2010
Dear "V, Aneesh",
In message <FF55437E1F14DA4BAEB721A458B6701706FCA3B7C0 at dbde02.ent.ti.com> you wrote:
>
> I think you are referring to SDRAM initialization. Yes, it is assumed
> that SDRAM initialization(at least the DMM part of it) is done before
> the call to sdram_size(). The right location for this seems
> to be the initial part of sdram_init().
If you have to deal with boards which may come with different memory
sizes, these may need different initializations. I don't know your
hardware - you may or may not be able to read the needed configuration
from the hardware. Eventually you need to try out different
configurations, in which case the SDRAM initialization has to be part
of the RAM initialization code (as it has to be retried for each
possible configuration).
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 knew then (in 1970) that a 4-kbyte minicomputer would cost as much
as a house. So I reasoned that after college, I'd have to live
cheaply in an apartment and put all my money into owning a computer."
- Apple co-founder Steve Wozniak, EE Times, June 6, 1988, pg 45
More information about the U-Boot
mailing list