From 91a1b19e7384c0eca4ed96a0cae16d2f7d95fbb7 Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 22 Jun 2022 14:20:20 +0200 Subject: 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 --- include/configs/colibri-imx8x.h | 4 ++-- 1 file 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 -- cgit v1.2.3