u-boot-brain/arch/sandbox
Fabien Dessenne 641067fb0c dm: core: Introduce xxx_translate_dma_address()
Add the following functions to translate DMA address to CPU address:
- dev_translate_dma_address()
- ofnode_translate_dma_address()
- of_translate_dma_address()
- fdt_translate_dma_address()
These functions work the same way as xxx_translate_address(), with the
difference that the translation relies on the "dma-ranges" property
instead of the "ranges" property.

Add related test. Test report:
=> ut dm fdt_translation
Test: dm_test_fdt_translation: test-fdt.c
Test: dm_test_fdt_translation: test-fdt.c (flat tree)
Failures: 0

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
2019-07-22 09:21:28 +02:00
..
cpu sandbox: Add a comment to board_init_f() 2019-07-10 16:52:58 -06:00
dts dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
include/asm - Sandbox improvements including .dts refactor 2019-07-11 18:10:11 -04:00
lib sandbox: Properly print physical addresses 2019-04-11 20:10:05 -06:00
config.mk sandbox: Allo sdl-config to be overridden 2019-07-10 16:52:58 -06:00
Kconfig sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00