diff options
author | Simon Glass <sjg@chromium.org> | 2020-09-27 18:46:22 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 09:54:52 -0400 |
commit | 5630d2fbc50f3035e3234315fb1ebed198d3292d (patch) | |
tree | feb6e5a436695559972d07dff10695263a121920 | |
parent | 4a08fae1963e18d4c7d030ceade3c6c966f873ad (diff) | |
download | u-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.zip u-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.tar.gz u-boot-5630d2fbc50f3035e3234315fb1ebed198d3292d.tar.bz2 |
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>
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ 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 |