u-boot/drivers/ram/k3-ddrss
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
..
am62a ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
am64 ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
j721e ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
cps_drv_lpddr4.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
k3-ddrss.c treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
lpddr4.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_am6x.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_am6x.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_am6x_sanity.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_am62a_ctl_regs_rw_masks.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_am64_ctl_regs_rw_masks.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_if.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_j721e.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_j721e.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_j721e_ctl_regs_rw_masks.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_j721e_sanity.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_obj_if.c ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_obj_if.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_sanity.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
lpddr4_structs_if.h ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00
Makefile ram: k3-ddrss: add auto-generated macros for am62a support 2022-12-09 14:10:28 -05:00