From c9eb7bca4b77523fb4a870208351af81a7f0ee67 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Wed, 27 Sep 2017 16:11:32 +0800 Subject: [PATCH] rockchip: rk3288: move sdram driver to driver/ram Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- arch/arm/mach-rockchip/rk3288/Makefile | 1 - drivers/ram/rockchip/Makefile | 1 + .../mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename {arch/arm/mach-rockchip/rk3288 => drivers/ram/rockchip}/sdram_rk3288.c (100%) diff --git a/arch/arm/mach-rockchip/rk3288/Makefile b/arch/arm/mach-rockchip/rk3288/Makefile index b5b28efbe8..a0033a0d84 100644 --- a/arch/arm/mach-rockchip/rk3288/Makefile +++ b/arch/arm/mach-rockchip/rk3288/Makefile @@ -6,5 +6,4 @@ obj-y += clk_rk3288.o obj-y += rk3288.o -obj-y += sdram_rk3288.o obj-y += syscon_rk3288.o diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile index 50b9d517a7..95aae4846b 100644 --- a/drivers/ram/rockchip/Makefile +++ b/drivers/ram/rockchip/Makefile @@ -6,4 +6,5 @@ obj-$(CONFIG_ROCKCHIP_RK3368) = dmc-rk3368.o obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o +obj-$(CONFIG_ROCKCHIP_RK3288) = sdram_rk3288.o obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o diff --git a/arch/arm/mach-rockchip/rk3288/sdram_rk3288.c b/drivers/ram/rockchip/sdram_rk3288.c similarity index 100% rename from arch/arm/mach-rockchip/rk3288/sdram_rk3288.c rename to drivers/ram/rockchip/sdram_rk3288.c -- 2.25.1