]> git.sur5r.net Git - u-boot/commitdiff
imx: mx6: Fixed AIPS3 base address issue
authorYe.Li <B37916@freescale.com>
Wed, 14 Jan 2015 09:18:12 +0000 (17:18 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 10 Feb 2015 11:48:49 +0000 (12:48 +0100)
Should use AIPS3 configuration address 0x0227C000 to set AIPS3,
not the AIPS3 base address.
Additional, replace AIPS1_BASE_ADDR to AIPS3_ARB_BASE_ADDR to align with
AIPS1 and AIPS2, and resolve the AIPS3_ARB_BASE_ADDR undefine problem.

Signed-off-by: Ye.Li <B37916@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h

index 5f5f49720107f56717e676eafbfd94983ffee9b4..e599a12b3a57789f4c2830ab0f7aa218d9cdf234 100644 (file)
@@ -109,7 +109,7 @@ void init_aips(void)
        aips1 = (struct aipstz_regs *)AIPS1_BASE_ADDR;
        aips2 = (struct aipstz_regs *)AIPS2_BASE_ADDR;
 #ifdef CONFIG_MX6SX
-       aips3 = (struct aipstz_regs *)AIPS3_BASE_ADDR;
+       aips3 = (struct aipstz_regs *)AIPS3_CONFIG_BASE_ADDR;
 #endif
 
        /*
index 22f371d2538ba1c1039bbd4e2b85c310b9875a60..ae88b6ecab45eb9752f758ccd186242b1467c723 100644 (file)
@@ -88,8 +88,8 @@
 #define AIPS2_ARB_BASE_ADDR             0x02100000
 #define AIPS2_ARB_END_ADDR              0x021FFFFF
 #ifdef CONFIG_MX6SX
-#define AIPS3_BASE_ADDR                        0x02200000
-#define AIPS3_END_ADDR                 0x022FFFFF
+#define AIPS3_ARB_BASE_ADDR             0x02200000
+#define AIPS3_ARB_END_ADDR              0x022FFFFF
 #define WEIM_ARB_BASE_ADDR              0x50000000
 #define WEIM_ARB_END_ADDR               0x57FFFFFF
 #define QSPI0_AMBA_BASE                0x60000000