From 43387c63db955f579f1d0be369363b0087a980db Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Wed, 6 Dec 2017 14:07:45 +0530 Subject: [PATCH] ipq806x: command mtest enabled Change-Id: I0d09e85926ff96c8d7a6ff0dabe583daf35a1096 Signed-off-by: Antony Arun T --- configs/ipq806x_defconfig | 2 +- include/configs/ipq806x.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/ipq806x_defconfig b/configs/ipq806x_defconfig index fa923281fa..58562ac164 100644 --- a/configs/ipq806x_defconfig +++ b/configs/ipq806x_defconfig @@ -52,7 +52,7 @@ CONFIG_CMD_ENV_EXISTS=y # CONFIG_CMD_CRC32=y # CONFIG_LOOPW is not set -# CONFIG_CMD_MEMTEST is not set +CONFIG_CMD_MEMTEST=y # CONFIG_CMD_MX_CYCLIC is not set # CONFIG_CMD_MEMINFO is not set diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h index cd7bc54a9d..784339571e 100644 --- a/include/configs/ipq806x.h +++ b/include/configs/ipq806x.h @@ -260,6 +260,12 @@ typedef struct { #define CONFIG_SPI_FLASH_BAR +/* + *MTEST Configs + */ +#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE + 0x1300000 +#define CONFIG_SYS_MEMTEST_END CONFIG_SYS_MEMTEST_START + 0x100 + /*NAND Flash Configs*/ #define CONFIG_CMD_NAND