Commit e8cdeefc222ff32a80282dd571be0426156cd9d9

Authored by Ye.Li
Committed by Stefano Babic
1 parent 9598f8c30c

imx: mx6: Fixed AIPS3 base address issue

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>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

arch/arm/cpu/armv7/mx6/soc.c
... ... @@ -109,7 +109,7 @@
109 109 aips1 = (struct aipstz_regs *)AIPS1_BASE_ADDR;
110 110 aips2 = (struct aipstz_regs *)AIPS2_BASE_ADDR;
111 111 #ifdef CONFIG_MX6SX
112   - aips3 = (struct aipstz_regs *)AIPS3_BASE_ADDR;
  112 + aips3 = (struct aipstz_regs *)AIPS3_CONFIG_BASE_ADDR;
113 113 #endif
114 114  
115 115 /*
arch/arm/include/asm/arch-mx6/imx-regs.h
... ... @@ -88,8 +88,8 @@
88 88 #define AIPS2_ARB_BASE_ADDR 0x02100000
89 89 #define AIPS2_ARB_END_ADDR 0x021FFFFF
90 90 #ifdef CONFIG_MX6SX
91   -#define AIPS3_BASE_ADDR 0x02200000
92   -#define AIPS3_END_ADDR 0x022FFFFF
  91 +#define AIPS3_ARB_BASE_ADDR 0x02200000
  92 +#define AIPS3_ARB_END_ADDR 0x022FFFFF
93 93 #define WEIM_ARB_BASE_ADDR 0x50000000
94 94 #define WEIM_ARB_END_ADDR 0x57FFFFFF
95 95 #define QSPI0_AMBA_BASE 0x60000000