Commit 6dcc8159 authored by Simon Glass's avatar Simon Glass
Browse files

x86: video: Add a debug() to display the frame buffer address

Provide a way to display this address when booting.
Signed-off-by: default avatarSimon Glass <>
parent 8a388085
......@@ -32,6 +32,7 @@ void *video_hw_init(void)
sprintf(gdev->modeIdent, "%dx%dx%d", gdev->winSizeX, gdev->winSizeY,
printf("%s\n", gdev->modeIdent);
debug("Frame buffer at %x\n", gdev->frameAdrs);
return (void *)gdev;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment