diff options
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/cpu_init.c')
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/cpu_init.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/cpu_init.c b/arch/powerpc/cpu/ppc4xx/cpu_init.c index 2a727b1df..bf208adfe 100644 --- a/arch/powerpc/cpu/ppc4xx/cpu_init.c +++ b/arch/powerpc/cpu/ppc4xx/cpu_init.c @@ -342,7 +342,7 @@ cpu_init_f (void)  #endif  #if defined(CONFIG_WATCHDOG) -	val = mfspr(tcr); +	val = mfspr(SPRN_TCR);  #if defined(CONFIG_440EP) || defined(CONFIG_440GR)  	val |= 0xb8000000;      /* generate system reset after 1.34 seconds */  #elif defined(CONFIG_440EPX) @@ -354,11 +354,11 @@ cpu_init_f (void)  	val &= ~0x30000000;			/* clear WRC bits */  	val |= CONFIG_SYS_4xx_RESET_TYPE << 28;	/* set board specific WRC type */  #endif -	mtspr(tcr, val); +	mtspr(SPRN_TCR, val); -	val = mfspr(tsr); +	val = mfspr(SPRN_TSR);  	val |= 0x80000000;      /* enable watchdog timer */ -	mtspr(tsr, val); +	mtspr(SPRN_TSR, val);  	reset_4xx_watchdog();  #endif /* CONFIG_WATCHDOG */  |