[U-Boot] [PATCH 1/2] ARM: exynos: move SoC sources to mach-exynos

Thomas Abraham thomas.ab at samsung.com
Mon Aug 3 14:28:00 CEST 2015


Move arch/arm/cpu/armv7/exynos/* to arch/arm/mach-exynos/* to allow
reuse of existing code for ARMv8 based Exynos platforms.

Cc: Minkyu Kang <mk7.kang at samsung.com>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
Signed-off-by: Thomas Abraham <thomas.ab at samsung.com>
---
 arch/arm/Kconfig                                   |    2 +-
 arch/arm/Makefile                                  |    1 +
 arch/arm/cpu/armv7/Makefile                        |    1 -
 arch/arm/{cpu/armv7/exynos => mach-exynos}/Kconfig |    0
 .../arm/{cpu/armv7/exynos => mach-exynos}/Makefile |    0
 arch/arm/{cpu/armv7/exynos => mach-exynos}/clock.c |    0
 .../{cpu/armv7/exynos => mach-exynos}/clock_init.h |    0
 .../exynos => mach-exynos}/clock_init_exynos4.c    |    0
 .../exynos => mach-exynos}/clock_init_exynos5.c    |    0
 .../armv7/exynos => mach-exynos}/common_setup.h    |    0
 .../{cpu/armv7/exynos => mach-exynos}/config.mk    |    0
 .../{cpu/armv7/exynos => mach-exynos}/dmc_common.c |    0
 .../armv7/exynos => mach-exynos}/dmc_init_ddr3.c   |    0
 .../exynos => mach-exynos}/dmc_init_exynos4.c      |    0
 .../armv7/exynos => mach-exynos}/exynos4_setup.h   |    0
 .../armv7/exynos => mach-exynos}/exynos5_setup.h   |    0
 .../arch-exynos => mach-exynos/include/mach}/adc.h |    0
 .../include/mach}/board.h                          |    0
 .../arch-exynos => mach-exynos/include/mach}/clk.h |    0
 .../include/mach}/clock.h                          |    0
 .../arch-exynos => mach-exynos/include/mach}/cpu.h |    0
 .../arch-exynos => mach-exynos/include/mach}/dmc.h |    0
 .../arch-exynos => mach-exynos/include/mach}/dp.h  |    0
 .../include/mach}/dp_info.h                        |    0
 .../include/mach}/dsim.h                           |    0
 .../include/mach}/dwmmc.h                          |    0
 .../include/mach}/ehci.h                           |    0
 .../arch-exynos => mach-exynos/include/mach}/fb.h  |    0
 .../include/mach}/gpio.h                           |    0
 .../include/mach}/i2s-regs.h                       |    0
 .../include/mach}/mipi_dsim.h                      |    0
 .../arch-exynos => mach-exynos/include/mach}/mmc.h |    0
 .../include/mach}/periph.h                         |    0
 .../include/mach}/pinmux.h                         |    0
 .../include/mach}/power.h                          |    0
 .../arch-exynos => mach-exynos/include/mach}/pwm.h |    0
 .../include/mach}/pwm_backlight.h                  |    0
 .../include/mach}/sound.h                          |    0
 .../arch-exynos => mach-exynos/include/mach}/spi.h |    0
 .../arch-exynos => mach-exynos/include/mach}/spl.h |    2 +-
 .../include/mach}/sromc.h                          |    0
 .../include/mach}/sys_proto.h                      |    0
 .../include/mach}/system.h                         |    0
 .../arch-exynos => mach-exynos/include/mach}/tmu.h |    0
 .../include/mach}/tzpc.h                           |    0
 .../include/mach}/uart.h                           |    0
 .../include/mach}/watchdog.h                       |    0
 .../include/mach}/xhci-exynos.h                    |    0
 .../armv7/exynos => mach-exynos}/lowlevel_init.c   |    0
 .../arm/{cpu/armv7/exynos => mach-exynos}/pinmux.c |    0
 arch/arm/{cpu/armv7/exynos => mach-exynos}/power.c |    0
 .../{cpu/armv7/exynos => mach-exynos}/sec_boot.S   |    0
 arch/arm/{cpu/armv7/exynos => mach-exynos}/soc.c   |    0
 .../{cpu/armv7/exynos => mach-exynos}/spl_boot.c   |    0
 .../arm/{cpu/armv7/exynos => mach-exynos}/system.c |    0
 arch/arm/{cpu/armv7/exynos => mach-exynos}/tzpc.c  |    0
 drivers/spi/exynos_spi.c                           |    2 +-
 57 files changed, 4 insertions(+), 4 deletions(-)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/Kconfig (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/Makefile (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/clock.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/clock_init.h (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/clock_init_exynos4.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/clock_init_exynos5.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/common_setup.h (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/config.mk (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/dmc_common.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/dmc_init_ddr3.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/dmc_init_exynos4.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/exynos4_setup.h (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/exynos5_setup.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/adc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/board.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/clk.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/clock.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/cpu.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/dmc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/dp.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/dp_info.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/dsim.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/dwmmc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/ehci.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/fb.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/gpio.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/i2s-regs.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/mipi_dsim.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/mmc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/periph.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/pinmux.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/power.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/pwm.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/pwm_backlight.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/sound.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/spi.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/spl.h (98%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/sromc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/sys_proto.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/system.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/tmu.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/tzpc.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/uart.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/watchdog.h (100%)
 rename arch/arm/{include/asm/arch-exynos => mach-exynos/include/mach}/xhci-exynos.h (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/lowlevel_init.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/pinmux.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/power.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/sec_boot.S (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/soc.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/spl_boot.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/system.c (100%)
 rename arch/arm/{cpu/armv7/exynos => mach-exynos}/tzpc.c (100%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9908b43..e4a92bd 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -825,7 +825,7 @@ source "arch/arm/mach-bcm283x/Kconfig"
 
 source "arch/arm/mach-davinci/Kconfig"
 
-source "arch/arm/cpu/armv7/exynos/Kconfig"
+source "arch/arm/mach-exynos/Kconfig"
 
 source "arch/arm/mach-highbank/Kconfig"
 
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 6f30098..f60f171 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -44,6 +44,7 @@ PLATFORM_CPPFLAGS += $(arch-y) $(tune-y)
 machine-$(CONFIG_ARCH_AT91)		+= at91
 machine-$(CONFIG_ARCH_BCM283X)		+= bcm283x
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
+machine-$(CONFIG_ARCH_EXYNOS)		+= exynos
 machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
 machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone
 # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 5a76100..6769d8f 100644
--- a/arch/arm/cpu/armv7/Makefile
+++ b/arch/arm/cpu/armv7/Makefile
@@ -41,7 +41,6 @@ obj-$(if $(filter am33xx,$(SOC)),y) += am33xx/
 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-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
 obj-$(if $(filter mx5,$(SOC)),y) += mx5/
 obj-$(CONFIG_MX6) += mx6/
diff --git a/arch/arm/cpu/armv7/exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/Kconfig
rename to arch/arm/mach-exynos/Kconfig
diff --git a/arch/arm/cpu/armv7/exynos/Makefile b/arch/arm/mach-exynos/Makefile
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/Makefile
rename to arch/arm/mach-exynos/Makefile
diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/mach-exynos/clock.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/clock.c
rename to arch/arm/mach-exynos/clock.c
diff --git a/arch/arm/cpu/armv7/exynos/clock_init.h b/arch/arm/mach-exynos/clock_init.h
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/clock_init.h
rename to arch/arm/mach-exynos/clock_init.h
diff --git a/arch/arm/cpu/armv7/exynos/clock_init_exynos4.c b/arch/arm/mach-exynos/clock_init_exynos4.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/clock_init_exynos4.c
rename to arch/arm/mach-exynos/clock_init_exynos4.c
diff --git a/arch/arm/cpu/armv7/exynos/clock_init_exynos5.c b/arch/arm/mach-exynos/clock_init_exynos5.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/clock_init_exynos5.c
rename to arch/arm/mach-exynos/clock_init_exynos5.c
diff --git a/arch/arm/cpu/armv7/exynos/common_setup.h b/arch/arm/mach-exynos/common_setup.h
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/common_setup.h
rename to arch/arm/mach-exynos/common_setup.h
diff --git a/arch/arm/cpu/armv7/exynos/config.mk b/arch/arm/mach-exynos/config.mk
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/config.mk
rename to arch/arm/mach-exynos/config.mk
diff --git a/arch/arm/cpu/armv7/exynos/dmc_common.c b/arch/arm/mach-exynos/dmc_common.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/dmc_common.c
rename to arch/arm/mach-exynos/dmc_common.c
diff --git a/arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c b/arch/arm/mach-exynos/dmc_init_ddr3.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c
rename to arch/arm/mach-exynos/dmc_init_ddr3.c
diff --git a/arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c b/arch/arm/mach-exynos/dmc_init_exynos4.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c
rename to arch/arm/mach-exynos/dmc_init_exynos4.c
diff --git a/arch/arm/cpu/armv7/exynos/exynos4_setup.h b/arch/arm/mach-exynos/exynos4_setup.h
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/exynos4_setup.h
rename to arch/arm/mach-exynos/exynos4_setup.h
diff --git a/arch/arm/cpu/armv7/exynos/exynos5_setup.h b/arch/arm/mach-exynos/exynos5_setup.h
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/exynos5_setup.h
rename to arch/arm/mach-exynos/exynos5_setup.h
diff --git a/arch/arm/include/asm/arch-exynos/adc.h b/arch/arm/mach-exynos/include/mach/adc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/adc.h
rename to arch/arm/mach-exynos/include/mach/adc.h
diff --git a/arch/arm/include/asm/arch-exynos/board.h b/arch/arm/mach-exynos/include/mach/board.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/board.h
rename to arch/arm/mach-exynos/include/mach/board.h
diff --git a/arch/arm/include/asm/arch-exynos/clk.h b/arch/arm/mach-exynos/include/mach/clk.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/clk.h
rename to arch/arm/mach-exynos/include/mach/clk.h
diff --git a/arch/arm/include/asm/arch-exynos/clock.h b/arch/arm/mach-exynos/include/mach/clock.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/clock.h
rename to arch/arm/mach-exynos/include/mach/clock.h
diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/mach-exynos/include/mach/cpu.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/cpu.h
rename to arch/arm/mach-exynos/include/mach/cpu.h
diff --git a/arch/arm/include/asm/arch-exynos/dmc.h b/arch/arm/mach-exynos/include/mach/dmc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/dmc.h
rename to arch/arm/mach-exynos/include/mach/dmc.h
diff --git a/arch/arm/include/asm/arch-exynos/dp.h b/arch/arm/mach-exynos/include/mach/dp.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/dp.h
rename to arch/arm/mach-exynos/include/mach/dp.h
diff --git a/arch/arm/include/asm/arch-exynos/dp_info.h b/arch/arm/mach-exynos/include/mach/dp_info.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/dp_info.h
rename to arch/arm/mach-exynos/include/mach/dp_info.h
diff --git a/arch/arm/include/asm/arch-exynos/dsim.h b/arch/arm/mach-exynos/include/mach/dsim.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/dsim.h
rename to arch/arm/mach-exynos/include/mach/dsim.h
diff --git a/arch/arm/include/asm/arch-exynos/dwmmc.h b/arch/arm/mach-exynos/include/mach/dwmmc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/dwmmc.h
rename to arch/arm/mach-exynos/include/mach/dwmmc.h
diff --git a/arch/arm/include/asm/arch-exynos/ehci.h b/arch/arm/mach-exynos/include/mach/ehci.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/ehci.h
rename to arch/arm/mach-exynos/include/mach/ehci.h
diff --git a/arch/arm/include/asm/arch-exynos/fb.h b/arch/arm/mach-exynos/include/mach/fb.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/fb.h
rename to arch/arm/mach-exynos/include/mach/fb.h
diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/mach-exynos/include/mach/gpio.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/gpio.h
rename to arch/arm/mach-exynos/include/mach/gpio.h
diff --git a/arch/arm/include/asm/arch-exynos/i2s-regs.h b/arch/arm/mach-exynos/include/mach/i2s-regs.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/i2s-regs.h
rename to arch/arm/mach-exynos/include/mach/i2s-regs.h
diff --git a/arch/arm/include/asm/arch-exynos/mipi_dsim.h b/arch/arm/mach-exynos/include/mach/mipi_dsim.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/mipi_dsim.h
rename to arch/arm/mach-exynos/include/mach/mipi_dsim.h
diff --git a/arch/arm/include/asm/arch-exynos/mmc.h b/arch/arm/mach-exynos/include/mach/mmc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/mmc.h
rename to arch/arm/mach-exynos/include/mach/mmc.h
diff --git a/arch/arm/include/asm/arch-exynos/periph.h b/arch/arm/mach-exynos/include/mach/periph.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/periph.h
rename to arch/arm/mach-exynos/include/mach/periph.h
diff --git a/arch/arm/include/asm/arch-exynos/pinmux.h b/arch/arm/mach-exynos/include/mach/pinmux.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/pinmux.h
rename to arch/arm/mach-exynos/include/mach/pinmux.h
diff --git a/arch/arm/include/asm/arch-exynos/power.h b/arch/arm/mach-exynos/include/mach/power.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/power.h
rename to arch/arm/mach-exynos/include/mach/power.h
diff --git a/arch/arm/include/asm/arch-exynos/pwm.h b/arch/arm/mach-exynos/include/mach/pwm.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/pwm.h
rename to arch/arm/mach-exynos/include/mach/pwm.h
diff --git a/arch/arm/include/asm/arch-exynos/pwm_backlight.h b/arch/arm/mach-exynos/include/mach/pwm_backlight.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/pwm_backlight.h
rename to arch/arm/mach-exynos/include/mach/pwm_backlight.h
diff --git a/arch/arm/include/asm/arch-exynos/sound.h b/arch/arm/mach-exynos/include/mach/sound.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/sound.h
rename to arch/arm/mach-exynos/include/mach/sound.h
diff --git a/arch/arm/include/asm/arch-exynos/spi.h b/arch/arm/mach-exynos/include/mach/spi.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/spi.h
rename to arch/arm/mach-exynos/include/mach/spi.h
diff --git a/arch/arm/include/asm/arch-exynos/spl.h b/arch/arm/mach-exynos/include/mach/spl.h
similarity index 98%
rename from arch/arm/include/asm/arch-exynos/spl.h
rename to arch/arm/mach-exynos/include/mach/spl.h
index cdcb2bc..0c480ac 100644
--- a/arch/arm/include/asm/arch-exynos/spl.h
+++ b/arch/arm/mach-exynos/include/mach/spl.h
@@ -7,7 +7,7 @@
 #ifndef __ASM_ARCH_EXYNOS_SPL_H__
 #define __ASM_ARCH_EXYNOS_SPL_H__
 
-#include <asm/arch-exynos/dmc.h>
+#include <asm/arch/dmc.h>
 #include <asm/arch/power.h>
 
 #ifndef __ASSEMBLY__
diff --git a/arch/arm/include/asm/arch-exynos/sromc.h b/arch/arm/mach-exynos/include/mach/sromc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/sromc.h
rename to arch/arm/mach-exynos/include/mach/sromc.h
diff --git a/arch/arm/include/asm/arch-exynos/sys_proto.h b/arch/arm/mach-exynos/include/mach/sys_proto.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/sys_proto.h
rename to arch/arm/mach-exynos/include/mach/sys_proto.h
diff --git a/arch/arm/include/asm/arch-exynos/system.h b/arch/arm/mach-exynos/include/mach/system.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/system.h
rename to arch/arm/mach-exynos/include/mach/system.h
diff --git a/arch/arm/include/asm/arch-exynos/tmu.h b/arch/arm/mach-exynos/include/mach/tmu.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/tmu.h
rename to arch/arm/mach-exynos/include/mach/tmu.h
diff --git a/arch/arm/include/asm/arch-exynos/tzpc.h b/arch/arm/mach-exynos/include/mach/tzpc.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/tzpc.h
rename to arch/arm/mach-exynos/include/mach/tzpc.h
diff --git a/arch/arm/include/asm/arch-exynos/uart.h b/arch/arm/mach-exynos/include/mach/uart.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/uart.h
rename to arch/arm/mach-exynos/include/mach/uart.h
diff --git a/arch/arm/include/asm/arch-exynos/watchdog.h b/arch/arm/mach-exynos/include/mach/watchdog.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/watchdog.h
rename to arch/arm/mach-exynos/include/mach/watchdog.h
diff --git a/arch/arm/include/asm/arch-exynos/xhci-exynos.h b/arch/arm/mach-exynos/include/mach/xhci-exynos.h
similarity index 100%
rename from arch/arm/include/asm/arch-exynos/xhci-exynos.h
rename to arch/arm/mach-exynos/include/mach/xhci-exynos.h
diff --git a/arch/arm/cpu/armv7/exynos/lowlevel_init.c b/arch/arm/mach-exynos/lowlevel_init.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/lowlevel_init.c
rename to arch/arm/mach-exynos/lowlevel_init.c
diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/pinmux.c
rename to arch/arm/mach-exynos/pinmux.c
diff --git a/arch/arm/cpu/armv7/exynos/power.c b/arch/arm/mach-exynos/power.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/power.c
rename to arch/arm/mach-exynos/power.c
diff --git a/arch/arm/cpu/armv7/exynos/sec_boot.S b/arch/arm/mach-exynos/sec_boot.S
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/sec_boot.S
rename to arch/arm/mach-exynos/sec_boot.S
diff --git a/arch/arm/cpu/armv7/exynos/soc.c b/arch/arm/mach-exynos/soc.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/soc.c
rename to arch/arm/mach-exynos/soc.c
diff --git a/arch/arm/cpu/armv7/exynos/spl_boot.c b/arch/arm/mach-exynos/spl_boot.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/spl_boot.c
rename to arch/arm/mach-exynos/spl_boot.c
diff --git a/arch/arm/cpu/armv7/exynos/system.c b/arch/arm/mach-exynos/system.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/system.c
rename to arch/arm/mach-exynos/system.c
diff --git a/arch/arm/cpu/armv7/exynos/tzpc.c b/arch/arm/mach-exynos/tzpc.c
similarity index 100%
rename from arch/arm/cpu/armv7/exynos/tzpc.c
rename to arch/arm/mach-exynos/tzpc.c
diff --git a/drivers/spi/exynos_spi.c b/drivers/spi/exynos_spi.c
index 67f6b2d..f194b7e 100644
--- a/drivers/spi/exynos_spi.c
+++ b/drivers/spi/exynos_spi.c
@@ -16,7 +16,7 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/gpio.h>
 #include <asm/arch/pinmux.h>
-#include <asm/arch-exynos/spi.h>
+#include <asm/arch/spi.h>
 #include <asm/io.h>
 
 DECLARE_GLOBAL_DATA_PTR;
-- 
1.6.6.rc2



More information about the U-Boot mailing list