]> git.ipfire.org Git - thirdparty/u-boot.git/commit
soc: ti: pruss: Fix size ptr type in probe
authorPhilippe Schenker <philippe.schenker@impulsing.ch>
Tue, 11 Nov 2025 07:16:27 +0000 (08:16 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 18 Nov 2025 18:50:05 +0000 (12:50 -0600)
commit40768f5ed3ef82ac11236cdd2e50cde79b5debe5
treed18fe30544fcf860b8d5ef50db9aee8a1a709fce
parent5d3697b7cf0006fee3fa12966643d605ae0777cc
soc: ti: pruss: Fix size ptr type in probe

When compiling for R5 with CONFIG_TI_PRUSS enabled, the
pruss_probe() function passed a u64* to ofnode_get_addr_size_index(),
which expects an fdt_size_t*. This caused a compiler error
about incompatible pointer types.

Cast the size pointer to fdt_size_t* to match the function
signature.

Signed-off-by: Philippe Schenker <philippe.schenker@impulsing.ch>
drivers/soc/ti/pruss.c