mpc85xx: Add support for the MPC8536
[oweals/u-boot.git] / cpu / mpc8260 / pci.c
index 940f5c0a100f19ca12a2d7b22a72986ba7542046..82303644b2be6df407b296992f3c251f90e839eb 100644 (file)
@@ -457,7 +457,7 @@ void pci_mpc8250_init (struct pci_controller *hose)
 void ft_pci_setup(void *blob, bd_t *bd)
 {
        do_fixup_by_prop_u32(blob, "device_type", "pci", 4,
-               "clock-frequency", bd->pci_clk, 1);
+               "clock-frequency", gd->pci_clk, 1);
 }
 #endif