]> git.baikalelectronics.ru Git - uboot.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)
commit9e395e2c94d2795f10554f5b6f8baaa1182c43a1
treeb0b3ca2ceb013e30db09091d0a3d95db81f8fa87
parent98c59af014d575579517a29d91efefaf35d1b52d
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:
38d0449de5d0 ("arm: Clean up asm/io.h")
39951f6d47c4 ("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