u-boot-brain/arch
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
..
arc common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
arm asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
m68k common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
microblaze common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
mips common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
nds32 asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
nios2 common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
powerpc common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
riscv asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
sandbox common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
sh common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
x86 asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
xtensa common: Move relocate_code() to init.h 2020-01-17 13:26:49 -05:00
.gitignore
Kconfig x86: Enable pinctrl in SPL and TPL 2019-12-15 11:44:24 +08:00