From: Simon Glass Date: Mon, 28 Sep 2020 00:46:22 +0000 (-0600) Subject: board: Show memory for frame buffers X-Git-Tag: v2025.01-rc5-pxa1908~2165^2~45 X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=5630d2fbc50f3035e3234315fb1ebed198d3292d;p=u-boot.git board: Show memory for frame buffers When debugging is enabled, show the memory allocated to video frame buffers. Signed-off-by: Simon Glass --- 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