Merge branch 'next'
[platform/kernel/u-boot.git] / arch / powerpc / cpu / mpc85xx / cpu.c
index cc1d02d..ba9736e 100644 (file)
@@ -143,8 +143,10 @@ int checkcpu (void)
        printf("Core:  ");
        switch(ver) {
        case PVR_VER_E500_V1:
+               puts("e500v1");
+               break;
        case PVR_VER_E500_V2:
-               puts("e500");
+               puts("e500v2");
                break;
        case PVR_VER_E500MC:
                puts("e500mc");
@@ -342,6 +344,7 @@ __weak unsigned long get_tbclk(void)
 }
 
 
+#ifndef CONFIG_WDT
 #if defined(CONFIG_WATCHDOG)
 #define WATCHDOG_MASK (TCR_WP(63) | TCR_WRC(3) | TCR_WIE)
 void
@@ -370,6 +373,7 @@ watchdog_reset(void)
                enable_interrupts();
 }
 #endif /* CONFIG_WATCHDOG */
+#endif
 
 /*
  * Initializes on-chip MMC controllers.