summaryrefslogtreecommitdiff
path: root/include/configs/imx8qm_mek.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-08-23 23:39:37 -0700
committerYe Li <ye.li@nxp.com>2018-08-28 01:27:42 -0700
commit1d5b94332b995d21ca43e51333e1b3d4ef47c32e (patch)
treed6dace70d3cfa87748f18ac85399e8355c662489 /include/configs/imx8qm_mek.h
parent64c88236e467f5dc7aa1c9d3047137707af97103 (diff)
MLK-18901-1 imx8qm/qxp: Enable mtest command for ARM2 and MEK boards
Enable the mtest command and add relevant configurations for tested memory range. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 4bfe6f1e7527921d9f02dbd37eea8924dd6d3336)
Diffstat (limited to 'include/configs/imx8qm_mek.h')
-rw-r--r--include/configs/imx8qm_mek.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h
index cafa81b93c..05febe50e4 100644
--- a/include/configs/imx8qm_mek.h
+++ b/include/configs/imx8qm_mek.h
@@ -311,6 +311,9 @@
#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
#define PHYS_SDRAM_2_SIZE 0x100000000 /* 4 GB */
+#define CONFIG_SYS_MEMTEST_START 0xA0000000
+#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_1_SIZE >> 2))
+
/* Serial */
#define CONFIG_BAUDRATE 115200