[U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base

Peng Fan peng.fan at nxp.com
Tue Oct 22 03:00:28 UTC 2019


> Subject: [PATCH v2 3/3] video: mxsfb: set gd->fb_base
> 
> Set gd->fb_base so it can be shown with bdinfo command.
> 
> Signed-off-by: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
> ---
> 
> Changes for v3:
>  - use plat->base instead of fb_start
> 
>  drivers/video/mxsfb.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index
> 6922a130c6..c52981053e 100644
> --- a/drivers/video/mxsfb.c
> +++ b/drivers/video/mxsfb.c
> @@ -367,6 +367,7 @@ static int mxs_video_probe(struct udevice *dev)
>  	mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start,
>  					DCACHE_WRITEBACK);
>  	video_set_flush_dcache(dev, true);
> +	gd->fb_base = plat->base;
> 
>  	return ret;

Reviewed-by: Peng Fan <peng.fan at nxp.com>

>  }
> --
> 2.21.0



More information about the U-Boot mailing list