git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c3e49b
)
spi: fspi: dev_dbg() call assumes fdt_addr_t always a long long
author
Jonathan Currier
<dullfire@yahoo.com>
Wed, 7 May 2025 08:36:23 +0000
(
03:36
-0500)
committer
Fabio Estevam
<festevam@gmail.com>
Mon, 12 May 2025 21:42:53 +0000
(18:42 -0300)
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>
drivers/spi/nxp_fspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/nxp_fspi.c
b/drivers/spi/nxp_fspi.c
index
95ad7fc
..
6d97b8e
100644
(file)
--- a/
drivers/spi/nxp_fspi.c
+++ b/
drivers/spi/nxp_fspi.c
@@
-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;
}