u-boot/arch/riscv
Vignesh Raghavendra c0a5a81f74 asm: dma-mapping.h: Fix dma mapping functions
Subsystems such as USB expect dma_map_single() and dma_unmap_single() to
do dcache flush/invalidate operations as required. For example, see
see drivers/usb/gadget/udc/udc-core.c::usb_gadget_map_request().
Currently drivers do this locally, (see drivers/usb/dwc3/ep0.c,
drivers/mtd/nand/raw/denali.c etc..)
Update arch specific dma_map_single() and dma_unmap_single() APIs to do
cache flush/invalidate  operations, so that drivers need not implement
them locally.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2020-01-25 12:04:36 -05:00
..
cpu common: Move relocate_code() to init.h 2020-01-17 13:26:49 -05:00
dts riscv: dts: Add #address-cells and #size-cells in nor node 2019-12-10 08:23:10 +08:00
include/asm asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
lib common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
config.mk riscv: qemu: define standalone load address 2019-01-15 09:36:31 +08:00
Kconfig riscv: increase stack size to avoid a stack overflow during distro boot 2019-12-10 08:23:10 +08:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00