From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YgNMt-0001As-8M for barebox@lists.infradead.org; Fri, 10 Apr 2015 01:04:26 +0000 Received: by wiax7 with SMTP id x7so5768606wia.0 for ; Thu, 09 Apr 2015 18:04:02 -0700 (PDT) From: Sebastian Hesselbarth Date: Fri, 10 Apr 2015 03:03:48 +0200 Message-Id: <1428627830-17281-12-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1428627830-17281-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1428627830-17281-1-git-send-email-sebastian.hesselbarth@gmail.com> 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 11/13] ARM: mvebu: armada-xp: Use MBUS_ERR_PROP_EN define To: Sebastian Hesselbarth Cc: Thomas Petazzoni , barebox@lists.infradead.org With proper defines for ARMADA_370_XP_FABRIC_CTRL and MBUS_ERR_PROP_EN make use of it. Signed-off-by: Sebastian Hesselbarth --- Cc: barebox@lists.infradead.org Cc: Ezequiel Garcia Cc: Thomas Petazzoni --- arch/arm/mach-mvebu/armada-370-xp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 8e1463dd8b11..2405629526e0 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c @@ -138,9 +138,9 @@ static int armada_370_xp_init_soc(struct device_node *root, void *context) barebox_set_hostname("armada"); /* Disable MBUS error propagation */ - reg = readl(ARMADA_370_XP_FABRIC_BASE); - reg &= ~BIT(8); - writel(reg, ARMADA_370_XP_FABRIC_BASE); + reg = readl(ARMADA_370_XP_FABRIC_CTRL); + reg &= ~MBUS_ERR_PROP_EN; + writel(reg, ARMADA_370_XP_FABRIC_CTRL); armada_370_xp_memory_find(&phys_base, &phys_size); -- 2.1.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox