summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2015-08-03 12:02:05 -0700
committerSimon Glass <sjg@chromium.org>2015-08-06 07:31:13 -0600
commitfdb9f349be255b9b69a5e1a300296779b48a36b0 (patch)
treed23f5e9c6bd54398d2be645821e89c8a1f2cf99e /drivers/video
parentd1de41d7fa68b29510da1320d6646fcc19113af2 (diff)
downloadu-boot-imx-fdb9f349be255b9b69a5e1a300296779b48a36b0.zip
u-boot-imx-fdb9f349be255b9b69a5e1a300296779b48a36b0.tar.gz
u-boot-imx-fdb9f349be255b9b69a5e1a300296779b48a36b0.tar.bz2
lib/fdtdec: Fix compiling warning caused by changing fdt_addr_t type
fdt_addr_t is changed to phys_addr_t. The format in debug should be updated to %pa to match the type. Signed-off-by: York Sun <yorksun@freescale.com> CC: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c
index b8f3431..33c6103 100644
--- a/drivers/video/tegra.c
+++ b/drivers/video/tegra.c
@@ -92,7 +92,7 @@ void lcd_ctrl_init(void *lcdbase)
/* Enable flushing after LCD writes if requested */
lcd_set_flush_dcache(config.cache_type & FDT_LCD_CACHE_FLUSH);
- debug("LCD frame buffer at %08X\n", disp_config->frame_buffer);
+ debug("LCD frame buffer at %pa\n", &disp_config->frame_buffer);
}
ulong calc_fbsize(void)