diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-common/dpmc_modes.S | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S index 6ecc64e5a06a..3fba05c99098 100644 --- a/arch/blackfin/mach-common/dpmc_modes.S +++ b/arch/blackfin/mach-common/dpmc_modes.S | |||
@@ -239,21 +239,18 @@ ENDPROC(_unset_dram_srfs) | |||
239 | 239 | ||
240 | ENTRY(_set_sic_iwr) | 240 | ENTRY(_set_sic_iwr) |
241 | #ifdef SIC_IWR0 | 241 | #ifdef SIC_IWR0 |
242 | P0.H = hi(SIC_IWR0); | 242 | P0.H = hi(SYSMMR_BASE); |
243 | P0.L = lo(SIC_IWR0); | 243 | P0.L = lo(SYSMMR_BASE); |
244 | P1.H = hi(SIC_IWR1); | 244 | [P0 + (SIC_IWR0 - SYSMMR_BASE)] = R0; |
245 | P1.L = lo(SIC_IWR1); | 245 | [P0 + (SIC_IWR1 - SYSMMR_BASE)] = R1; |
246 | [P1] = R1; | ||
247 | # ifdef SIC_IWR2 | 246 | # ifdef SIC_IWR2 |
248 | P1.H = hi(SIC_IWR2); | 247 | [P0 + (SIC_IWR2 - SYSMMR_BASE)] = R2; |
249 | P1.L = lo(SIC_IWR2); | ||
250 | [P1] = R2; | ||
251 | # endif | 248 | # endif |
252 | #else | 249 | #else |
253 | P0.H = hi(SIC_IWR); | 250 | P0.H = hi(SIC_IWR); |
254 | P0.L = lo(SIC_IWR); | 251 | P0.L = lo(SIC_IWR); |
255 | #endif | ||
256 | [P0] = R0; | 252 | [P0] = R0; |
253 | #endif | ||
257 | 254 | ||
258 | SSYNC; | 255 | SSYNC; |
259 | RTS; | 256 | RTS; |