cpu/intel: Replace bsp_init_and_start_aps()

Change-Id: I7176efdd1000789a093a1b4e243b4b150e6bb06f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34864
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki
2019-08-13 16:44:04 +03:00
parent 826f35421e
commit b3267e002e
14 changed files with 18 additions and 54 deletions

View File

@@ -240,17 +240,11 @@ static struct device_operations pci_domain_ops = {
.acpi_name = northbridge_acpi_name,
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
.scan_bus = 0,
};

View File

@@ -525,16 +525,11 @@ static const struct pci_driver mc_driver_hsw __pci_driver = {
.devices = mc_pci_device_ids,
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
.scan_bus = 0,
};

View File

@@ -215,16 +215,11 @@ static const struct pci_driver mc_driver __pci_driver = {
.devices = pci_device_ids,
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
.scan_bus = 0,
};

View File

@@ -297,16 +297,11 @@ static const struct pci_driver mc_driver_44 __pci_driver = {
.device = 0x0044, /* Nehalem */
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
.scan_bus = 0,
};

View File

@@ -195,19 +195,13 @@ static struct device_operations pci_domain_ops = {
.acpi_name = northbridge_acpi_name,
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
};
static void enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */

View File

@@ -493,16 +493,11 @@ static const struct pci_driver mc_driver_158 __pci_driver = {
.device = 0x0158, /* Ivy bridge */
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
.scan_bus = 0,
};

View File

@@ -191,20 +191,13 @@ static struct device_operations pci_domain_ops = {
.acpi_name = northbridge_acpi_name,
};
static void cpu_bus_init(struct device *dev)
{
bsp_init_and_start_aps(dev->link_list);
}
static struct device_operations cpu_bus_ops = {
.read_resources = DEVICE_NOOP,
.set_resources = DEVICE_NOOP,
.enable_resources = DEVICE_NOOP,
.init = cpu_bus_init,
.init = mp_cpu_bus_init,
};
static void enable_dev(struct device *dev)
{
/* Set the operations if it is a special bus type */