[U-Boot] [PATCH 1/2] ARM: asm/io.h: kill off confusing #ifdef __mem_pci block
Tom Rini
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!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191012/a9d36c0c/attachment.sig>
More information about the U-Boot
mailing list