diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2006-03-26 06:38:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-26 22:49:00 -0500 |
commit | 1f5e3b028c5b592b5a792a390c78d609219aebfd (patch) | |
tree | f8aec1818e99f8ee485fdc686c73299bcbb6a18a /include/asm-ppc | |
parent | f8dd311982c86141f4f2fd326c0edf0c2d9fd97b (diff) |
[PATCH] ppc32: Reorganize and complete MPC52xx initial cpu setup
ppc32: Reorganize and complete MPC52xx initial cpu setup
This patch splits up the CPU setup into a generic part and a
platform specific part. We also add a few missing init at the
same time.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r-- | include/asm-ppc/mpc52xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc/mpc52xx.h b/include/asm-ppc/mpc52xx.h index 6167f74635f7..7e9842805a28 100644 --- a/include/asm-ppc/mpc52xx.h +++ b/include/asm-ppc/mpc52xx.h | |||
@@ -355,6 +355,7 @@ struct mpc52xx_xlb { | |||
355 | u32 snoop_window; /* XLB + 0x70 */ | 355 | u32 snoop_window; /* XLB + 0x70 */ |
356 | }; | 356 | }; |
357 | 357 | ||
358 | #define MPC52xx_XLB_CFG_PLDIS (1 << 31) | ||
358 | #define MPC52xx_XLB_CFG_SNOOP (1 << 15) | 359 | #define MPC52xx_XLB_CFG_SNOOP (1 << 15) |
359 | 360 | ||
360 | /* Clock Distribution control */ | 361 | /* Clock Distribution control */ |
@@ -427,6 +428,9 @@ extern void mpc52xx_calibrate_decr(void); | |||
427 | 428 | ||
428 | extern void mpc52xx_find_bridges(void); | 429 | extern void mpc52xx_find_bridges(void); |
429 | 430 | ||
431 | extern void mpc52xx_setup_cpu(void); | ||
432 | |||
433 | |||
430 | 434 | ||
431 | /* Matching of PSC function */ | 435 | /* Matching of PSC function */ |
432 | struct mpc52xx_psc_func { | 436 | struct mpc52xx_psc_func { |