summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-17 02:42:41 +0000
committerTom Rini <trini@konsulko.com>2016-01-19 08:31:46 -0500
commit22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46 (patch)
treec38ed5eeeed3d3a597c96ddf74730f55f55f48fc /drivers
parent55616b86c745fcac5a791268ab8e7cba36965c0f (diff)
downloadu-boot-imx-22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46.zip
u-boot-imx-22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46.tar.gz
u-boot-imx-22bd03a6a21d116a60f3b3529c7bd5d6e86a1d46.tar.bz2
spi: rk_spi: Fix debug format warning
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/rk_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/rk_spi.c b/drivers/spi/rk_spi.c
index 5e0c6ad..242a83b 100644
--- a/drivers/spi/rk_spi.c
+++ b/drivers/spi/rk_spi.c
@@ -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);