summaryrefslogtreecommitdiffstats
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-27 18:46:22 -0600
committerTom Rini <trini@konsulko.com>2020-10-22 09:54:52 -0400
commit5630d2fbc50f3035e3234315fb1ebed198d3292d (patch)
treefeb6e5a436695559972d07dff10695263a121920 /common/board_f.c
parent4a08fae1963e18d4c7d030ceade3c6c966f873ad (diff)
downloadu-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.tar.gz
u-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.tar.xz
u-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.zip
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>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c
index e99277d7e8..9f441c44f1 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -392,6 +392,8 @@ static int reserve_video(void)
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