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 <[email protected]>
---
 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

Reply via email to