]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/spi/fsl_dspi.c
fdt: armv8: Fix build warnings on armv8
[karo-tx-uboot.git] / drivers / spi / fsl_dspi.c
index 6476f913c8d73b8892c5942fc21fc26b2c041afa..792853192ed78fc661b467d2f5c21405f97bdd47 100644 (file)
@@ -664,8 +664,8 @@ static int fsl_dspi_ofdata_to_platdata(struct udevice *bus)
        plat->speed_hz = fdtdec_get_int(blob,
                        node, "spi-max-frequency", FSL_DSPI_DEFAULT_SCK_FREQ);
 
-       debug("DSPI: regs=0x%x, max-frequency=%d, endianess=%s, num-cs=%d\n",
-             plat->regs_addr, plat->speed_hz,
+       debug("DSPI: regs=0x%llx, max-frequency=%d, endianess=%s, num-cs=%d\n",
+             (u64)plat->regs_addr, plat->speed_hz,
              plat->flags & DSPI_FLAG_REGMAP_ENDIAN_BIG ? "be" : "le",
              plat->num_chipselect);