u-boot/drivers/soc
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
Kconfig soc: soc_ti_k3: Use hardware.h to remove definition duplication 2023-04-24 13:18:47 -04:00
Makefile soc: xilinx: versal-net: Add soc_xilinx_versal_net driver 2022-11-22 15:02:07 +01:00
soc_sandbox.c test: Add tests for SOC uclass 2020-07-25 14:46:57 -06:00
soc_ti_k3.c soc: soc_ti_k3: fix revision array bounds checks 2023-04-25 15:31:27 -04:00
soc_xilinx_versal_net.c soc: xilinx: versal-net: Add soc_xilinx_versal_net driver 2022-11-22 15:02:07 +01:00
soc_xilinx_versal.c soc: xilinx: versal: fix out of bounds array access 2022-05-13 09:10:02 +02:00
soc_xilinx_zynqmp.c arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
soc-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00