[U-Boot] [PATCH 06/22] x86: video: Add a debug() to display the frame buffer address

Simon Glass sjg at chromium.org
Sun Dec 28 03:20:30 CET 2014


Provide a way to display this address when booting.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 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 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;
 }
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list