summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2022-06-22 14:20:20 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-06-23 09:33:02 +0000
commit91a1b19e7384c0eca4ed96a0cae16d2f7d95fbb7 (patch)
tree3b85c3d86e41c541fcff0390d17a357bd3e1a9e0
parent91423eaf92057f78262a36468b83f9791b2a27d5 (diff)
colibri-imx8x: Fix default mtest parameters
Set mtest default end address to 0xB0000000, testing 512MB memory that is fine with any of our SKU. Without this change mtest without parameters just crash on module with 1GB of memory. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--include/configs/colibri-imx8x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h
index 2c6a88de80..fbb811cbb7 100644
--- a/include/configs/colibri-imx8x.h
+++ b/include/configs/colibri-imx8x.h
@@ -45,7 +45,7 @@
* SYS_MEMTEST_START 0x90000000
* RPMSG/IPU/DSP 0x90000000 96MiB
* kernel_addr_r 0x96000000 64MiB
- * SYS_MEMTEST_END 0xC0000000
+ * SYS_MEMTEST_END 0xB0000000
*/
#define MEM_LAYOUT_ENV_SETTINGS \
@@ -119,7 +119,7 @@
#define CONFIG_SYS_INIT_SP_ADDR 0x80200000
#define CONFIG_SYS_MEMTEST_START 0x90000000
-#define CONFIG_SYS_MEMTEST_END 0xc0000000
+#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + SZ_512M)
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1