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
clk.h
clock.h
cpu.h exynos: video: Drop dead code 2016-05-25 13:25:17 +09:00
dmc.h
dp.h
dp_info.h exynos: video: Convert several boards to driver model for video 2016-05-25 13:25:19 +09:00
dsim.h
dwmmc.h mmc: exynos_dw_mmc: remove the unused function 2016-07-12 14:28:37 +09:00
ehci.h
fb.h
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
mipi_dsim.h exynos: video: Move mipi_lcd_device_dt into a function 2016-05-25 13:25:17 +09:00
mmc.h
periph.h
pinmux.h
power.h exynos: Simplify calling of exynos_dp_phy_ctrl() 2016-05-25 13:25:18 +09:00
pwm.h
pwm_backlight.h
sound.h
spi.h
spl.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sromc.h
sys_proto.h
system.h ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
tmu.h
tzpc.h
uart.h
watchdog.h
xhci-exynos.h