From: Fabio Estevam Date: Sun, 12 Feb 2012 13:38:36 -0200 Subject: [U-Boot] [PATCH 5/5] imx31_phycore: Provide proper range for memtest In-Reply-To: <1329061116-3471-1-git-send-email-festevam@gmail.com> References: <1329061116-3471-1-git-send-email-festevam@gmail.com> Message-ID: <1329061116-3471-5-git-send-email-festevam@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de memtest adresses should contain proper DRAM address range. Signed-off-by: Fabio Estevam --- include/configs/imx31_phycore.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 3153eb5..f0766d4 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -134,8 +134,8 @@ /* Boot Argument Buffer Size */ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#define CONFIG_SYS_MEMTEST_START 0 /* memtest works on */ -#define CONFIG_SYS_MEMTEST_END 0x10000 +#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE/2) +#define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE) #define CONFIG_SYS_LOAD_ADDR 0 /* default load address */ -- 1.7.1