diff options
author | Stefan Roese <sr@denx.de> | 2010-09-11 09:31:43 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-09-23 09:02:05 +0200 |
commit | 5e7abce99163a00b8d267cc8045f06b498728288 (patch) | |
tree | 33da20a6f8524f7a8929cc4f8c003708a5f0a6e8 /arch/powerpc/cpu/ppc4xx/cpu_init.c | |
parent | 098877628888f28f321b8a61a9b0b982a969e415 (diff) | |
download | bootable_bootloader_goldelico_gta04-5e7abce99163a00b8d267cc8045f06b498728288.zip bootable_bootloader_goldelico_gta04-5e7abce99163a00b8d267cc8045f06b498728288.tar.gz bootable_bootloader_goldelico_gta04-5e7abce99163a00b8d267cc8045f06b498728288.tar.bz2 |
ppc4xx: Big header cleanup, mostly PPC440 related
This patch starts a bit PPC4xx header cleanup. First patch mostly
touches PPC440 files. A later patch will touch the PPC405 files as well.
This cleanup is done by creating header files for all SoC versions and
moving the SoC specific defines into these special headers. This way the
common header ppc405.h and ppc440.h can be cleaned up finally.
Signed-off-by: Stefan Roese <sr@denx.de>
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 6456dc7..677a4b5 100644 --- a/arch/powerpc/cpu/ppc4xx/cpu_init.c +++ b/arch/powerpc/cpu/ppc4xx/cpu_init.c @@ -397,10 +397,10 @@ cpu_init_f (void) /* * Set PLB4 arbiter (Segment 0 and 1) to 4 deep pipeline read */ - mtdcr(PLB0_ACR, (mfdcr(PLB0_ACR) & ~PLB0_ACR_RDP_MASK) | - PLB0_ACR_RDP_4DEEP); - mtdcr(PLB1_ACR, (mfdcr(PLB1_ACR) & ~PLB1_ACR_RDP_MASK) | - PLB1_ACR_RDP_4DEEP); + mtdcr(PLB4A0_ACR, (mfdcr(PLB4A0_ACR) & ~PLB4Ax_ACR_RDP_MASK) | + PLB4Ax_ACR_RDP_4DEEP); + mtdcr(PLB4A1_ACR, (mfdcr(PLB4A1_ACR) & ~PLB4Ax_ACR_RDP_MASK) | + PLB4Ax_ACR_RDP_4DEEP); #endif /* CONFIG_440SP/SPE || CONFIG_460EX/GT || CONFIG_405EX */ } |