[U-Boot] [PATCH 3/7] ARM: exynos: rename exynos4 setup files to exynos4210

Simon Shields simon at lineageos.org
Wed Sep 12 08:28:29 UTC 2018


The current set of exynos4 initialisation code is only compatible with
exynos4210. Rename it to reflect this, and allow for the introduction of
exynos4412 support in a later patch set.

Signed-off-by: Simon Shields <simon at lineageos.org>
---
 arch/arm/mach-exynos/Makefile                                   | 2 +-
 .../{clock_init_exynos4.c => clock_init_exynos4210.c}           | 2 +-
 .../mach-exynos/{dmc_init_exynos4.c => dmc_init_exynos4210.c}   | 2 +-
 arch/arm/mach-exynos/{exynos4_setup.h => exynos4210_setup.h}    | 0
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename arch/arm/mach-exynos/{clock_init_exynos4.c => clock_init_exynos4210.c} (99%)
 rename arch/arm/mach-exynos/{dmc_init_exynos4.c => dmc_init_exynos4210.c} (99%)
 rename arch/arm/mach-exynos/{exynos4_setup.h => exynos4210_setup.h} (100%)

diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
index e895c13157..ce88921868 100644
--- a/arch/arm/mach-exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
@@ -12,7 +12,7 @@ obj-$(CONFIG_EXYNOS5420)	+= sec_boot.o
 ifdef CONFIG_SPL_BUILD
 obj-$(CONFIG_EXYNOS5)	+= clock_init_exynos5.o
 obj-$(CONFIG_EXYNOS5)	+= dmc_common.o dmc_init_ddr3.o
-obj-$(CONFIG_EXYNOS4210)+= dmc_init_exynos4.o clock_init_exynos4.o
+obj-$(CONFIG_EXYNOS4210)+= dmc_init_exynos4210.o clock_init_exynos4210.o
 obj-y	+= spl_boot.o tzpc.o
 obj-y	+= lowlevel_init.o
 endif
diff --git a/arch/arm/mach-exynos/clock_init_exynos4.c b/arch/arm/mach-exynos/clock_init_exynos4210.c
similarity index 99%
rename from arch/arm/mach-exynos/clock_init_exynos4.c
rename to arch/arm/mach-exynos/clock_init_exynos4210.c
index 584e4bac09..77f866119e 100644
--- a/arch/arm/mach-exynos/clock_init_exynos4.c
+++ b/arch/arm/mach-exynos/clock_init_exynos4210.c
@@ -30,7 +30,7 @@
 #include <asm/arch/clk.h>
 #include <asm/arch/clock.h>
 #include "common_setup.h"
-#include "exynos4_setup.h"
+#include "exynos4210_setup.h"
 
 /*
  * system_clock_init: Initialize core clock and bus clock.
diff --git a/arch/arm/mach-exynos/dmc_init_exynos4.c b/arch/arm/mach-exynos/dmc_init_exynos4210.c
similarity index 99%
rename from arch/arm/mach-exynos/dmc_init_exynos4.c
rename to arch/arm/mach-exynos/dmc_init_exynos4210.c
index ecddc72684..3343496271 100644
--- a/arch/arm/mach-exynos/dmc_init_exynos4.c
+++ b/arch/arm/mach-exynos/dmc_init_exynos4210.c
@@ -26,7 +26,7 @@
 #include <config.h>
 #include <asm/arch/dmc.h>
 #include "common_setup.h"
-#include "exynos4_setup.h"
+#include "exynos4210_setup.h"
 
 struct mem_timings mem = {
 	.direct_cmd_msr = {
diff --git a/arch/arm/mach-exynos/exynos4_setup.h b/arch/arm/mach-exynos/exynos4210_setup.h
similarity index 100%
rename from arch/arm/mach-exynos/exynos4_setup.h
rename to arch/arm/mach-exynos/exynos4210_setup.h
-- 
2.18.0



More information about the U-Boot mailing list