All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base
Date: Tue, 22 Oct 2019 03:00:28 +0000	[thread overview]
Message-ID: <DB7PR04MB4490834DFCE2CA50AEBC7E7F88680@DB7PR04MB4490.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20191021133304.14001-3-sebastien.szymanski@armadeus.com>

> 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@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@nxp.com>

>  }
> --
> 2.21.0

  reply	other threads:[~2019-10-22  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-21 13:33 [U-Boot] [PATCH v2 1/3] imx6ul: opos6ul: migrate to DM_ETH Sébastien Szymanski
2019-10-21 13:33 ` [U-Boot] [PATCH v2 2/3] opos6uldev: migrate to DM_VIDEO Sébastien Szymanski
2019-11-04  8:55   ` sbabic at denx.de
2019-10-21 13:33 ` [U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base Sébastien Szymanski
2019-10-22  3:00   ` Peng Fan [this message]
2019-11-04  8:53   ` sbabic at denx.de
2019-11-04  8:54 ` [U-Boot] [PATCH v2 1/3] imx6ul: opos6ul: migrate to DM_ETH sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB7PR04MB4490834DFCE2CA50AEBC7E7F88680@DB7PR04MB4490.eurprd04.prod.outlook.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.