summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Kridner <jkridner@beagleboard.org>2011-04-19 11:58:54 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:21 +0200
commit780a97f8c8a8a0b61c687fbef4a1c8a08d131cda (patch)
treeebc4777ab85d24cb65c864c5a6acc86f298765cb
parent25a4d0175cdde2d8e537f8a27e1612bc80938f03 (diff)
downloadu-boot-imx-780a97f8c8a8a0b61c687fbef4a1c8a08d131cda.zip
u-boot-imx-780a97f8c8a8a0b61c687fbef4a1c8a08d131cda.tar.gz
u-boot-imx-780a97f8c8a8a0b61c687fbef4a1c8a08d131cda.tar.bz2
BeagleBoard: config: make mtest run
Utilize the alternate mtest and define a valid region. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
-rw-r--r--include/configs/omap3_beagle.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 9e6e2fa..11283ab 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -286,10 +286,11 @@
/* Boot Argument Buffer Size */
#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
-#define CONFIG_SYS_MEMTEST_START (OMAP34XX_SDRC_CS0) /* memtest */
- /* works on */
-#define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + \
- 0x01F00000) /* 31MB */
+#define CONFIG_SYS_ALT_MEMTEST 1
+#define CONFIG_SYS_MEMTEST_START (0x82000000) /* memtest */
+ /* defaults */
+#define CONFIG_SYS_MEMTEST_END (0x87FFFFFF) /* 128MB */
+#define CONFIG_SYS_MEMTEST_SCRATCH (0x81000000) /* dummy address */
#define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default */
/* load address */