summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-18 08:24:32 -0400
committerTom Rini <trini@konsulko.com>2015-08-18 08:24:32 -0400
commit783983f323730540f861413dfbea6802c88afcf8 (patch)
tree7f72555dec8a8ec9d3e45e96864478c1c7bde6d1
parent0d339cf9a969f0c249713d3697e735184f1bd955 (diff)
parent14a66afead568a5c3a6bb49782432bea3b397fb8 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-samsung
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--arch/arm/Makefile1
-rw-r--r--arch/arm/cpu/armv7/Makefile1
-rw-r--r--arch/arm/mach-exynos/Kconfig (renamed from arch/arm/cpu/armv7/exynos/Kconfig)0
-rw-r--r--arch/arm/mach-exynos/Makefile (renamed from arch/arm/cpu/armv7/exynos/Makefile)0
-rw-r--r--arch/arm/mach-exynos/clock.c (renamed from arch/arm/cpu/armv7/exynos/clock.c)0
-rw-r--r--arch/arm/mach-exynos/clock_init.h (renamed from arch/arm/cpu/armv7/exynos/clock_init.h)0
-rw-r--r--arch/arm/mach-exynos/clock_init_exynos4.c (renamed from arch/arm/cpu/armv7/exynos/clock_init_exynos4.c)0
-rw-r--r--arch/arm/mach-exynos/clock_init_exynos5.c (renamed from arch/arm/cpu/armv7/exynos/clock_init_exynos5.c)0
-rw-r--r--arch/arm/mach-exynos/common_setup.h (renamed from arch/arm/cpu/armv7/exynos/common_setup.h)2
-rw-r--r--arch/arm/mach-exynos/config.mk (renamed from arch/arm/cpu/armv7/exynos/config.mk)0
-rw-r--r--arch/arm/mach-exynos/dmc_common.c (renamed from arch/arm/cpu/armv7/exynos/dmc_common.c)0
-rw-r--r--arch/arm/mach-exynos/dmc_init_ddr3.c (renamed from arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c)0
-rw-r--r--arch/arm/mach-exynos/dmc_init_exynos4.c (renamed from arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c)0
-rw-r--r--arch/arm/mach-exynos/exynos4_setup.h (renamed from arch/arm/cpu/armv7/exynos/exynos4_setup.h)0
-rw-r--r--arch/arm/mach-exynos/exynos5_setup.h (renamed from arch/arm/cpu/armv7/exynos/exynos5_setup.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/adc.h (renamed from arch/arm/include/asm/arch-exynos/adc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/board.h (renamed from arch/arm/include/asm/arch-exynos/board.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/clk.h (renamed from arch/arm/include/asm/arch-exynos/clk.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/clock.h (renamed from arch/arm/include/asm/arch-exynos/clock.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/cpu.h (renamed from arch/arm/include/asm/arch-exynos/cpu.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/dmc.h (renamed from arch/arm/include/asm/arch-exynos/dmc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/dp.h (renamed from arch/arm/include/asm/arch-exynos/dp.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/dp_info.h (renamed from arch/arm/include/asm/arch-exynos/dp_info.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/dsim.h (renamed from arch/arm/include/asm/arch-exynos/dsim.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/dwmmc.h (renamed from arch/arm/include/asm/arch-exynos/dwmmc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/ehci.h (renamed from arch/arm/include/asm/arch-exynos/ehci.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/fb.h (renamed from arch/arm/include/asm/arch-exynos/fb.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio.h (renamed from arch/arm/include/asm/arch-exynos/gpio.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/i2s-regs.h (renamed from arch/arm/include/asm/arch-exynos/i2s-regs.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/mipi_dsim.h (renamed from arch/arm/include/asm/arch-exynos/mipi_dsim.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/mmc.h (renamed from arch/arm/include/asm/arch-exynos/mmc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/periph.h (renamed from arch/arm/include/asm/arch-exynos/periph.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/pinmux.h (renamed from arch/arm/include/asm/arch-exynos/pinmux.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/power.h (renamed from arch/arm/include/asm/arch-exynos/power.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/pwm.h (renamed from arch/arm/include/asm/arch-exynos/pwm.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/pwm_backlight.h (renamed from arch/arm/include/asm/arch-exynos/pwm_backlight.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/sound.h (renamed from arch/arm/include/asm/arch-exynos/sound.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/spi.h (renamed from arch/arm/include/asm/arch-exynos/spi.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/spl.h (renamed from arch/arm/include/asm/arch-exynos/spl.h)2
-rw-r--r--arch/arm/mach-exynos/include/mach/sromc.h (renamed from arch/arm/include/asm/arch-exynos/sromc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/sys_proto.h (renamed from arch/arm/include/asm/arch-exynos/sys_proto.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/system.h (renamed from arch/arm/include/asm/arch-exynos/system.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/tmu.h (renamed from arch/arm/include/asm/arch-exynos/tmu.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/tzpc.h (renamed from arch/arm/include/asm/arch-exynos/tzpc.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/uart.h (renamed from arch/arm/include/asm/arch-exynos/uart.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/watchdog.h (renamed from arch/arm/include/asm/arch-exynos/watchdog.h)0
-rw-r--r--arch/arm/mach-exynos/include/mach/xhci-exynos.h (renamed from arch/arm/include/asm/arch-exynos/xhci-exynos.h)0
-rw-r--r--arch/arm/mach-exynos/lowlevel_init.c (renamed from arch/arm/cpu/armv7/exynos/lowlevel_init.c)4
-rw-r--r--arch/arm/mach-exynos/pinmux.c (renamed from arch/arm/cpu/armv7/exynos/pinmux.c)0
-rw-r--r--arch/arm/mach-exynos/power.c (renamed from arch/arm/cpu/armv7/exynos/power.c)0
-rw-r--r--arch/arm/mach-exynos/sec_boot.S (renamed from arch/arm/cpu/armv7/exynos/sec_boot.S)0
-rw-r--r--arch/arm/mach-exynos/soc.c (renamed from arch/arm/cpu/armv7/exynos/soc.c)0
-rw-r--r--arch/arm/mach-exynos/spl_boot.c (renamed from arch/arm/cpu/armv7/exynos/spl_boot.c)0
-rw-r--r--arch/arm/mach-exynos/system.c (renamed from arch/arm/cpu/armv7/exynos/system.c)0
-rw-r--r--arch/arm/mach-exynos/tzpc.c (renamed from arch/arm/cpu/armv7/exynos/tzpc.c)0
-rw-r--r--drivers/spi/exynos_spi.c2
57 files changed, 6 insertions, 8 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ee9a1b3e65..735d971f4e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index ab0e9ce673..e84d6d366e 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 5a76100406..6769d8fbfe 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
index 37b89b0013..37b89b0013 100644
--- a/arch/arm/cpu/armv7/exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
diff --git a/arch/arm/cpu/armv7/exynos/Makefile b/arch/arm/mach-exynos/Makefile
index 8542f896cf..8542f896cf 100644
--- a/arch/arm/cpu/armv7/exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/mach-exynos/clock.c
index 1c6baa14b2..1c6baa14b2 100644
--- a/arch/arm/cpu/armv7/exynos/clock.c
+++ b/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
index fce502f45a..fce502f45a 100644
--- a/arch/arm/cpu/armv7/exynos/clock_init.h
+++ b/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
index 584e4bac09..584e4bac09 100644
--- a/arch/arm/cpu/armv7/exynos/clock_init_exynos4.c
+++ b/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
index 0200fd154f..0200fd154f 100644
--- a/arch/arm/cpu/armv7/exynos/clock_init_exynos5.c
+++ b/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
index 5235abb808..67aac2d575 100644
--- a/arch/arm/cpu/armv7/exynos/common_setup.h
+++ b/arch/arm/mach-exynos/common_setup.h
@@ -60,7 +60,7 @@ enum l2_cache_params {
};
-#ifndef CONFIG_SYS_L2CACHE_OFF
+#if !defined(CONFIG_SYS_L2CACHE_OFF) && defined(CONFIG_EXYNOS5420)
/*
* Configure L2CTLR to get timings that keep us from hanging/crashing.
*
diff --git a/arch/arm/cpu/armv7/exynos/config.mk b/arch/arm/mach-exynos/config.mk
index ee0d2dab7b..ee0d2dab7b 100644
--- a/arch/arm/cpu/armv7/exynos/config.mk
+++ b/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
index 9b6ee69f46..9b6ee69f46 100644
--- a/arch/arm/cpu/armv7/exynos/dmc_common.c
+++ b/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
index 7c0b12ae51..7c0b12ae51 100644
--- a/arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c
+++ b/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
index ecddc72684..ecddc72684 100644
--- a/arch/arm/cpu/armv7/exynos/dmc_init_exynos4.c
+++ b/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
index 9f29d94c10..9f29d94c10 100644
--- a/arch/arm/cpu/armv7/exynos/exynos4_setup.h
+++ b/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
index 9073f50f6b..9073f50f6b 100644
--- a/arch/arm/cpu/armv7/exynos/exynos5_setup.h
+++ b/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
index a0e26d7052..a0e26d7052 100644
--- a/arch/arm/include/asm/arch-exynos/adc.h
+++ b/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
index 1b1cd0dd9e..1b1cd0dd9e 100644
--- a/arch/arm/include/asm/arch-exynos/board.h
+++ b/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
index d20b7d2ae3..d20b7d2ae3 100644
--- a/arch/arm/include/asm/arch-exynos/clk.h
+++ b/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
index 8259b92b8e..8259b92b8e 100644
--- a/arch/arm/include/asm/arch-exynos/clock.h
+++ b/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
index cb3d2cc06f..cb3d2cc06f 100644
--- a/arch/arm/include/asm/arch-exynos/cpu.h
+++ b/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
index 4990a1af39..4990a1af39 100644
--- a/arch/arm/include/asm/arch-exynos/dmc.h
+++ b/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
index 0ec58e94ce..0ec58e94ce 100644
--- a/arch/arm/include/asm/arch-exynos/dp.h
+++ b/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
index 17e8f56d90..17e8f56d90 100644
--- a/arch/arm/include/asm/arch-exynos/dp_info.h
+++ b/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
index 86ff4da4d8..86ff4da4d8 100644
--- a/arch/arm/include/asm/arch-exynos/dsim.h
+++ b/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
index a7ca12c477..a7ca12c477 100644
--- a/arch/arm/include/asm/arch-exynos/dwmmc.h
+++ b/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
index 3800fa9044..3800fa9044 100644
--- a/arch/arm/include/asm/arch-exynos/ehci.h
+++ b/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
index f0d69b730e..f0d69b730e 100644
--- a/arch/arm/include/asm/arch-exynos/fb.h
+++ b/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
index 9699954a7d..9699954a7d 100644
--- a/arch/arm/include/asm/arch-exynos/gpio.h
+++ b/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
index 4a4a7a00b7..4a4a7a00b7 100644
--- a/arch/arm/include/asm/arch-exynos/i2s-regs.h
+++ b/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
index 50e5c258a9..50e5c258a9 100644
--- a/arch/arm/include/asm/arch-exynos/mipi_dsim.h
+++ b/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
index 0fb6461c08..0fb6461c08 100644
--- a/arch/arm/include/asm/arch-exynos/mmc.h
+++ b/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
index fdc9e87c69..fdc9e87c69 100644
--- a/arch/arm/include/asm/arch-exynos/periph.h
+++ b/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
index d0ae7575da..d0ae7575da 100644
--- a/arch/arm/include/asm/arch-exynos/pinmux.h
+++ b/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
index 3f97b31aea..3f97b31aea 100644
--- a/arch/arm/include/asm/arch-exynos/power.h
+++ b/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
index 43474c34b0..43474c34b0 100644
--- a/arch/arm/include/asm/arch-exynos/pwm.h
+++ b/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
index 4f54fa737d..4f54fa737d 100644
--- a/arch/arm/include/asm/arch-exynos/pwm_backlight.h
+++ b/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
index bff57c6919..bff57c6919 100644
--- a/arch/arm/include/asm/arch-exynos/sound.h
+++ b/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
index 0ba931b7e3..0ba931b7e3 100644
--- a/arch/arm/include/asm/arch-exynos/spi.h
+++ b/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
index cdcb2bc7ad..0c480acb1a 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
index 7f584033bd..7f584033bd 100644
--- a/arch/arm/include/asm/arch-exynos/sromc.h
+++ b/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
index 83ae42a743..83ae42a743 100644
--- a/arch/arm/include/asm/arch-exynos/sys_proto.h
+++ b/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
index 3ffb296a57..3ffb296a57 100644
--- a/arch/arm/include/asm/arch-exynos/system.h
+++ b/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
index cad35694f6..cad35694f6 100644
--- a/arch/arm/include/asm/arch-exynos/tmu.h
+++ b/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
index 0a4be23911..0a4be23911 100644
--- a/arch/arm/include/asm/arch-exynos/tzpc.h
+++ b/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
index 33d6ba3b64..33d6ba3b64 100644
--- a/arch/arm/include/asm/arch-exynos/uart.h
+++ b/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
index eb64109060..eb64109060 100644
--- a/arch/arm/include/asm/arch-exynos/watchdog.h
+++ b/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
index 92b90a462c..92b90a462c 100644
--- a/arch/arm/include/asm/arch-exynos/xhci-exynos.h
+++ b/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
index 3774607848..6c39cb2052 100644
--- a/arch/arm/cpu/armv7/exynos/lowlevel_init.c
+++ b/arch/arm/mach-exynos/lowlevel_init.c
@@ -175,7 +175,7 @@ int do_lowlevel_init(void)
arch_cpu_init();
-#ifndef CONFIG_SYS_L2CACHE_OFF
+#if !defined(CONFIG_SYS_L2CACHE_OFF) && defined(CONFIG_EXYNOS5420)
/*
* Init L2 cache parameters here for use by boot and resume
*
@@ -188,9 +188,7 @@ int do_lowlevel_init(void)
configure_l2_actlr();
dsb();
isb();
-#endif
-#ifdef CONFIG_EXYNOS5420
relocate_wait_code();
/* Reconfigure secondary cores */
diff --git a/arch/arm/cpu/armv7/exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
index e97cb376ff..e97cb376ff 100644
--- a/arch/arm/cpu/armv7/exynos/pinmux.c
+++ b/arch/arm/mach-exynos/pinmux.c
diff --git a/arch/arm/cpu/armv7/exynos/power.c b/arch/arm/mach-exynos/power.c
index 1b12051656..1b12051656 100644
--- a/arch/arm/cpu/armv7/exynos/power.c
+++ b/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
index dfc3455929..dfc3455929 100644
--- a/arch/arm/cpu/armv7/exynos/sec_boot.S
+++ b/arch/arm/mach-exynos/sec_boot.S
diff --git a/arch/arm/cpu/armv7/exynos/soc.c b/arch/arm/mach-exynos/soc.c
index 0f116b141a..0f116b141a 100644
--- a/arch/arm/cpu/armv7/exynos/soc.c
+++ b/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
index c7f943eb6a..c7f943eb6a 100644
--- a/arch/arm/cpu/armv7/exynos/spl_boot.c
+++ b/arch/arm/mach-exynos/spl_boot.c
diff --git a/arch/arm/cpu/armv7/exynos/system.c b/arch/arm/mach-exynos/system.c
index ad12445832..ad12445832 100644
--- a/arch/arm/cpu/armv7/exynos/system.c
+++ b/arch/arm/mach-exynos/system.c
diff --git a/arch/arm/cpu/armv7/exynos/tzpc.c b/arch/arm/mach-exynos/tzpc.c
index 395077cf25..395077cf25 100644
--- a/arch/arm/cpu/armv7/exynos/tzpc.c
+++ b/arch/arm/mach-exynos/tzpc.c
diff --git a/drivers/spi/exynos_spi.c b/drivers/spi/exynos_spi.c
index 6d77c319e7..418b48120a 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;