u-boot/drivers/dma
Matthias Schiffer 5fecea171d treewide: use dev_read_addr_*_ptr() where appropriate
A follow-up to commit 842fb5de42
("drivers: use devfdt_get_addr_size_index_ptr when cast to pointer")
and commit 320a1938b6
("drivers: use devfdt_get_addr_index_ptr when cast to pointer").

In addition to using the *_ptr variants of these functions where the
address is cast to a pointer, this also changes devfdt_get_addr_*() to
dev_read_addr_*() in a few places. Some variable and field types are
changed from fdt_addr_t or phys_addr_t to void* where the cast was
happening later.

This patch fixes a number of compile warnings when building a 32bit
U-Boot with CONFIG_PHYS_64BIT=y. In some places, it also fixes error
handling where the return value of dev_read_addr() etc. was checked for
NULL instead of FDT_ADDR_T_NONE.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-13 14:01:42 -06:00
..
ti treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
apbh_dma.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
bcm6348-iudma.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
dma-uclass.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
fsl_dma.c ddr: fsl: Remove CONFIG_MEM_INIT_VALUE 2022-12-22 10:31:48 -05:00
Kconfig dma: xilinx: Add Display Port DMA driver 2022-03-09 12:35:50 +01:00
keystone_nav.c ti: keystone: dma: Migrate to Kconfig 2021-09-27 21:38:34 -04:00
keystone_nav_cfg.c ti: keystone: dma: Migrate to Kconfig 2021-09-27 21:38:34 -04:00
lpc32xx_dma.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
Makefile dma: xilinx: Add Display Port DMA driver 2022-03-09 12:35:50 +01:00
MCD_dmaApi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
MCD_tasks.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
MCD_tasksInit.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox-dma-test.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
ti-edma3.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
xilinx_dpdma.c dma: xilinx: Add Display Port DMA driver 2022-03-09 12:35:50 +01:00