]> git.sur5r.net Git - u-boot/commitdiff
x86: video: Add a debug() to display the frame buffer address
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:17:59 +0000 (16:17 -0700)
committerSimon 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

index 8743a8c3197948aa5220f8f039dd838fa0c4dcfd..6641033a5df9bbbb3ea43c74953abd87e3aa5370 100644 (file)
@@ -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;
 }