[U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size

V, Aneesh aneesh at ti.com
Sun Sep 26 10:39:57 CEST 2010


Hi Nishanth

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
> bounces at lists.denx.de] On Behalf Of Nishanth Menon
> Sent: Saturday, September 25, 2010 8:30 PM
> To: Steve Sakoman
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size
> 
> On 09/23/2010 04:12 PM, Steve Sakoman wrote:
> > From: Aneesh V<aneesh at ti.com>
> >
> > Calculate the SDRAM size from DMM configuration registers instead
> of using
> > hard-coded values. This gives correct values for all different
> boards.
> >
> > It's assumed that DMM sections do not overlap memory areas.
> 
> How do we handle NOR boot? is it assumed that the configuration will
> be
> done way befor the sdram_init?
> 

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(). 

Best regards,
Aneesh



More information about the U-Boot mailing list