mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-01 02:31:27 +02:00
bdinfo: dm: Update fb_base when using driver model
Update this value with the address of a video device so that it shows with the 'bd' command. It would be better to obtain the address from the uclass by looking in struct video_uc_platdata for each device. We can move over to that once DM_VIDEO migration is complete. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
bda8909fcc
commit
aef43ea060
@ -84,6 +84,7 @@ int video_reserve(ulong *addrp)
|
|||||||
__func__, size, *addrp, dev->name);
|
__func__, size, *addrp, dev->name);
|
||||||
}
|
}
|
||||||
gd->video_bottom = *addrp;
|
gd->video_bottom = *addrp;
|
||||||
|
gd->fb_base = *addrp;
|
||||||
debug("Video frame buffers from %lx to %lx\n", gd->video_bottom,
|
debug("Video frame buffers from %lx to %lx\n", gd->video_bottom,
|
||||||
gd->video_top);
|
gd->video_top);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user