提交 82ee138d 编写于 作者: J Jagan Teki 提交者: Kever Yang

ram: rockchip: Add initial Kconfig

Right now sdram drivers in rockchip SoC are built based
on the SoC configs which may not be an adequate solutions
while adding common or debug driver.

So, add meaningful Kconfig options start with rk3399.
Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
Reviewed-by: NKever Yang <Kever.yang@rock-chips.com>
上级 a0aebe83
......@@ -54,4 +54,5 @@ config K3_AM654_DDRSS
config add support for the initialization of the external
SDRAM devices connected to DDR subsystem.
source "drivers/ram/rockchip/Kconfig"
source "drivers/ram/stm32mp1/Kconfig"
config RAM_ROCKCHIP
bool "Ram drivers support for Rockchip SoCs"
depends on RAM && ARCH_ROCKCHIP
default y
help
This enables support for ram drivers Rockchip SoCs.
if RAM_ROCKCHIP
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.
endif # RAM_ROCKCHIP
......@@ -9,4 +9,4 @@ obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o
obj-$(CONFIG_ROCKCHIP_RK322X) = sdram_rk322x.o
obj-$(CONFIG_ROCKCHIP_RK3288) = sdram_rk3288.o
obj-$(CONFIG_ROCKCHIP_RK3328) = sdram_rk3328.o
obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o
obj-$(CONFIG_RAM_RK3399) += sdram_rk3399.o
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册