[PATCH] ddr: imx: hide config prompt unless COMPILE_TEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The DDR drivers are called into by low-level code for DRAM init.
The Kconfig options for them are selected by the SOC symbols, e.g.
ARCH_IMX8M and there's no point in asking for user decision: either
it's required and already selected or it will be unused and subject
to linker garbage collection. Therefore, hide the prompts by default.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 drivers/ddr/imx/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ddr/imx/Kconfig b/drivers/ddr/imx/Kconfig
index 71d4144e856e..ec6c097ec9f6 100644
--- a/drivers/ddr/imx/Kconfig
+++ b/drivers/ddr/imx/Kconfig
@@ -7,10 +7,10 @@ config IMX_DRAM
 
 config IMX8M_DRAM
 	select IMX_DRAM
-	bool "imx8m dram controller support"
+	bool "imx8m dram controller support" if COMPILE_TEST
 
 config IMX9_DRAM
 	select IMX_DRAM
-	bool "imx9 dram controller support"
+	bool "imx9 dram controller support" if COMPILE_TEST
 
 endmenu
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux