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

Nishanth Menon menon.nishanth at gmail.com
Sun Sep 26 14:36:31 CEST 2010


On 09/26/2010 03:39 AM, V, Aneesh wrote:
> 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().

thanks for the clarification.. NOR boot is usually going to have initial 
part in XIP -> we'd traditionally relocate to SDRAM before the call to 
sdram_size() happens.

Regards,
Nishanth Menon


More information about the U-Boot mailing list