soc/amd: Use mp_cpu_bus_init()

Change-Id: Ia4508a9a087e3996ef7667280f8e2788421e5700
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41952
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Kyösti Mälkki
2020-05-31 09:21:07 +03:00
committed by Felix Held
parent 0ef6562656
commit 79e12abb1b
6 changed files with 6 additions and 12 deletions

View File

@@ -93,10 +93,10 @@ static const struct mp_ops mp_ops = {
.post_mp_init = enable_smi_generation,
};
void stoney_init_cpus(struct device *dev)
void mp_init_cpus(struct bus *cpu_bus)
{
/* Clear for take-off */
if (mp_init_with_smm(dev->link_list, &mp_ops) < 0)
if (mp_init_with_smm(cpu_bus, &mp_ops) < 0)
printk(BIOS_ERR, "MP initialization failure.\n");
/* The flash is now no longer cacheable. Reset to WP for performance. */