spi: fspi: dev_dbg() call assumes fdt_addr_t always a long long

On 32-bit systems, e.g. i.mxrt-1170 fdt_addr_t may only be 32-bit.
Cast to a "long long" for garbage avoidance.

Signed-off-by: Jonathan Currier <dullfire@yahoo.com>
This commit is contained in:
Jonathan Currier
2025-05-07 03:36:23 -05:00
committed by Fabio Estevam
parent 9c3e49b660
commit e2ebfe3c9a

View File

@@ -1048,7 +1048,8 @@ static int nxp_fspi_of_to_plat(struct udevice *bus)
}
#endif
dev_dbg(bus, "iobase=<0x%llx>, ahb_addr=<0x%llx>\n", iobase, ahb_addr);
dev_dbg(bus, "iobase=<0x%llx>, ahb_addr=<0x%llx>\n",
(long long)iobase, (long long)ahb_addr);
return 0;
}