ram: rk3399: migrate to use common code
[oweals/u-boot.git] / drivers / ram / rockchip / Kconfig
index daa561385eac8a4c47370815ca64137e7c41080b..b75d581f579722b0de832772f695e83f8e8c518f 100644 (file)
@@ -11,8 +11,6 @@ config ROCKCHIP_SDRAM_COMMON
        help
          This enable sdram common driver
 
-if RAM_ROCKCHIP
-
 config RAM_ROCKCHIP_DEBUG
        bool "Rockchip ram drivers debugging"
        default y
@@ -23,18 +21,10 @@ config RAM_ROCKCHIP_DEBUG
          This is an option for developers to understand the ram drivers
          initialization, configurations and etc.
 
-config RAM_RK3399
-       bool "Ram driver for Rockchip RK3399"
-       default ROCKCHIP_RK3399
-       help
-         This enables ram drivers support for the platforms based on
-         Rockchip RK3399 SoC.
-
 config RAM_RK3399_LPDDR4
        bool "LPDDR4 support for Rockchip RK3399"
-       depends on RAM_RK3399
+       depends on RAM_ROCKCHIP && ROCKCHIP_RK3399
        help
          This enables LPDDR4 sdram code support for the platforms based
          on Rockchip RK3399 SoC.
 
-endif # RAM_ROCKCHIP