The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is
available.
The next commit introduces changes in definition of debug
uart functions, so that DEBUG_UART is required to be defined
in order to initialize uart and use print functions.

Signed-off-by: Lukasz Czechowski <lukasz.czechow...@thaumatec.com>
Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Quentin Schulz <quentin.sch...@cherry.de>
---
 drivers/ram/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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

-- 
2.43.0

Reply via email to