]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: exynos: move SoC sources to mach-exynos
authorThomas Abraham <thomas.ab@samsung.com>
Mon, 3 Aug 2015 12:28:00 +0000 (17:58 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 17 Aug 2015 04:06:52 +0000 (13:06 +0900)
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@samsung.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
57 files changed:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/cpu/armv7/Makefile
arch/arm/mach-exynos/Kconfig [moved from arch/arm/cpu/armv7/exynos/Kconfig with 100% similarity]
arch/arm/mach-exynos/Makefile [moved from arch/arm/cpu/armv7/exynos/Makefile with 100% similarity]
arch/arm/mach-exynos/clock.c [moved from arch/arm/cpu/armv7/exynos/clock.c with 100% similarity]
arch/arm/mach-exynos/clock_init.h [moved from arch/arm/cpu/armv7/exynos/clock_init.h with 100% similarity]
arch/arm/mach-exynos/clock_init_exynos4.c [moved from arch/arm/cpu/armv7/exynos/clock_init_exynos4.c with 100% similarity]
arch/arm/mach-exynos/clock_init_exynos5.c [moved from arch/arm/cpu/armv7/exynos/clock_init_exynos5.c with 100% similarity]
arch/arm/mach-exynos/common_setup.h [moved from arch/arm/cpu/armv7/exynos/common_setup.h with 100% similarity]
arch/arm/mach-exynos/config.mk [moved from arch/arm/cpu/armv7/exynos/config.mk with 100% similarity]
arch/arm/mach-exynos/dmc_common.c [moved from arch/arm/cpu/armv7/exynos/dmc_common.c with 100% similarity]
arch/arm/mach-exynos/dmc_init_ddr3.c [moved from arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c with 100% similarity]
arch/arm/mach-exynos/dmc_init_exynos4.c [moved from arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c with 100% similarity]
arch/arm/mach-exynos/exynos4_setup.h [moved from arch/arm/cpu/armv7/exynos/exynos4_setup.h with 100% similarity]
arch/arm/mach-exynos/exynos5_setup.h [moved from arch/arm/cpu/armv7/exynos/exynos5_setup.h with 100% similarity]
arch/arm/mach-exynos/include/mach/adc.h [moved from arch/arm/include/asm/arch-exynos/adc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/board.h [moved from arch/arm/include/asm/arch-exynos/board.h with 100% similarity]
arch/arm/mach-exynos/include/mach/clk.h [moved from arch/arm/include/asm/arch-exynos/clk.h with 100% similarity]
arch/arm/mach-exynos/include/mach/clock.h [moved from arch/arm/include/asm/arch-exynos/clock.h with 100% similarity]
arch/arm/mach-exynos/include/mach/cpu.h [moved from arch/arm/include/asm/arch-exynos/cpu.h with 100% similarity]
arch/arm/mach-exynos/include/mach/dmc.h [moved from arch/arm/include/asm/arch-exynos/dmc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/dp.h [moved from arch/arm/include/asm/arch-exynos/dp.h with 100% similarity]
arch/arm/mach-exynos/include/mach/dp_info.h [moved from arch/arm/include/asm/arch-exynos/dp_info.h with 100% similarity]
arch/arm/mach-exynos/include/mach/dsim.h [moved from arch/arm/include/asm/arch-exynos/dsim.h with 100% similarity]
arch/arm/mach-exynos/include/mach/dwmmc.h [moved from arch/arm/include/asm/arch-exynos/dwmmc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/ehci.h [moved from arch/arm/include/asm/arch-exynos/ehci.h with 100% similarity]
arch/arm/mach-exynos/include/mach/fb.h [moved from arch/arm/include/asm/arch-exynos/fb.h with 100% similarity]
arch/arm/mach-exynos/include/mach/gpio.h [moved from arch/arm/include/asm/arch-exynos/gpio.h with 100% similarity]
arch/arm/mach-exynos/include/mach/i2s-regs.h [moved from arch/arm/include/asm/arch-exynos/i2s-regs.h with 100% similarity]
arch/arm/mach-exynos/include/mach/mipi_dsim.h [moved from arch/arm/include/asm/arch-exynos/mipi_dsim.h with 100% similarity]
arch/arm/mach-exynos/include/mach/mmc.h [moved from arch/arm/include/asm/arch-exynos/mmc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/periph.h [moved from arch/arm/include/asm/arch-exynos/periph.h with 100% similarity]
arch/arm/mach-exynos/include/mach/pinmux.h [moved from arch/arm/include/asm/arch-exynos/pinmux.h with 100% similarity]
arch/arm/mach-exynos/include/mach/power.h [moved from arch/arm/include/asm/arch-exynos/power.h with 100% similarity]
arch/arm/mach-exynos/include/mach/pwm.h [moved from arch/arm/include/asm/arch-exynos/pwm.h with 100% similarity]
arch/arm/mach-exynos/include/mach/pwm_backlight.h [moved from arch/arm/include/asm/arch-exynos/pwm_backlight.h with 100% similarity]
arch/arm/mach-exynos/include/mach/sound.h [moved from arch/arm/include/asm/arch-exynos/sound.h with 100% similarity]
arch/arm/mach-exynos/include/mach/spi.h [moved from arch/arm/include/asm/arch-exynos/spi.h with 100% similarity]
arch/arm/mach-exynos/include/mach/spl.h [moved from arch/arm/include/asm/arch-exynos/spl.h with 98% similarity]
arch/arm/mach-exynos/include/mach/sromc.h [moved from arch/arm/include/asm/arch-exynos/sromc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/sys_proto.h [moved from arch/arm/include/asm/arch-exynos/sys_proto.h with 100% similarity]
arch/arm/mach-exynos/include/mach/system.h [moved from arch/arm/include/asm/arch-exynos/system.h with 100% similarity]
arch/arm/mach-exynos/include/mach/tmu.h [moved from arch/arm/include/asm/arch-exynos/tmu.h with 100% similarity]
arch/arm/mach-exynos/include/mach/tzpc.h [moved from arch/arm/include/asm/arch-exynos/tzpc.h with 100% similarity]
arch/arm/mach-exynos/include/mach/uart.h [moved from arch/arm/include/asm/arch-exynos/uart.h with 100% similarity]
arch/arm/mach-exynos/include/mach/watchdog.h [moved from arch/arm/include/asm/arch-exynos/watchdog.h with 100% similarity]
arch/arm/mach-exynos/include/mach/xhci-exynos.h [moved from arch/arm/include/asm/arch-exynos/xhci-exynos.h with 100% similarity]
arch/arm/mach-exynos/lowlevel_init.c [moved from arch/arm/cpu/armv7/exynos/lowlevel_init.c with 100% similarity]
arch/arm/mach-exynos/pinmux.c [moved from arch/arm/cpu/armv7/exynos/pinmux.c with 100% similarity]
arch/arm/mach-exynos/power.c [moved from arch/arm/cpu/armv7/exynos/power.c with 100% similarity]
arch/arm/mach-exynos/sec_boot.S [moved from arch/arm/cpu/armv7/exynos/sec_boot.S with 100% similarity]
arch/arm/mach-exynos/soc.c [moved from arch/arm/cpu/armv7/exynos/soc.c with 100% similarity]
arch/arm/mach-exynos/spl_boot.c [moved from arch/arm/cpu/armv7/exynos/spl_boot.c with 100% similarity]
arch/arm/mach-exynos/system.c [moved from arch/arm/cpu/armv7/exynos/system.c with 100% similarity]
arch/arm/mach-exynos/tzpc.c [moved from arch/arm/cpu/armv7/exynos/tzpc.c with 100% similarity]
drivers/spi/exynos_spi.c

index ee9a1b3e65a74e3447fcc4afc8a83fb6cda7618c..735d971f4e14d3c58ebe80202efd1c4735710c71 100644 (file)
@@ -838,7 +838,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"
 
index ab0e9ce67369bc2982f9ae02b9dda579d1743862..e84d6d366e10cfacf4ab916499d1ddd1173d7d42 100644 (file)
@@ -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
index 5a761004069f320130bfa85e64915280444b75ab..6769d8fbfe4f99b289ce29a92e4e3fb9d35cf6e3 100644 (file)
@@ -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/
similarity index 98%
rename from arch/arm/include/asm/arch-exynos/spl.h
rename to arch/arm/mach-exynos/include/mach/spl.h
index cdcb2bc7ada2880312ac6065aef63f9553bac2a1..0c480acb1a2d8c47fbc32fa1d677a8c8ae06898b 100644 (file)
@@ -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__
index 6d77c319e7e3c43edec455576dddb57f9d009cb0..418b48120a30b5fc63ed3e93748a9d30e1734129 100644 (file)
@@ -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;