u-boot/arch/arm/mach-k3
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
..
am62ax arm: mach-k3: *: dev-data: Update to use ARRAY_SIZE 2023-07-21 15:32:12 -04:00
am62x arm: mach-k3: am62: fix 2nd mux option of clkout0 2023-08-04 15:03:34 -04:00
include/mach arm: mach-k3: am62: Add CTRLMMR_WKUP_JTAG_DEVICE_ID register definition 2023-07-21 15:32:12 -04:00
j721e arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID 2023-10-04 14:16:01 -04:00
j721s2 arm: mach-k3: j721s2: Add mcu_timer0 id to the dev list 2023-10-12 14:06:04 -04:00
j7200 arm: mach-k3: j7200: Add mcu_timer0 id to the dev list 2023-10-12 14:06:04 -04:00
am62a7_init.c arm: mach-k3: am62a7: change some prints to debug prints 2023-07-21 15:32:12 -04:00
am625_fdt.c arm: mach-k3: am62: Fixup CPU core, gpu and pru nodes in fdt 2023-07-21 15:32:12 -04:00
am625_init.c arm: mach-k3: am625: Add support for UDA FS 2023-09-08 10:07:12 -04:00
am642_init.c arm: mach-k3: Workaround errata ID i2331 2023-05-03 09:05:24 -04:00
am654_fdt.c arm: k3: Fix ft_system_setup so it can be enabled on any SoC 2023-07-21 15:32:12 -04:00
am654_init.c arm: mach-k3: Remove empty sys_proto.h include 2023-04-24 13:18:48 -04:00
arm64-mmu.c arm: mach-k3: arm64-mmu: do not map ATF and OPTEE regions in A53 MMU 2023-06-01 12:40:16 -04:00
cache.S arm: mach-k3: Clean non-coherent lines out of L3 cache 2020-08-11 10:18:27 +05:30
common.c arm: mach-k3: common: fix compile warnings with PHYS_64BIT on 32bit 2023-10-09 15:24:31 -04:00
common.h arm: mach-k3: common: fix compile warnings with PHYS_64BIT on 32bit 2023-10-09 15:24:31 -04:00
common_fdt.c arm: k3: fix fdt_del_node_path implicit declaration and a missing include 2023-07-28 10:11:01 -04:00
common_fdt.h arm: k3: fix fdt_del_node_path implicit declaration and a missing include 2023-07-28 10:11:01 -04:00
j721e_fdt.c arm: k3: Fix ft_system_setup so it can be enabled on any SoC 2023-07-21 15:32:12 -04:00
j721e_init.c arm: mach-k3: j721e_init: Move clk_k3 probe before loading TIFS 2023-10-04 14:16:01 -04:00
j721s2_fdt.c arm: k3: Fix ft_system_setup so it can be enabled on any SoC 2023-07-21 15:32:12 -04:00
j721s2_init.c arm: mach-k3: j721s2_init: Enable memory with CONFIG_K3_J721E_DDRSS 2023-10-12 14:06:05 -04:00
Kconfig board: toradex: add verdin am62 support 2023-08-04 15:03:42 -04:00
lowlevel_init.S armv7r: K3: Allow SPL to run only on core 0 2018-11-26 22:52:11 -05:00
Makefile arm: mach-k3: am62: Fixup CPU core, gpu and pru nodes in fdt 2023-07-21 15:32:12 -04:00
r5_mpu.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
security.c mach-k3: security: improve the checks around authentication 2023-07-28 10:11:01 -04:00
sysfw-loader.c treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
sysfw-loader.h arm: mach-k3: Move sysfw-loader.h out of mach includes 2023-04-24 13:18:48 -04:00