[PATCH 07/12] arm: mach-mvebu: rename Armada 370/XP core code
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 14 18:32:20 EDT 2013
From: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
There are more than Armada 370/XP in Marvell MVEBU SoC familiy. To avoid
irritation with source file nameing, we rename setup source file for
Armada 370/XP from core.c to armada-370-xp.c.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
arch/arm/mach-mvebu/Makefile | 3 ++-
arch/arm/mach-mvebu/{core.c => armada-370-xp.c} | 0
2 files changed, 2 insertions(+), 1 deletion(-)
rename arch/arm/mach-mvebu/{core.c => armada-370-xp.c} (100%)
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 820eb10..16d271d 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -1 +1,2 @@
-obj-y += core.o
+obj-$(CONFIG_ARCH_ARMADA_370) += armada-370-xp.o
+obj-$(CONFIG_ARCH_ARMADA_XP) += armada-370-xp.o
diff --git a/arch/arm/mach-mvebu/core.c b/arch/arm/mach-mvebu/armada-370-xp.c
similarity index 100%
rename from arch/arm/mach-mvebu/core.c
rename to arch/arm/mach-mvebu/armada-370-xp.c
--
1.7.9.5
More information about the barebox
mailing list