board: Show memory for frame buffers
When debugging is enabled, show the memory allocated to video frame
buffers.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/common/board_f.c b/common/board_f.c
index e99277d..9f441c4 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -392,6 +392,8 @@
ret = video_reserve(&addr);
if (ret)
return ret;
+ debug("Reserving %luk for video at: %08lx\n",
+ (unsigned long)gd->relocaddr - addr, addr);
gd->relocaddr = addr;
#elif defined(CONFIG_LCD)
# ifdef CONFIG_FB_ADDR