[U-Boot] [RFC PATCH v2 08/19] ARM: highbank: move SoC sources to mach-highbank

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Feb 20 08:04:04 CET 2015


Move
arch/arm/cpu/armv7/highbank/* -> arch/arm/mach-highbank/*

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Rob Herring <robh at kernel.org>
---

 arch/arm/Kconfig                                        | 2 +-
 arch/arm/Makefile                                       | 1 +
 arch/arm/cpu/armv7/Makefile                             | 1 -
 arch/arm/{cpu/armv7/highbank => mach-highbank}/Kconfig  | 0
 arch/arm/{cpu/armv7/highbank => mach-highbank}/Makefile | 0
 arch/arm/{cpu/armv7/highbank => mach-highbank}/timer.c  | 0
 6 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/{cpu/armv7/highbank => mach-highbank}/Kconfig (100%)
 rename arch/arm/{cpu/armv7/highbank => mach-highbank}/Makefile (100%)
 rename arch/arm/{cpu/armv7/highbank => mach-highbank}/timer.c (100%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1bac511..f981541 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -722,7 +722,7 @@ source "arch/arm/cpu/arm1176/bcm2835/Kconfig"
 
 source "arch/arm/cpu/armv7/exynos/Kconfig"
 
-source "arch/arm/cpu/armv7/highbank/Kconfig"
+source "arch/arm/mach-highbank/Kconfig"
 
 source "arch/arm/cpu/armv7/keystone/Kconfig"
 
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 32d039c..97858fa 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -6,6 +6,7 @@
 # by CONFIG_* macro name.
 machine-$(CONFIG_ARCH_AT91)		+= at91
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
+machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
 # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
 machine-$(CONFIG_KIRKWOOD)		+= kirkwood
 # TODO: rename CONFIG_TEGRA -> CONFIG_ARCH_TEGRA
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 91e6923..29ba6e2 100644
--- a/arch/arm/cpu/armv7/Makefile
+++ b/arch/arm/cpu/armv7/Makefile
@@ -43,7 +43,6 @@ obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
 obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
 obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
 obj-$(CONFIG_ARCH_EXYNOS) += exynos/
-obj-$(CONFIG_ARCH_HIGHBANK) += highbank/
 obj-$(CONFIG_ARCH_KEYSTONE) += keystone/
 obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
 obj-$(if $(filter mx5,$(SOC)),y) += mx5/
diff --git a/arch/arm/cpu/armv7/highbank/Kconfig b/arch/arm/mach-highbank/Kconfig
similarity index 100%
rename from arch/arm/cpu/armv7/highbank/Kconfig
rename to arch/arm/mach-highbank/Kconfig
diff --git a/arch/arm/cpu/armv7/highbank/Makefile b/arch/arm/mach-highbank/Makefile
similarity index 100%
rename from arch/arm/cpu/armv7/highbank/Makefile
rename to arch/arm/mach-highbank/Makefile
diff --git a/arch/arm/cpu/armv7/highbank/timer.c b/arch/arm/mach-highbank/timer.c
similarity index 100%
rename from arch/arm/cpu/armv7/highbank/timer.c
rename to arch/arm/mach-highbank/timer.c
-- 
1.9.1



More information about the U-Boot mailing list