From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 12 May 2012 18:10:19 +0200 Subject: [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound In-Reply-To: <1336838852-14235-1-git-send-email-festevam@gmail.com> References: <1336838852-14235-1-git-send-email-festevam@gmail.com> Message-ID: <201205121810.19334.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, > From: Fabio Estevam > > Scan only first 512 MB of DRAM to avoid memory wraparound. > > This fixes mx28evk boot and it follows the same idea of commit > 19a2066b57 (M28: Scan only first 512 MB of DRAM to avoid memory wraparound) Thanks, sorry for the breakage. Acked-by: Marek Vasut btw. I think Otavio was working on some common config, wasn't he? btw2. won't there ever be MX28EVK with more than 512MB of DRAM? > > Signed-off-by: Fabio Estevam > --- > include/configs/mx28evk.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h > index 0c18e50..a4ea12d 100644 > --- a/include/configs/mx28evk.h > +++ b/include/configs/mx28evk.h > @@ -75,7 +75,7 @@ > */ > #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ > #define PHYS_SDRAM_1 0x40000000 /* Base address */ > -#define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */ > +#define PHYS_SDRAM_1_SIZE 0x20000000 /* Max 512MB RAM */ > #define CONFIG_STACKSIZE (128 * 1024) /* 128 KB stack */ > #define CONFIG_SYS_MALLOC_LEN 0x00400000 /* 4 MB for malloc */ > #define CONFIG_SYS_MEMTEST_START 0x40000000 /* Memtest start adr */ Best regards, Marek Vasut