summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-01 16:17:59 -0700
committerSimon Glass <sjg@chromium.org>2015-01-13 07:24:58 -0800
commit6dcc8159849a88610205d5d2e67107a76ac2189d (patch)
treed1640175bf4318e8fd83132dc3b9e2c037afb20b /drivers
parent8a388085c70d0da306cbd0dc644606cf8be24486 (diff)
downloadu-boot-imx-6dcc8159849a88610205d5d2e67107a76ac2189d.zip
u-boot-imx-6dcc8159849a88610205d5d2e67107a76ac2189d.tar.gz
u-boot-imx-6dcc8159849a88610205d5d2e67107a76ac2189d.tar.bz2
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')
-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;
}