]> git.sur5r.net Git - u-boot/commitdiff
85xx: Fix memory test range on MPC8536DS
authorFelix Radensky <felix@embedded-sol.com>
Sat, 15 Aug 2009 12:08:37 +0000 (15:08 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 28 Aug 2009 22:12:40 +0000 (17:12 -0500)
With current values of CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END
memory test hangs if run without arguments. Set them to sane values, so
that all available 512MB of RAM excluding exception vectors at the bottom
and u-boot code and stack at the top can be tested.

Signed-off-by: Felix Radensky <felix@embedded-sol.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/configs/MPC8536DS.h

index f08f5ab6a17abb2f72c96caa009b9e489873e2ca..4746e2ead56da73b2ffc6fee5f82252399e08fce 100644 (file)
@@ -86,8 +86,8 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_NUM_ADDR_MAP                16      /* number of TLB1 entries */
 #endif
 
-#define CONFIG_SYS_MEMTEST_START       0x00000000      /* memtest works on */
-#define CONFIG_SYS_MEMTEST_END         0x7fffffff
+#define CONFIG_SYS_MEMTEST_START       0x00010000      /* skip exception vectors */
+#define CONFIG_SYS_MEMTEST_END         0x1f000000      /* skip u-boot at top of RAM  */
 #define CONFIG_PANIC_HANG      /* do not reset board on panic */
 
 /*