summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-09-27 09:42:13 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-27 10:27:33 +0200
commit7c949330cce1c049e3e9bb2584316077c5ec08cc (patch)
treef4537a515b9a739bfce796ccb46703a8ffd4225a
parent1c4a5d24a1d61092af11c1a889a67d5f6542b08d (diff)
downloadbarebox-7c949330cce1c049e3e9bb2584316077c5ec08cc.tar.gz
barebox-7c949330cce1c049e3e9bb2584316077c5ec08cc.tar.xz
ppc mpc5200: remove bus clock switching from generic code
The only user (pcm030) already setups the bus clocks in its board code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/ppc/mach-mpc5xxx/cpu_init.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/ppc/mach-mpc5xxx/cpu_init.c b/arch/ppc/mach-mpc5xxx/cpu_init.c
index 021091ebd2..0c17d95958 100644
--- a/arch/ppc/mach-mpc5xxx/cpu_init.c
+++ b/arch/ppc/mach-mpc5xxx/cpu_init.c
@@ -144,21 +144,6 @@ int cpu_init(void)
*(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 << 15);
*(vu_long *)(MPC5XXX_XLBARB + 0x70) = 0 | 0x1d;
-# if defined(CFG_IPBSPEED_133)
- /* Motorola reports IPB should better run at 133 MHz. */
- *(vu_long *)MPC5XXX_ADDECR |= 1;
- /* pci_clk_sel = 0x02, ipb_clk_sel = 0x00; */
- addecr = *(vu_long *)MPC5XXX_CDM_CFG;
- addecr &= ~0x103;
-# if defined(CFG_PCISPEED_66)
- /* pci_clk_sel = 0x01 -> IPB_CLK/2 */
- addecr |= 0x01;
-# else
- /* pci_clk_sel = 0x02 -> XLB_CLK/4 = IPB_CLK/4 */
- addecr |= 0x02;
-# endif /* CFG_PCISPEED_66 */
- *(vu_long *)MPC5XXX_CDM_CFG = addecr;
-# endif /* CFG_IPBSPEED_133 */
/* Configure the XLB Arbiter */
*(vu_long *)MPC5XXX_XLBARB_MPRIEN = 0xff;
*(vu_long *)MPC5XXX_XLBARB_MPRIVAL = 0x11111111;