]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: rk_spi: Fix debug format warning
authorTom Rini <trini@konsulko.com>
Sun, 17 Jan 2016 02:42:41 +0000 (02:42 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2016 13:31:46 +0000 (08:31 -0500)
We need to use %lx not %x to describe a fdt_addr_t

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/spi/rk_spi.c

index 5e0c6ad278fee8c1dcde86cdda291501d29015ab..242a83bdd82210c78214185e787101701722fc71 100644 (file)
@@ -135,7 +135,7 @@ static int rockchip_spi_ofdata_to_platdata(struct udevice *bus)
                                        50000000);
        plat->deactivate_delay_us = fdtdec_get_int(blob, node,
                                        "spi-deactivate-delay", 0);
-       debug("%s: base=%x, periph_id=%d, max-frequency=%d, deactivate_delay=%d\n",
+       debug("%s: base=%lx, periph_id=%d, max-frequency=%d, deactivate_delay=%d\n",
              __func__, plat->base, plat->periph_id, plat->frequency,
              plat->deactivate_delay_us);