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

2016-05-12 Thread Tom Rini
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 , which does not compile on arm64. > > Fix this by moving all barrier instructions into

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

2016-05-12 Thread Ian Campbell
On Thu, 2016-05-12 at 12:14 +0100, Andre Przywara wrote: > --- > Hi Hans, Ian, > > can I get an ACK on this please? I'm afraid that given: [...] >  arch/arm/include/asm/armv7.h   | 21 +- >  arch/arm/include/asm/barriers.h| 44 > ++ >  ar

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

2016-05-12 Thread Andre Przywara
Commit bfb33f0bc45b ("sunxi: mctl_mem_matches: Add missing memory barrier") broke compilation for the Pine64, as dram_helper.c now includes , 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.