bdinfo: dm: Update fb_base when using driver model
authorSimon Glass <sjg@chromium.org>
Sun, 10 May 2020 20:17:01 +0000 (14:17 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2020 17:24:13 +0000 (13:24 -0400)
commitaef43ea0606deefc97ed085b16618f18a911cdb5
tree80d7ed49d9b698e956889ae95afccf036b1d00a9
parentbda8909fcc813cd5d4175287f53237911c96e316
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>
drivers/video/video-uclass.c