From: Simon Glass Date: Thu, 1 Jan 2015 23:17:59 +0000 (-0700) Subject: x86: video: Add a debug() to display the frame buffer address X-Git-Tag: v2015.04-rc1~195^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6dcc8159849a88610205d5d2e67107a76ac2189d;p=platform%2Fkernel%2Fu-boot.git 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 --- 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; }