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 <sjg@chromium.org>
This commit is contained in:
parent
8a388085c7
commit
6dcc815984
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue