From: Tom Rini Date: Sat, 12 Oct 2019 16:23:17 -0400 Subject: [U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block In-Reply-To: <20190910085144.4478-1-rasmus.villemoes@prevas.dk> References: <20190910085144.4478-1-rasmus.villemoes@prevas.dk> Message-ID: <20191012202317.GB16029@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 Tue, Sep 10, 2019 at 08:51:53AM +0000, Rasmus Villemoes wrote: > No ARM board seems to define __mem_pci - and if it did, one would get tons of > > ./arch/arm/include/asm/io.h:307:0: warning: "readl" redefined > > warnings, because readl and friends are unconditionally defined > earlier in io.h. Moreover, the redefinitions lack the memory barriers > that the first definitions have. So I'm guessing this is practically > dead code. > > Signed-off-by: Rasmus Villemoes Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: