mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 19:34:35 +00:00
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>
This commit is contained in:
parent
4a08fae196
commit
5630d2fbc5
1 changed files with 2 additions and 0 deletions
|
@ -392,6 +392,8 @@ static int reserve_video(void)
|
||||||
ret = video_reserve(&addr);
|
ret = video_reserve(&addr);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
debug("Reserving %luk for video at: %08lx\n",
|
||||||
|
(unsigned long)gd->relocaddr - addr, addr);
|
||||||
gd->relocaddr = addr;
|
gd->relocaddr = addr;
|
||||||
#elif defined(CONFIG_LCD)
|
#elif defined(CONFIG_LCD)
|
||||||
# ifdef CONFIG_FB_ADDR
|
# ifdef CONFIG_FB_ADDR
|
||||||
|
|
Loading…
Add table
Reference in a new issue