projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a38808
)
x86: video: Add a debug() to display the frame buffer address
author
Simon Glass
<sjg@chromium.org>
Thu, 1 Jan 2015 23:17:59 +0000
(16:17 -0700)
committer
Simon Glass
<sjg@chromium.org>
Tue, 13 Jan 2015 15:24:58 +0000
(07:24 -0800)
Provide a way to display this address when booting.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/x86_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/x86_fb.c
b/drivers/video/x86_fb.c
index 8743a8c3197948aa5220f8f039dd838fa0c4dcfd..6641033a5df9bbbb3ea43c74953abd87e3aa5370 100644
(file)
--- a/
drivers/video/x86_fb.c
+++ b/
drivers/video/x86_fb.c
@@
-32,6
+32,7
@@
void *video_hw_init(void)
sprintf(gdev->modeIdent, "%dx%dx%d", gdev->winSizeX, gdev->winSizeY,
bits_per_pixel);
printf("%s\n", gdev->modeIdent);
+ debug("Frame buffer at %x\n", gdev->frameAdrs);
return (void *)gdev;
}