rockchip: rk3399: move sdram driver to driver/ram
authorKever Yang <kever.yang@rock-chips.com>
Wed, 27 Sep 2017 08:11:30 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:31 +0000 (00:33 +0200)
Since we have CONFIG_RAM framwork and its driver folder, move the driver
into it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3399/Makefile
drivers/ram/rockchip/Makefile
drivers/ram/rockchip/sdram_rk3399.c [moved from arch/arm/mach-rockchip/rk3399/sdram_rk3399.c with 100% similarity]

index 793ce31..98ebeac 100644 (file)
@@ -6,5 +6,4 @@
 
 obj-y += clk_rk3399.o
 obj-y += rk3399.o
-obj-y += sdram_rk3399.o
 obj-y += syscon_rk3399.o
index b09d03c..bfc016f 100644 (file)
@@ -5,3 +5,4 @@
 #
 
 obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o
+obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o