mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lukasz Madej <l.madej@grinn-global.com>
To: barebox@lists.infradead.org
Cc: Lukasz Madej <l.madej@grinn-global.com>
Subject: [PATCH] ARM: imx7: missing config for AIPS3 bridge added
Date: Thu,  3 Jan 2019 10:22:21 +0100	[thread overview]
Message-ID: <20190103092221.5937-1-l.madej@grinn-global.com> (raw)

Access priviledges for AIPS3 bridge have been configured so peripherals
connected to it (like SDMA, SAI etc.) can work properly.

Signed-off-by: Lukasz Madej <l.madej@grinn-global.com>
---
 arch/arm/mach-imx/imx7.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/mach-imx/imx7.c b/arch/arm/mach-imx/imx7.c
index ca11e8345..ff2a828c7 100644
--- a/arch/arm/mach-imx/imx7.c
+++ b/arch/arm/mach-imx/imx7.c
@@ -26,6 +26,7 @@ void imx7_init_lowlevel(void)
 {
 	void __iomem *aips1 = IOMEM(MX7_AIPS1_CONFIG_BASE_ADDR);
 	void __iomem *aips2 = IOMEM(MX7_AIPS2_CONFIG_BASE_ADDR);
+	void __iomem *aips3 = IOMEM(MX7_AIPS3_CONFIG_BASE_ADDR);
 
 	/*
 	 * Set all MPROTx to be non-bufferable, trusted for R/W,
@@ -46,6 +47,14 @@ void imx7_init_lowlevel(void)
 	writel(0, aips2 + 0x48);
 	writel(0, aips2 + 0x4c);
 	writel(0, aips2 + 0x50);
+
+	writel(0x77777777, aips3);
+	writel(0x77777777, aips3 + 0x4);
+	writel(0, aips3 + 0x40);
+	writel(0, aips3 + 0x44);
+	writel(0, aips3 + 0x48);
+	writel(0, aips3 + 0x4c);
+	writel(0, aips3 + 0x50);
 }
 
 #define SC_CNTCR	0x0
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2019-01-03  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03  9:22 Lukasz Madej [this message]
2019-01-03 11:18 ` Sascha Hauer

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=20190103092221.5937-1-l.madej@grinn-global.com \
    --to=l.madej@grinn-global.com \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox