diff options
author | Ye Li <ye.li@nxp.com> | 2018-08-23 23:42:54 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-09-04 23:23:08 -0700 |
commit | 8ae224d63b2affb48566e97c0b73f80251074441 (patch) | |
tree | d121302fde1ce788dac6a2422b5ee063c8c45542 /include/configs | |
parent | 0c23edf740b5bd96fa1637bb8c07bb878732c9a6 (diff) |
MLK-18901-3 imx8mm: Enable mtest command for validation and EVK boards
Enable the mtest command and add relevant configurations for tested memory
range to all validation boards and EVK board.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit d92447e705ff6f077c602d340c01535ccee0ea66)
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/imx8mm_evk.h | 3 | ||||
-rw-r--r-- | include/configs/imx8mm_val.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h index a5c8bd0ed2..ae637ea562 100644 --- a/include/configs/imx8mm_evk.h +++ b/include/configs/imx8mm_evk.h @@ -218,6 +218,9 @@ #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ #define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1)) + #define CONFIG_BAUDRATE 115200 #define CONFIG_MXC_UART diff --git a/include/configs/imx8mm_val.h b/include/configs/imx8mm_val.h index 3f077d079e..51102d0f9e 100644 --- a/include/configs/imx8mm_val.h +++ b/include/configs/imx8mm_val.h @@ -210,6 +210,9 @@ #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ #define CONFIG_NR_DRAM_BANKS 1 +#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1)) + #define CONFIG_BAUDRATE 115200 #define CONFIG_MXC_UART |