From patchwork Mon Oct 21 13:33:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 1180592 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=armadeus.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46xczy5Lf3z9sPc for ; Tue, 22 Oct 2019 00:34:06 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 4A46FC21CB1; Mon, 21 Oct 2019 13:33:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 096D8C21E29; Mon, 21 Oct 2019 13:33:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0B536C21DA2; Mon, 21 Oct 2019 13:33:39 +0000 (UTC) Received: from 1.mo69.mail-out.ovh.net (1.mo69.mail-out.ovh.net [178.33.251.173]) by lists.denx.de (Postfix) with ESMTPS id 268EBC21E53 for ; Mon, 21 Oct 2019 13:33:39 +0000 (UTC) Received: from player159.ha.ovh.net (unknown [10.109.160.40]) by mo69.mail-out.ovh.net (Postfix) with ESMTP id 731E067E9F for ; Mon, 21 Oct 2019 15:33:38 +0200 (CEST) Received: from armadeus.com (lfbn-1-7591-179.w90-126.abo.wanadoo.fr [90.126.248.179]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player159.ha.ovh.net (Postfix) with ESMTPSA id 4D96EB202424; Mon, 21 Oct 2019 13:33:29 +0000 (UTC) From: =?utf-8?q?S=C3=A9bastien_Szymanski?= To: Stefano Babic Date: Mon, 21 Oct 2019 15:33:04 +0200 Message-Id: <20191021133304.14001-3-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191021133304.14001-1-sebastien.szymanski@armadeus.com> References: <20191021133304.14001-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12948130405306946634 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrkeehgdeikecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Cc: u-boot@lists.denx.de, "NXP i . MX U-Boot Team" Subject: [U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Set gd->fb_base so it can be shown with bdinfo command. Signed-off-by: Sébastien Szymanski Reviewed-by: Peng Fan --- 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; }