summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-01 23:17:59 (GMT)
committerSimon Glass <sjg@chromium.org>2015-01-13 15:24:58 (GMT)
commit6dcc8159849a88610205d5d2e67107a76ac2189d (patch)
treed1640175bf4318e8fd83132dc3b9e2c037afb20b
parent8a388085c70d0da306cbd0dc644606cf8be24486 (diff)
downloadu-boot-fsl-qoriq-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>
-rw-r--r--drivers/video/x86_fb.c1
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;
}