[U-Boot] [PATCH] socrates: change default mtest address range

Anatolij Gustschin agust at denx.de
Wed Sep 17 13:46:17 CEST 2008


Running mtest command on socrates without specifying
an address range crashes the board. This patch changes
default mtest address range to prevent this behavior.

Signed-off-by: Anatolij Gustschin <agust at denx.de>
---
 include/configs/socrates.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 28e8fd2..bbb9d18 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -87,8 +87,8 @@
 #define CFG_INIT_DBCR DBCR_IDM		/* Enable Debug Exceptions	*/
 
 #undef	CFG_DRAM_TEST			/* memory test, takes time	*/
-#define CFG_MEMTEST_START	0x00000000
-#define CFG_MEMTEST_END		0x10000000
+#define CFG_MEMTEST_START	0x00400000
+#define CFG_MEMTEST_END		0x00C00000
 
 /*
  * Base addresses -- Note these are effective addresses where the
-- 
1.5.3.3



More information about the U-Boot mailing list