[U-Boot] [PATCH 2/5] mx35pdk: Provide proper range for memtest
Fabio Estevam
festevam at gmail.com
Sun Feb 12 16:38:33 CET 2012
From: Fabio Estevam <fabio.estevam at freescale.com>
memtest adresses should contain proper DRAM address range.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
include/configs/mx35pdk.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 0c62b9f..f2d4112 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -156,8 +156,8 @@
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
-#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)
#undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
--
1.7.1
More information about the U-Boot
mailing list