Re: [U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block

2019-10-12 Thread Tom Rini
On Tue, Sep 10, 2019 at 08:51:53AM +, 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

[U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block

2019-09-10 Thread Rasmus Villemoes
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