From: Simon Glass Date: Sun, 10 May 2020 20:17:01 +0000 (-0600) Subject: bdinfo: dm: Update fb_base when using driver model X-Git-Tag: v2020.10~139^2~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aef43ea0606deefc97ed085b16618f18a911cdb5;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Bin Meng --- diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c index bf396d1..1f28745 100644 --- a/drivers/video/video-uclass.c +++ b/drivers/video/video-uclass.c @@ -84,6 +84,7 @@ int video_reserve(ulong *addrp) __func__, size, *addrp, dev->name); } gd->video_bottom = *addrp; + gd->fb_base = *addrp; debug("Video frame buffers from %lx to %lx\n", gd->video_bottom, gd->video_top);