diff options
author | Lukasz Madej <l.madej@grinn-global.com> | 2019-01-03 10:22:21 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-03 12:18:44 +0100 |
commit | a50cb5f54a05e18fc8d7179f8705ed10f93c45d4 (patch) | |
tree | d97fab7132f7d2d136eaab6f4296caf04dbd3ed7 /arch | |
parent | 59344263a9df2b80645620a1353a78101d314747 (diff) | |
download | barebox-a50cb5f54a05e18fc8d7179f8705ed10f93c45d4.tar.gz barebox-a50cb5f54a05e18fc8d7179f8705ed10f93c45d4.tar.xz |
ARM: imx7: missing config for AIPS3 bridge added
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>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx7.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx7.c b/arch/arm/mach-imx/imx7.c index ca11e83456..ff2a828c7d 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 |