]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: Clean up asm/io.h
authorAndre Przywara <andre.przywara@arm.com>
Fri, 11 Feb 2022 11:29:37 +0000 (11:29 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 2 Mar 2022 18:59:29 +0000 (13:59 -0500)
commit7ab2e47d27c93b3dd8e006fb2b0c762b171454cb
treecbccacc9b5fa95093829a8336d700a76e94f9147
parent7ed340a8283bea57e5b535efee2365bc6a05bd11
arm: Clean up asm/io.h

asm/io.h is the header file containing the central MMIO accessor macros.
Judging by the header and the comments, it was apparently once copied
from the Linux kernel, but has deviated since then *heavily*. There is
absolutely no point in staying close to the original Linux code anymore,
so just remove the old cruft, by:
- removing pointless Linux history
- removing commented code
- removing outdated comments
- removing unused definitions (for mem_isa)

This massively improves the readability of the file.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/io.h