Selaa lähdekoodia

i.MX6Q: mx6qsabre*: Configure to allow CONFIG_SYS_ALT_MEMTEST

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>
Eric Nelson 12 vuotta sitten
vanhempi
commit
bec0160e9f
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 1 0
      include/configs/mx6qsabre_common.h
  2. 1 0
      include/configs/mx6qsabrelite.h

+ 1 - 0
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

+ 1 - 0
include/configs/mx6qsabrelite.h

@@ -241,6 +241,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