From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin KUMAR Date: Tue, 04 May 2010 11:20:13 +0530 Subject: [U-Boot] [PATCH v2 05/17] SPEAr : Reducing the max RAM size to 128MB In-Reply-To: <4BDE0CD1.40109@bumblecow.com> References: <1272250610-15439-1-git-send-email-vipin.kumar@st.com> <1272250610-15439-2-git-send-email-vipin.kumar@st.com> <1272250610-15439-3-git-send-email-vipin.kumar@st.com> <1272250610-15439-4-git-send-email-vipin.kumar@st.com> <1272250610-15439-5-git-send-email-vipin.kumar@st.com> <1272250610-15439-6-git-send-email-vipin.kumar@st.com> <4BDE0CD1.40109@bumblecow.com> Message-ID: <4BDFB595.6010005@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5/3/2010 5:07 AM, Tom Rix wrote: > Vipin KUMAR wrote: >> Signed-off-by: Vipin Kumar >> --- >> 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 > >