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 <[EMAIL PROTECTED]>
---
 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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to