Hi Nishanth > -----Original Message----- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Nishanth Menon > Sent: Saturday, September 25, 2010 8:30 PM > To: Steve Sakoman > Cc: u-boot@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<ane...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot