[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>
This commit is contained in:
committed by
Paul Mackerras
parent
f8dd311982
commit
1f5e3b028c
@@ -355,6 +355,7 @@ struct mpc52xx_xlb {
|
||||
u32 snoop_window; /* XLB + 0x70 */
|
||||
};
|
||||
|
||||
#define MPC52xx_XLB_CFG_PLDIS (1 << 31)
|
||||
#define MPC52xx_XLB_CFG_SNOOP (1 << 15)
|
||||
|
||||
/* Clock Distribution control */
|
||||
@@ -427,6 +428,9 @@ extern void mpc52xx_calibrate_decr(void);
|
||||
|
||||
extern void mpc52xx_find_bridges(void);
|
||||
|
||||
extern void mpc52xx_setup_cpu(void);
|
||||
|
||||
|
||||
|
||||
/* Matching of PSC function */
|
||||
struct mpc52xx_psc_func {
|
||||
|
Reference in New Issue
Block a user