riscv: add #define in asm/io.h for some device drivers
authorWei Fu <wefu@redhat.com>
Sat, 23 Oct 2021 16:31:12 +0000 (00:31 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 8 Nov 2021 07:35:55 +0000 (15:35 +0800)
commit41635cca6ec40c21d4c602938342babfd8f7dbb7
tree84e93a22cf1bb3fa72f632d1d2a5eafd09a5e428
parent89a86dcf6191c243ad58950bda9112bd84201a6a
riscv: add #define in asm/io.h for some device drivers

This patch adds memcpy_fromio and memcpy_toio definitions for some device
drivers which have these definitions, like cadence_qspi_apb.c

Signed-off-by: Wei Fu <wefu@redhat.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/include/asm/io.h