]> git.baikalelectronics.ru Git - uboot.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)
commit39951f6d47c47cbc0d61753df2b7cbad972a2737
treeae8d87d9da8fcdf069eb6c7da1bc3249aa686a08
parent9fae87d1b2400797cb0493fc34f81c1f72f34b78
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