diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-01 23:17:59 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-13 15:24:58 (GMT) |
commit | 6dcc8159849a88610205d5d2e67107a76ac2189d (patch) | |
tree | d1640175bf4318e8fd83132dc3b9e2c037afb20b /drivers/video/x86_fb.c | |
parent | 8a388085c70d0da306cbd0dc644606cf8be24486 (diff) | |
download | u-boot-6dcc8159849a88610205d5d2e67107a76ac2189d.tar.xz |
x86: video: Add a debug() to display the frame buffer address
Provide a way to display this address when booting.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/x86_fb.c')
-rw-r--r-- | drivers/video/x86_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/x86_fb.c b/drivers/video/x86_fb.c index 8743a8c..6641033 100644 --- 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; } |