u-boot/arch/arm/mach-sunxi
Andre Przywara 1ea4fac5a3 arm/arm64: Move barrier instructions into separate header
Commit bfb33f0bc4 ("sunxi: mctl_mem_matches: Add missing memory
barrier") broke compilation for the Pine64, as dram_helper.c now
includes <asm/armv7.h>, which does not compile on arm64.

Fix this by moving all barrier instructions into a separate header
file, which can easily be shared between arm and arm64.
Also extend the inline assembly to take the "sy" argument, which is
optional for ARMv7, but mandatory for v8.

This fixes compilation for 64-bit sunxi boards (Pine64).

Acked-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2016-05-12 11:13:03 -04:00
..
board.c sunxi: Add support for Allwinner A64 SoCs 2016-04-01 09:52:28 +02:00
clock.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun6i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
clock_sun9i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
cpu_info.c sunxi: Add support for Allwinner A64 SoCs 2016-04-01 09:52:28 +02:00
dram_helpers.c arm/arm64: Move barrier instructions into separate header 2016-05-12 11:13:03 -04:00
dram_sun4i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun6i.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a23.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a33.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_a83t.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
dram_sun8i_h3.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
Makefile sunxi: Add support for Allwinner A64 SoCs 2016-04-01 09:52:28 +02:00
p2wi.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pinmux.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
pmic_bus.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
prcm.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
rsb.c sunxi: Move cpu independent code to mach directory 2016-04-01 09:52:28 +02:00
usb_phy.c sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option 2016-04-12 08:58:03 +02:00