projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a08fae
)
board: Show memory for frame buffers
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Sep 2020 00:46:22 +0000
(18:46 -0600)
committer
Tom Rini
<trini@konsulko.com>
Thu, 22 Oct 2020 13:54:52 +0000
(09:54 -0400)
When debugging is enabled, show the memory allocated to video frame
buffers.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
patch
|
blob
|
history
diff --git
a/common/board_f.c
b/common/board_f.c
index
e99277d
..
9f441c4
100644
(file)
--- 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