u-boot/arch/arm/mach-exynos
Tom Rini a78cd86132 ARM: Rework and correct barrier definitions
As part of testing booting Linux kernels on Rockchip devices, it was
discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for
some cases incomplete isb definitions.  This was causing a failure to
boot of the Linux kernel.

In order to solve this problem as well as cover any corner cases that we
may also have had a number of changes are made in order to consolidate
things.  First, <asm/barriers.h> now becomes the source of isb/dsb/dmb
definitions.  This however introduces another complexity.  Due to
needing to build SPL for 32bit tegra with -march=armv4 we need to borrow
the __LINUX_ARM_ARCH__ logic from the Linux Kernel in a more complete
form.  Move this from arch/arm/lib/Makefile to arch/arm/Makefile and add
a comment about it.  Now that we can always know what the target CPU is
capable off we can get always do the correct thing for the barrier.  The
final part of this is that need to be consistent everywhere and call
isb()/dsb()/dmb() and NOT call ISB/DSB/DMB in some cases and the
function names in others.

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Sandy Patterson <apatterson@sightlogix.com>
Reported-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Reported-by: Sandy Patterson <apatterson@sightlogix.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2016-08-05 07:23:57 -04:00
..
include/mach ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
clock.c Exynos5422/5800: set cpu id to 0x5422 2015-11-02 10:37:59 +09:00
clock_init.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
clock_init_exynos4.c ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
clock_init_exynos5.c Exynos5422/5800: set cpu id to 0x5422 2015-11-02 10:37:59 +09:00
common_setup.h Exynos5422/5800: set cpu id to 0x5422 2015-11-02 10:37:59 +09:00
config.mk ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
dmc_common.c ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
dmc_init_ddr3.c arm: exynos: clean up checkpatch issues 2015-11-02 10:38:22 +09:00
dmc_init_exynos4.c ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
exynos4_setup.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
exynos5_setup.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
Kconfig board: samsung: add initial Espresso7420 board support 2016-05-25 10:00:19 +09:00
lowlevel_init.c ARM: exynos: Fix build error if SERIAL is disabled in SPL 2016-05-26 12:55:49 +09:00
Makefile arm: exynos: add support for Exynos7420 SoC 2016-05-25 10:00:19 +09:00
mmu-arm64.c armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
pinmux.c exynos: Allow PWM0 pinmux to be set up 2016-05-25 13:25:18 +09:00
power.c exynos: Simplify calling of exynos_dp_phy_ctrl() 2016-05-25 13:25:18 +09:00
sec_boot.S Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
soc.c arm: exynos: add support for Exynos7420 SoC 2016-05-25 10:00:19 +09:00
spl_boot.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
system.c ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
tzpc.c ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00