summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-08-23 23:41:45 -0700
committerYe Li <ye.li@nxp.com>2018-09-04 23:22:55 -0700
commit0c23edf740b5bd96fa1637bb8c07bb878732c9a6 (patch)
treec9aaaf0815796fd037554420da17e9cd987e74bd /include
parent5e767185529c895f62c3216f27d8370e2bcabbce (diff)
MLK-18901-2 imx8mq: Enable mtest command for ARM2 and EVK boards
Enable the mtest command and add relevant configurations for tested memory range to all ARM2 boards and EVK board. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit bb3dfa130dd0af57dfe7a41869f6ecd843e6c558)
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8mq_arm2.h3
-rw-r--r--include/configs/imx8mq_evk.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/imx8mq_arm2.h b/include/configs/imx8mq_arm2.h
index ca116b8b61..9a354cd4fb 100644
--- a/include/configs/imx8mq_arm2.h
+++ b/include/configs/imx8mq_arm2.h
@@ -258,6 +258,9 @@
#endif
#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/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 4c4a488ed6..86a2bc64d2 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -215,6 +215,9 @@
#define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB 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