From: Tom Rini Date: Thu, 12 May 2016 11:13:48 -0400 Subject: [U-Boot] [PATCH RESEND] arm/arm64: Move barrier instructions into separate header In-Reply-To: <1463051681-19428-1-git-send-email-andre.przywara@arm.com> References: <1463051681-19428-1-git-send-email-andre.przywara@arm.com> Message-ID: <20160512151348.GQ24828@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > Signed-off-by: Andre Przywara 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: