Merge with http://opensource.freescale.com/pub/scm/u-boot-7448hpc2.git
[oweals/u-boot.git] / cpu / 74xx_7xx / cpu_init.c
index 2843e2671a03b86e8ccdbf8784578a2cd25d3b87..1dd1b2cd8426017b92aa47e2e08dd983f77f1ee7 100644 (file)
 void
 cpu_init_f (void)
 {
-       if (get_cpu_type() == CPU_7450) {
+       switch (get_cpu_type()) {
+       case CPU_7450:
+       case CPU_7455:
+       case CPU_7457:
+       case CPU_7447A:
+       case CPU_7448:
                /* enable the timebase bit in HID0 */
                set_hid0(get_hid0() | 0x4000000);
+               break;
+       default:
+               /* do nothing */
+               break;
        }
 }