From 4d15d2fc122a3548099504fc1f49d70087ac45ad Mon Sep 17 00:00:00 2001 From: Huayang Duan Date: Wed, 26 Sep 2018 21:23:53 +0800 Subject: mediatek/mt8183: Add DDR driver of memory test part Write a range of memory with special pattern, and read it back to check whether the read value same as write. The test pattern include 8bit offset read write, 16 bit offset read write, 32bit offset read write, and cross testing. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Kukui, and inits DRAM successfully with related patches. Change-Id: I30d5fbd3db2acf36e3058ba4f34558b981fba78c Signed-off-by: Huayang Duan Reviewed-on: https://review.coreboot.org/c/28845 Reviewed-by: Hung-Te Lin Reviewed-by: You-Cheng Syu Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8183/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/soc/mediatek/mt8183/Kconfig') diff --git a/src/soc/mediatek/mt8183/Kconfig b/src/soc/mediatek/mt8183/Kconfig index b58be7ff88..51c6df3d5f 100644 --- a/src/soc/mediatek/mt8183/Kconfig +++ b/src/soc/mediatek/mt8183/Kconfig @@ -19,4 +19,14 @@ config VBOOT select VBOOT_STARTS_IN_BOOTBLOCK select VBOOT_SEPARATE_VERSTAGE +config DEBUG_DRAM + bool "Output verbose DRAM related debug messages" + default n + help + This option enables additional DRAM related debug messages. + +config MEMORY_TEST + bool + default y + endif -- cgit v1.2.3