From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYZnU-0001TP-Qj for barebox@lists.infradead.org; Thu, 28 Jun 2018 16:29:30 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1fYZnG-0006bx-So for barebox@lists.infradead.org; Thu, 28 Jun 2018 18:29:14 +0200 From: Philipp Zabel Date: Thu, 28 Jun 2018 18:29:05 +0200 Message-Id: <20180628162905.11053-1-p.zabel@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] ARM: imx6qp: fix NoC QoS passthrough for new cpu type functions. To: barebox@lists.infradead.org On i.MX6QP/DP cpu_mx6_is_mx6q/d do not return true anymore. Use the new cpu_mx6_is_mx6qp/dp to reenable NoC regulator bypass. Fixes: d4c05d29d484 ("ARM: i.MX6: Add cpu type for 'plus' variants") Signed-off-by: Philipp Zabel --- arch/arm/mach-imx/imx6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/imx6.c b/arch/arm/mach-imx/imx6.c index eaf9f2e4130e..3d95c9e3749c 100644 --- a/arch/arm/mach-imx/imx6.c +++ b/arch/arm/mach-imx/imx6.c @@ -140,8 +140,7 @@ static void imx6_setup_ipu_qos(void) * On i.MX6 QP/DP the NoC regulator for the IPU ports needs to be in * bypass mode for the above settings to take effect. */ - if ((cpu_mx6_is_mx6q() || cpu_mx6_is_mx6d()) && - imx_silicon_revision() >= IMX_CHIP_REV_2_0) { + if (cpu_mx6_is_mx6qp() || cpu_mx6_is_mx6dp()) { writel(0x2, fast2 + 0xb048c); writel(0x2, fast2 + 0xb050c); } -- 2.17.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox