Patchwork [U-Boot] i.MX6Q: mx6qsabre*: Configure to allow CONFIG_SYS_ALT_MEMTEST

login
register
mail settings
Submitter Eric Nelson
Date Feb. 1, 2013, 6:08 p.m.
Message ID <1359742125-9123-1-git-send-email-eric.nelson@boundarydevices.com>
Download mbox | patch
Permalink /patch/217559/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Eric Nelson - Feb. 1, 2013, 6:08 p.m.
In order to use the more thorough memory test, the macro
CONFIG_SYS_MEMTEST_SCRATCH must be defined with a usable
address.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 include/configs/mx6qsabre_common.h |    1 +
 include/configs/mx6qsabrelite.h    |    1 +
 2 files changed, 2 insertions(+)
Stefano Babic - Feb. 12, 2013, 5:47 p.m.
On 01/02/2013 19:08, Eric Nelson wrote:
> In order to use the more thorough memory test, the macro
> CONFIG_SYS_MEMTEST_SCRATCH must be defined with a usable
> address.
> 
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---


Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index d76357c..f7e8779 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -171,6 +171,7 @@ 
 
 #define CONFIG_SYS_MEMTEST_START       0x10000000
 #define CONFIG_SYS_MEMTEST_END         0x10010000
+#define CONFIG_SYS_MEMTEST_SCRATCH     0x10800000
 
 #define CONFIG_SYS_LOAD_ADDR           CONFIG_LOADADDR
 #define CONFIG_SYS_HZ                  1000
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index 5ac93ad..a08e7f7 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -252,6 +252,7 @@ 
 
 #define CONFIG_SYS_MEMTEST_START       0x10000000
 #define CONFIG_SYS_MEMTEST_END	       0x10010000
+#define CONFIG_SYS_MEMTEST_SCRATCH     0x10800000
 
 #define CONFIG_SYS_LOAD_ADDR	       CONFIG_LOADADDR
 #define CONFIG_SYS_HZ		       1000