cpu: Add MPC83xx CPU driver
Add a CPU driver for the MPC83xx architecture. Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#ifndef CONFIG_CPU_MPC83XX
|
||||
int checkcpu(void)
|
||||
{
|
||||
volatile immap_t *immr;
|
||||
@@ -114,6 +115,7 @@ int checkcpu(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYSRESET
|
||||
int
|
||||
|
||||
@@ -464,6 +464,7 @@ static int print_83xx_arb_event(int force)
|
||||
}
|
||||
#endif /* CONFIG_DISPLAY_AER_xxxx */
|
||||
|
||||
#ifndef CONFIG_CPU_MPC83XX
|
||||
/*
|
||||
* Figure out the cause of the reset
|
||||
*/
|
||||
@@ -505,3 +506,4 @@ int prt_83xx_rsr(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1325,7 +1325,9 @@ void ll_puts(const char *);
|
||||
/* In misc.c */
|
||||
void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
|
||||
|
||||
#ifndef CONFIG_CPU_MPC83XX
|
||||
int prt_83xx_rsr(void);
|
||||
#endif
|
||||
|
||||
#endif /* ndef ASSEMBLY*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user