[PATCH] riscv: Correct a comment in io.h

Bin Meng bmeng at tinylab.org
Mon Apr 3 05:37:32 CEST 2023


Replace NDS32 with RISC-V in the comments.

Signed-off-by: Bin Meng <bmeng at tinylab.org>
---

 arch/riscv/include/asm/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/include/asm/io.h b/arch/riscv/include/asm/io.h
index 220266e76f..b16e6dfa37 100644
--- a/arch/riscv/include/asm/io.h
+++ b/arch/riscv/include/asm/io.h
@@ -180,7 +180,7 @@ static inline u64 readq(const volatile void __iomem *addr)
  *  IO port access primitives
  *  -------------------------
  *
- * The NDS32 doesn't have special IO access instructions just like ARM;
+ * The RISC-V doesn't have special IO access instructions just like ARM;
  * all IO is memory mapped.
  * Note that these are defined to perform little endian accesses
  * only.  Their primary purpose is to access PCI and ISA peripherals.
-- 
2.25.1



More information about the U-Boot mailing list