]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Clean up asm/io.h
authorLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 19 May 2022 08:43:31 +0000 (16:43 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 26 May 2022 10:41:21 +0000 (18:41 +0800)
commitd5af15bf515f04f31fde22cab27feae84039e4d0
treeb0b3ca2ceb013e30db09091d0a3d95db81f8fa87
parent8ac37b461c90987f02f011d17145f8d6ff484bc7
riscv: Clean up asm/io.h

Clean up asm/io.h by
- removing commented code
- removing outdated comments
- removing unused definitions (for mem_isa, mem_pci)

This massively improves the readability of the file.

Suggested by commits:
7ab2e47d27c9 ("arm: Clean up asm/io.h")
909d0399a519 ("ARM: asm/io.h: kill off confusing #ifdef __mem_pci block")

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/include/asm/io.h