[PATCH] arm: mach-k3: common: fix compile warnings with PHYS_64BIT on 32bit

Tom Rini trini at konsulko.com
Tue Oct 10 14:57:53 CEST 2023


On Wed, Sep 27, 2023 at 03:43:14PM +0200, Matthias Schiffer wrote:

> Use uintptr_t instead of phys_addr_t where appropriate, so passing the
> addresses to writel() doesn't result in compile warnings when PHYS_64BIT
> is set for 32bit builds (which is actually a useful configuration, as
> the K3 SoC family boots from an R5 SPL, which may pass bank information
> based on gd->bd->bi_dram to fdt_fixup_memory_banks() etc., so PHYS_64BIT
> is needed for fixing up the upper bank).
> 
> Signed-off-by: Matthias Schiffer <matthias.schiffer at ew.tq-group.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231010/37cf994e/attachment.sig>


More information about the U-Boot mailing list