summaryrefslogtreecommitdiffstats
path: root/doc/SPI
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-05-12 12:14:41 +0100
committerTom Rini <trini@konsulko.com>2016-05-12 11:13:03 -0400
commit1ea4fac5a34604e67504ee6537bb01e809528cd4 (patch)
treea00ff7f5f48cc255bdea84ba7a4181a0feb1b622 /doc/SPI
parent4baca92001bff3c32a05001a7dc58996623e3ef8 (diff)
downloadtalos-obmc-uboot-1ea4fac5a34604e67504ee6537bb01e809528cd4.tar.gz
talos-obmc-uboot-1ea4fac5a34604e67504ee6537bb01e809528cd4.zip
arm/arm64: Move barrier instructions into separate header
Commit bfb33f0bc45b ("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>
Diffstat (limited to 'doc/SPI')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud