diff options
Diffstat (limited to 'arch/powerpc/sysdev/cpm1.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm1.c b/arch/powerpc/sysdev/cpm1.c index 5e6ff38ea69f..8ed65365be50 100644 --- a/arch/powerpc/sysdev/cpm1.c +++ b/arch/powerpc/sysdev/cpm1.c | |||
@@ -228,7 +228,10 @@ void __init cpm_reset(void) | |||
228 | * Bit 25, FAM can also be set to use FEC aggressive mode (860T). | 228 | * Bit 25, FAM can also be set to use FEC aggressive mode (860T). |
229 | */ | 229 | */ |
230 | siu_conf = immr_map(im_siu_conf); | 230 | siu_conf = immr_map(im_siu_conf); |
231 | out_be32(&siu_conf->sc_sdcr, 1); | 231 | if ((mfspr(SPRN_IMMR) & 0xffff) == 0x0900) /* MPC885 */ |
232 | out_be32(&siu_conf->sc_sdcr, 0x40); | ||
233 | else | ||
234 | out_be32(&siu_conf->sc_sdcr, 1); | ||
232 | immr_unmap(siu_conf); | 235 | immr_unmap(siu_conf); |
233 | 236 | ||
234 | cpm_muram_init(); | 237 | cpm_muram_init(); |