diff options
Diffstat (limited to 'board/sc3')
| -rw-r--r-- | board/sc3/init.S | 2 | ||||
| -rw-r--r-- | board/sc3/sc3.c | 10 | 
2 files changed, 6 insertions, 6 deletions
| diff --git a/board/sc3/init.S b/board/sc3/init.S index 6052c6655..d374db414 100644 --- a/board/sc3/init.S +++ b/board/sc3/init.S @@ -27,7 +27,7 @@   *------------------------------------------------------------------------------- */  #include <config.h> -#include <ppc4xx.h> +#include <asm/ppc4xx.h>  #define _LINUX_CONFIG_H 1	/* avoid reading Linux autoconf.h file	*/ diff --git a/board/sc3/sc3.c b/board/sc3/sc3.c index 63927f729..f148ad698 100644 --- a/board/sc3/sc3.c +++ b/board/sc3/sc3.c @@ -331,16 +331,16 @@ int board_early_init_f (void)  	}  	/* Code decompression disabled */ -	mtdcr (KIAR, KCONF); -	mtdcr (KIDR, 0x2B); +	mtdcr (DCP0_CFGADDR, KCONF); +	mtdcr (DCP0_CFGDATA, 0x2B);  	/* CPC0_ER: enable sleep mode of (currently) unused components */  	/* CPC0_FR: force unused components into sleep mode */ -	mtdcr (CPMER, 0x3F800000); -	mtdcr (CPMFR, 0x14000000); +	mtdcr (CPC0_ER, 0x3F800000); +	mtdcr (CPC0_FR, 0x14000000);  	/* set PLB priority */ -	mtdcr (0x87, 0x08000000); +	mtdcr (PLB0_ACR, 0x08000000);  	/* --------------- DMA stuff ------------------------------------- */  	mtdcr (0x126, 0x49200000); |