diff options
-rw-r--r-- | arch/blackfin/mach-common/dpmc_modes.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S index 9cfdd49a3127..6ecc64e5a06a 100644 --- a/arch/blackfin/mach-common/dpmc_modes.S +++ b/arch/blackfin/mach-common/dpmc_modes.S | |||
@@ -238,18 +238,17 @@ ENTRY(_unset_dram_srfs) | |||
238 | ENDPROC(_unset_dram_srfs) | 238 | ENDPROC(_unset_dram_srfs) |
239 | 239 | ||
240 | ENTRY(_set_sic_iwr) | 240 | ENTRY(_set_sic_iwr) |
241 | #if defined(CONFIG_BF54x) || defined(CONFIG_BF52x) || defined(CONFIG_BF561) || \ | 241 | #ifdef SIC_IWR0 |
242 | defined(CONFIG_BF538) || defined(CONFIG_BF539) || defined(CONFIG_BF51x) | ||
243 | P0.H = hi(SIC_IWR0); | 242 | P0.H = hi(SIC_IWR0); |
244 | P0.L = lo(SIC_IWR0); | 243 | P0.L = lo(SIC_IWR0); |
245 | P1.H = hi(SIC_IWR1); | 244 | P1.H = hi(SIC_IWR1); |
246 | P1.L = lo(SIC_IWR1); | 245 | P1.L = lo(SIC_IWR1); |
247 | [P1] = R1; | 246 | [P1] = R1; |
248 | #if defined(CONFIG_BF54x) | 247 | # ifdef SIC_IWR2 |
249 | P1.H = hi(SIC_IWR2); | 248 | P1.H = hi(SIC_IWR2); |
250 | P1.L = lo(SIC_IWR2); | 249 | P1.L = lo(SIC_IWR2); |
251 | [P1] = R2; | 250 | [P1] = R2; |
252 | #endif | 251 | # endif |
253 | #else | 252 | #else |
254 | P0.H = hi(SIC_IWR); | 253 | P0.H = hi(SIC_IWR); |
255 | P0.L = lo(SIC_IWR); | 254 | P0.L = lo(SIC_IWR); |