[U-Boot] [PATCH RESEND] arm/arm64: Move barrier instructions into separate header

Tom Rini trini at konsulko.com
Thu May 12 17:13:48 CEST 2016


On Thu, May 12, 2016 at 12:14:41PM +0100, Andre Przywara wrote:

> 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 at hellion.org.uk>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160512/720cbd10/attachment.sig>


More information about the U-Boot mailing list