[U-Boot] [PATCH v2 05/17] SPEAr : Reducing the max RAM size to 128MB

Vipin KUMAR vipin.kumar at st.com
Tue May 4 07:50:13 CEST 2010


On 5/3/2010 5:07 AM, Tom Rix wrote:
> Vipin KUMAR wrote:
>> Signed-off-by: Vipin Kumar <vipin.kumar at st.com>
>> ---
>>  include/configs/spear-common.h |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/include/configs/spear-common.h
>> b/include/configs/spear-common.h
>> index cc52e39..b526558 100644
>> --- a/include/configs/spear-common.h
>> +++ b/include/configs/spear-common.h
>> @@ -208,6 +208,6 @@
>>  /* Physical Memory Map */
>>  #define CONFIG_NR_DRAM_BANKS            1
>>  #define PHYS_SDRAM_1                0x00000000
>> -#define PHYS_SDRAM_1_MAXSIZE            0x40000000
>> +#define PHYS_SDRAM_1_MAXSIZE            0x08000000
> 
> I verified that spear3xx and spear6xx only have 128GB
> Add a more descriptive long commit explaining why the change is necessary.
> 
Actually, Spear platform supports up to 1GB of RAM.
The problem is that the ddr driver does not work properly for the 
function get_ram_size when the max size of RAM is passed more than
the supported size on the board. There are random crashes while 
running uboot
The problem is with ddr driver. I have to look into this. 
This commit change is temporary and once the ddr driver problem is 
resolved, it would get back to 1GB

> Tom
> 
>>  
>>  #endif
> 
> 



More information about the U-Boot mailing list