x86: ivybridge: Move LPC init into the LPC probe() method
[oweals/u-boot.git] / arch / x86 / cpu / ivybridge / bd82x6x.c
index 9e7e30aa11aba9ca715b104f00495c5ed54acc88..5cb41521e15a5230044e17f02cafb168f233f56d 100644 (file)
 static int bd82x6x_probe(struct udevice *dev)
 {
        const void *blob = gd->fdt_blob;
-       struct pci_controller *hose;
        int gma_node;
        int ret;
 
        if (!(gd->flags & GD_FLG_RELOC))
                return 0;
 
-       hose = pci_bus_to_hose(0);
-       lpc_init_extra(hose, PCH_LPC_DEV);
-
        /* Cause the SATA device to do its init */
        uclass_first_device(UCLASS_DISK, &dev);