Commit f774a4c12b8ef197483075bbcd840b3ea27308e9
Committed by
Peng Fan
1 parent
5154e0c159
Exists in
smarc-m6.0.1_2.1.0-ga
MLK-12616-10 mx6ull: Add AIPS3 initialization
Since the mx6ull adds the AIPS3, so enable its initialization. Signed-off-by: Ye Li <ye.li@nxp.com>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
arch/arm/cpu/armv7/mx6/soc.c
... | ... | @@ -110,13 +110,13 @@ |
110 | 110 | void init_aips(void) |
111 | 111 | { |
112 | 112 | struct aipstz_regs *aips1, *aips2; |
113 | -#ifdef CONFIG_MX6SX | |
113 | +#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6ULL) | |
114 | 114 | struct aipstz_regs *aips3; |
115 | 115 | #endif |
116 | 116 | |
117 | 117 | aips1 = (struct aipstz_regs *)AIPS1_BASE_ADDR; |
118 | 118 | aips2 = (struct aipstz_regs *)AIPS2_BASE_ADDR; |
119 | -#ifdef CONFIG_MX6SX | |
119 | +#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6ULL) | |
120 | 120 | aips3 = (struct aipstz_regs *)AIPS3_CONFIG_BASE_ADDR; |
121 | 121 | #endif |
122 | 122 | |
... | ... | @@ -145,7 +145,7 @@ |
145 | 145 | writel(0x00000000, &aips2->opacr3); |
146 | 146 | writel(0x00000000, &aips2->opacr4); |
147 | 147 | |
148 | -#ifdef CONFIG_MX6SX | |
148 | +#if defined(CONFIG_MX6SX) || defined(CONFIG_MX6ULL) | |
149 | 149 | /* |
150 | 150 | * Set all MPROTx to be non-bufferable, trusted for R/W, |
151 | 151 | * not forced to user-mode. |
-
mentioned in commit 3f5962