From 6dcc8159849a88610205d5d2e67107a76ac2189d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 1 Jan 2015 16:17:59 -0700 Subject: [PATCH] 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 --- drivers/video/x86_fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/x86_fb.c b/drivers/video/x86_fb.c index 8743a8c319..6641033a5d 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; } -- 2.30.2