diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-13 16:44:04 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-15 04:59:12 +0000 |
commit | b3267e002e798e90ca09b11e42ea8949dccde2e7 (patch) | |
tree | 853f4f80e6d993b9a29c55361782e23667ce8698 /src/include/device | |
parent | 826f35421e190d3358a56deba8b582d18c264e8b (diff) | |
download | coreboot-b3267e002e798e90ca09b11e42ea8949dccde2e7.tar.xz |
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>
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 8e1e62aa7c..ebf8314096 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -220,6 +220,12 @@ void set_cpu_topology(struct device *cpu, unsigned int node, #define intel_cpu_topology(cpu, package, core, thread) \ set_cpu_topology(cpu, 0, package, core, thread) +void mp_init_cpus(DEVTREE_CONST struct bus *cpu_bus); +static inline void mp_cpu_bus_init(struct device *dev) +{ + mp_init_cpus(dev->link_list); +} + /* Debug functions */ void print_resource_tree(const struct device *root, int debug_level, const char *msg); |