[U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block
trini at konsulko.com
Sat Oct 12 20:23:17 UTC 2019
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 <rasmus.villemoes at prevas.dk>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the U-Boot