From dbdb5bcdeb9167041af5b58b0641b10d1322b62b Mon Sep 17 00:00:00 2001 From: Blance Tang Date: Tue, 18 Dec 2018 10:42:43 +0800 Subject: [PATCH] buildroot: Enable ddr_window tool [1/1] PD#SWPL-3340 Problem: DDR Window tool is no longer generated as a separate KO after DDR TOOL configuration setting changed CL:41064 Solution: Change DDR Window Tool configuration to tristate which can support standalone KO Enable DDR_TOOL in SmartHome default config Verify: Local Change-Id: I15370cabe428a5103c1fe9b345a085822c056932 Signed-off-by: Blance Tang --- arch/arm64/configs/meson64_smarthome_defconfig | 1 + drivers/amlogic/ddr_tool/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/configs/meson64_smarthome_defconfig b/arch/arm64/configs/meson64_smarthome_defconfig index 25a809f..88013c6 100644 --- a/arch/arm64/configs/meson64_smarthome_defconfig +++ b/arch/arm64/configs/meson64_smarthome_defconfig @@ -309,6 +309,7 @@ CONFIG_AMLOGIC_PCIE=y CONFIG_AMLOGIC_IRBLASTER=y CONFIG_AMLOGIC_IIO=y CONFIG_AMLOGIC_SARADC=y +CONFIG_AMLOGIC_DDR_TOOL=y CONFIG_AMLOGIC_DDR_WINDOW_TOOL=m CONFIG_AMLOGIC_LEDRING=y CONFIG_AMLOGIC_PCA9557_KEYPAD=y diff --git a/drivers/amlogic/ddr_tool/Kconfig b/drivers/amlogic/ddr_tool/Kconfig index 7e5f0f9..d211eee 100644 --- a/drivers/amlogic/ddr_tool/Kconfig +++ b/drivers/amlogic/ddr_tool/Kconfig @@ -9,8 +9,8 @@ config AMLOGIC_DDR_TOOL Please see folllowing configs config AMLOGIC_DDR_WINDOW_TOOL - bool "Meson ddr window tool" - default n + tristate "Meson ddr window tool" + default m depends on AMLOGIC_DDR_TOOL help This config enables test for ddr window. -- 2.7.4