Patchwork [U-Boot] BeagleBoard: config: make mtest run

login
register
mail settings
Submitter Jason Kridner
Date April 20, 2011, 11:52 p.m.
Message ID <1303343572-19972-17-git-send-email-jkridner@beagleboard.org>
Download mbox | patch
Permalink /patch/92349/
State Accepted
Commit 780a97f8c8a8a0b61c687fbef4a1c8a08d131cda
Headers show

Comments

Jason Kridner - April 20, 2011, 11:52 p.m.
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
---
 include/configs/omap3_beagle.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

Patch

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index ade6225..17d4356 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -276,10 +276,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 */