u-boot/arch/arm/mach-exynos/include/mach
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
..
adc.h dm: adc: add Exynos54xx compatible ADC driver 2015-11-02 10:38:00 +09:00
board.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
clk.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
clock.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
cpu.h exynos: video: Drop dead code 2016-05-25 13:25:17 +09:00
dmc.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
dp.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
dp_info.h exynos: video: Convert several boards to driver model for video 2016-05-25 13:25:19 +09:00
dsim.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
dwmmc.h mmc: exynos_dw_mmc: remove the unused function 2016-07-12 14:28:37 +09:00
ehci.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
fb.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
gpio.h arm: exynos: realign the code to allow support for newer 64-bit platforms 2016-05-25 10:00:19 +09:00
i2s-regs.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
mipi_dsim.h exynos: video: Move mipi_lcd_device_dt into a function 2016-05-25 13:25:17 +09:00
mmc.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
periph.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
pinmux.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
power.h exynos: Simplify calling of exynos_dp_phy_ctrl() 2016-05-25 13:25:18 +09:00
pwm.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
pwm_backlight.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
sound.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
spi.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
spl.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sromc.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
sys_proto.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
system.h ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
tmu.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
tzpc.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
uart.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
watchdog.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00
xhci-exynos.h ARM: exynos: move SoC sources to mach-exynos 2015-08-17 13:06:52 +09:00