drivers/mtd/nand_legacy: Move conditional compilation to Makefile
[platform/kernel/u-boot.git] / cpu / ppc4xx / speed.c
index 05b42fe..34bd721 100644 (file)
@@ -238,7 +238,7 @@ static u8 pll_fbdv_multi_bits[] = {
        /* values for:  101 - 200 */
        0x78, 0xf1, 0x62, 0xc5, 0x0a, 0x94, 0x28, 0xd0, 0x21, 0xc3,
        0x06, 0x8c, 0x18, 0xb0, 0x60, 0xc1, 0x02, 0x84, 0x08, 0x90,
-       0x20, 0xc0, 0x01, 0x83, 0x77, 0xff, 0x1f, 0xbf, 0x7f, 0xfe,
+       0x20, 0xc0, 0x01, 0x83, 0x07, 0x8f, 0x1f, 0xbf, 0x7f, 0xfe,
        0x7d, 0xfa, 0x75, 0xea, 0x55, 0xaa, 0x54, 0xa9, 0x53, 0xa6,
        0x4c, 0x99, 0x33, 0xe7, 0x4e, 0x9d, 0x3b, 0xf7, 0x6e, 0xdd,
        0x3a, 0xf4, 0x69, 0xd2, 0x25, 0xcb, 0x16, 0xac, 0x58, 0xb1,
@@ -754,7 +754,7 @@ ulong get_OPB_freq (void)
        return sys_info.freqOPB;
 }
 
-#elif defined(CONFIG_XILINX_ML300)
+#elif defined(CONFIG_XILINX_405)
 extern void get_sys_info (sys_info_t * sysInfo);
 extern ulong get_PCI_freq (void);
 
@@ -1126,7 +1126,7 @@ void get_sys_info (sys_info_t * sysInfo)
                m = sysInfo->pllFwdDiv * plb2xDiv * 2
                        * sysInfo->pllOpbDiv * sysInfo->pllExtBusDiv;
                break;
-       case PLL_FBK_PLL_LOCAL:
+       case PLL_FBK_PLL_LOCAL:
                break;
        default:
                printf("%s unknown m\n", __FUNCTION__);