Commit 0c23edf7 authored by Ye Li's avatar Ye Li

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: 's avatarYe Li <ye.li@nxp.com>
(cherry picked from commit bb3dfa130dd0af57dfe7a41869f6ecd843e6c558)
parent 5e767185
......@@ -8,6 +8,7 @@ CONFIG_SPL=y
CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_MEMTEST=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-ddr3l-arm2"
CONFIG_OF_CONTROL=y
CONFIG_PINCTRL=y
......
......@@ -8,6 +8,7 @@ CONFIG_SPL=y
CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_MEMTEST=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-ddr4-arm2"
CONFIG_OF_CONTROL=y
CONFIG_PINCTRL=y
......
......@@ -8,6 +8,7 @@ CONFIG_SPL=y
CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_MEMTEST=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-ddr4-arm2"
CONFIG_OF_CONTROL=y
CONFIG_PINCTRL=y
......
......@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_BOOTDELAY=1
CONFIG_CMD_CACHE=y
CONFIG_CMD_MEMTEST=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-evk"
CONFIG_OF_CONTROL=y
CONFIG_PINCTRL=y
......
......@@ -8,6 +8,7 @@ CONFIG_SPL=y
CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_MEMTEST=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8mq-evk"
CONFIG_OF_CONTROL=y
CONFIG_PINCTRL=y
......
......@@ -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
......
......@@ -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
......
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