summaryrefslogtreecommitdiff
path: root/cpu/74xx_7xx/cpu_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/74xx_7xx/cpu_init.c')
-rw-r--r--cpu/74xx_7xx/cpu_init.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpu/74xx_7xx/cpu_init.c b/cpu/74xx_7xx/cpu_init.c
index 2843e26..93f180f 100644
--- a/cpu/74xx_7xx/cpu_init.c
+++ b/cpu/74xx_7xx/cpu_init.c
@@ -39,9 +39,16 @@
void
cpu_init_f (void)
{
- if (get_cpu_type() == CPU_7450) {
+ switch (get_cpu_type()) {
+ case CPU_7450:
+ case CPU_7455:
+ case CPU_7457:
/* enable the timebase bit in HID0 */
set_hid0(get_hid0() | 0x4000000);
+ break;
+ default:
+ /* do nothing */
+ break;
}
}