[PATCH 2/4] ram: rockchip: Kconfig: Fix dependency of RAM_ROCKCHIP_DEBUG

Lukasz Czechowski lukasz.czechowski at thaumatec.com
Tue Aug 27 16:20:56 CEST 2024


The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is
available, otherwise it won't have any effect.
Add negative dependency to TPL_SILENT_CONSOLE.

Signed-off-by: Lukasz Czechowski <lukasz.czechowski at thaumatec.com>
---
 drivers/ram/rockchip/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig
index 67c63ecba04..4a6a6328676 100644
--- a/drivers/ram/rockchip/Kconfig
+++ b/drivers/ram/rockchip/Kconfig
@@ -15,6 +15,8 @@ if RAM_ROCKCHIP
 
 config RAM_ROCKCHIP_DEBUG
 	bool "Rockchip ram drivers debugging"
+	depends on DEBUG_UART
+	depends on !TPL_SILENT_CONSOLE
 	default y
 	help
 	  This enables debugging ram driver API's for the platforms
-- 
2.43.0



More information about the U-Boot mailing list