riscv: Add asm/dma-mapping.h for DMA mappings
authorAnup Patel <Anup.Patel@wdc.com>
Mon, 25 Feb 2019 08:14:17 +0000 (08:14 +0000)
committerAndes <uboot@andestech.com>
Wed, 27 Feb 2019 01:12:33 +0000 (09:12 +0800)
commit70b8562dcf03461cd01bcacab7520c7d1485176c
tree23409e24b386153100d54af5c92a1653ff431c02
parentfdff1f96a6505bccb258f5b52e6c94c7e0b29512
riscv: Add asm/dma-mapping.h for DMA mappings

This patch adds asm/dma-mapping.h for Linux-like DMA mappings
APIs required by some of the drivers (such as, Cadance MACB
Ethernet driver).

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
arch/riscv/include/asm/dma-mapping.h [new file with mode: 0644]