Commit 5e767185 authored by Ye Li's avatar Ye Li

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: default avatarYe Li <ye.li@nxp.com>
(cherry picked from commit 4bfe6f1e7527921d9f02dbd37eea8924dd6d3336)
parent 59d8a477
......@@ -78,3 +78,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -76,3 +76,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -78,3 +78,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -79,3 +79,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -81,3 +81,4 @@ CONFIG_IMX_SC_THERMAL=y
CONFIG_LZ4=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -101,3 +101,4 @@ CONFIG_IMX_SC_THERMAL=y
CONFIG_LZ4=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -104,3 +104,4 @@ CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y
CONFIG_XEN_DEBUG_SERIAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -79,3 +79,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -80,3 +80,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -77,3 +77,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -76,3 +76,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -77,3 +77,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -78,3 +78,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -76,3 +76,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -83,3 +83,4 @@ CONFIG_IMX_SC_THERMAL=y
CONFIG_LZ4=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -103,3 +103,4 @@ CONFIG_IMX_SC_THERMAL=y
CONFIG_LZ4=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -93,3 +93,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -81,3 +81,4 @@ CONFIG_DM_THERMAL=y
CONFIG_IMX_SC_THERMAL=y
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
......@@ -292,6 +292,9 @@
#define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */
#endif
#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
......
......@@ -286,6 +286,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
......
......@@ -290,6 +290,9 @@
#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */
#endif
#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
......
......@@ -304,6 +304,9 @@
/* LPDDR4 board total DDR is 3GB */
#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment