[U-Boot] [RESEND PATCH 1/3] arm: clean up asm/io.h

Alexander Graf agraf at suse.de
Wed Feb 20 12:24:35 UTC 2019


On 02/10/2019 05:17 PM, Andre Przywara wrote:
> 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.
>
> Clean up the definitions by:
> - removing pointless Linux history
> - removing commented code
> - removing outdated comments
> - removing unused definitions, for instance for mem_isa and mem_pci
>
> This massively improves the readability of the file.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>

Reviewed-by: Alexander Graf <agraf at suse.de>


Alex



More information about the U-Boot mailing list