Commit b9116f903678cf411c7c58099efcb3565cd667d0
1 parent
26aab18d03
Exists in
smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga
and in
5 other branches
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)
Showing 6 changed files with 10 additions and 0 deletions Side-by-side Diff
configs/imx8mm_ddr4_val_defconfig
configs/imx8mm_evk_android_defconfig
configs/imx8mm_evk_defconfig
configs/imx8mm_evk_fspi_defconfig
include/configs/imx8mm_evk.h
... | ... | @@ -219,6 +219,9 @@ |
219 | 219 | #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ |
220 | 220 | #define CONFIG_NR_DRAM_BANKS 1 |
221 | 221 | |
222 | +#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM | |
223 | +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1)) | |
224 | + | |
222 | 225 | #define CONFIG_BAUDRATE 115200 |
223 | 226 | |
224 | 227 | #define CONFIG_MXC_UART |
include/configs/imx8mm_val.h
... | ... | @@ -207,6 +207,9 @@ |
207 | 207 | #define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */ |
208 | 208 | #define CONFIG_NR_DRAM_BANKS 1 |
209 | 209 | |
210 | +#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM | |
211 | +#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE >> 1)) | |
212 | + | |
210 | 213 | #define CONFIG_BAUDRATE 115200 |
211 | 214 | |
212 | 215 | #define CONFIG_MXC_UART |