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

Rick Chen rickchen36 at gmail.com
Thu Apr 6 03:33:23 CEST 2023


> From: Bin Meng <bmeng at tinylab.org>
> Sent: Monday, April 03, 2023 11:38 AM
> To: Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>
> Cc: u-boot at lists.denx.de
> Subject: [PATCH] riscv: Correct a comment in io.h
>
> 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.

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list