mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: imx7: missing config for AIPS3 bridge added
@ 2019-01-03  9:22 Lukasz Madej
  2019-01-03 11:18 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Madej @ 2019-01-03  9:22 UTC (permalink / raw)
  To: barebox; +Cc: Lukasz Madej

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: imx7: missing config for AIPS3 bridge added
  2019-01-03  9:22 [PATCH] ARM: imx7: missing config for AIPS3 bridge added Lukasz Madej
@ 2019-01-03 11:18 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-01-03 11:18 UTC (permalink / raw)
  To: Lukasz Madej; +Cc: barebox

On Thu, Jan 03, 2019 at 10:22:21AM +0100, Lukasz Madej wrote:
> 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(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-03 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03  9:22 [PATCH] ARM: imx7: missing config for AIPS3 bridge added Lukasz Madej
2019-01-03 11:18 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox