diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-02-21 13:06:38 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-02-21 13:06:38 +0100 |
commit | 28ab141867944cc7181e2ca786cf401d1a296041 (patch) | |
tree | 5717a65a8084fded2b363147937f2d06a1651f61 /arch/ppc | |
parent | a26eca758e2611f362682ecb48dd6bc23665738d (diff) | |
download | barebox-28ab141867944cc7181e2ca786cf401d1a296041.tar.gz barebox-28ab141867944cc7181e2ca786cf401d1a296041.tar.xz |
[MPC5200]: call early_init() after we've setup our timing. Otherwise
the console gets messed up afterwards.
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/mach-mpc5xxx/cpu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |