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

2010-05-03 Thread Vipin KUMAR
On 5/3/2010 5:07 AM, Tom Rix wrote:
 Vipin KUMAR wrote:
 Signed-off-by: Vipin Kumar vipin.ku...@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_BANKS1
  #define PHYS_SDRAM_10x
 -#define PHYS_SDRAM_1_MAXSIZE0x4000
 +#define PHYS_SDRAM_1_MAXSIZE0x0800
 
 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
 
 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2010-05-02 Thread Tom Rix
Vipin KUMAR wrote:
 Signed-off-by: Vipin Kumar vipin.ku...@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 0x
 -#define PHYS_SDRAM_1_MAXSIZE 0x4000
 +#define PHYS_SDRAM_1_MAXSIZE 0x0800

I verified that spear3xx and spear6xx only have 128GB
Add a more descriptive long commit explaining why the change is necessary.

Tom

  
  #endif

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2010-04-25 Thread Vipin KUMAR
Signed-off-by: Vipin Kumar vipin.ku...@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   0x
-#define PHYS_SDRAM_1_MAXSIZE   0x4000
+#define PHYS_SDRAM_1_MAXSIZE   0x0800
 
 #endif
-- 
1.6.0.2

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot