]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: asm/io.h: kill off confusing #ifdef __mem_pci block
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 10 Sep 2019 08:51:53 +0000 (08:51 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 19:33:27 +0000 (15:33 -0400)
commit909d0399a519e1491b3e11e6afae2287e0c08a3f
treeae8d87d9da8fcdf069eb6c7da1bc3249aa686a08
parent17241ea0543a4c998f79bde27b8a6047c8d84d0a
ARM: asm/io.h: kill off confusing #ifdef __mem_pci block

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@prevas.dk>
arch/arm/include/asm/io.h