From 28ab141867944cc7181e2ca786cf401d1a296041 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 21 Feb 2008 13:06:38 +0100 Subject: [MPC5200]: call early_init() after we've setup our timing. Otherwise the console gets messed up afterwards. --- arch/ppc/mach-mpc5xxx/cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch') diff --git a/arch/ppc/mach-mpc5xxx/cpu_init.c b/arch/ppc/mach-mpc5xxx/cpu_init.c index 44aed8ad6f..8eb00f05f3 100644 --- a/arch/ppc/mach-mpc5xxx/cpu_init.c +++ b/arch/ppc/mach-mpc5xxx/cpu_init.c @@ -36,8 +36,6 @@ int cpu_init(void) { unsigned long addecr = (1 << 25); /* Boot_CS */ - early_init(); - #if defined(CFG_RAMBOOT) && defined(CONFIG_MGT5100) addecr |= (1 << 22); /* SDRAM enable */ #endif @@ -190,6 +188,8 @@ int cpu_init(void) /* route critical ints to normal ints */ *(vu_long *)MPC5XXX_ICTL_EXT |= 0x00000001; + early_init(); + return 0; } -- cgit v1.2.3