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:

committed by
Fabio Estevam

parent
9c3e49b660
commit
e2ebfe3c9a
@@ -1048,7 +1048,8 @@ static int nxp_fspi_of_to_plat(struct udevice *bus)
|
|||||||
}
|
}
|
||||||
#endif
|
#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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user