Skip to content
Snippets Groups Projects
Commit 22bd03a6 authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
parent 55616b86
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ static int rockchip_spi_ofdata_to_platdata(struct udevice *bus) ...@@ -135,7 +135,7 @@ static int rockchip_spi_ofdata_to_platdata(struct udevice *bus)
50000000); 50000000);
plat->deactivate_delay_us = fdtdec_get_int(blob, node, plat->deactivate_delay_us = fdtdec_get_int(blob, node,
"spi-deactivate-delay", 0); "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, __func__, plat->base, plat->periph_id, plat->frequency,
plat->deactivate_delay_us); plat->deactivate_delay_us);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment