85xx: Fix compile breakage with sbc8540 and sbc8560
[platform/kernel/u-boot.git] / board / sbc8560 / sbc8560.c
index 3d4008b..7f032c8 100644 (file)
@@ -247,7 +247,7 @@ int checkboard (void)
 #else
        printf ("Board: Wind River SBC8540 Board\n");
 #endif
-       printf ("\tCPU: %s MHz\n", strmhz(buf, sysinfo.freqProcessor));
+       printf ("\tCPU: %s MHz\n", strmhz(buf, sysinfo.freqProcessor[0]));
        printf ("\tCCB: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus));
        printf ("\tDDR: %s MHz\n", strmhz(buf, sysinfo.freqSystemBus/2));
        if((CONFIG_SYS_LBC_LCRR & 0x0f) == 2 || (CONFIG_SYS_LBC_LCRR & 0x0f) == 4 \