From 3920bc9626a4800d8ad9e63f2e92e5e1ba89bc2a Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 30 Mar 2021 01:54:45 +0200 Subject: [PATCH] soc/amd/picasso/acpi: pass correct enum to acpigen_write_CSD_package The coordtype parameter of acpigen_write_CSD_package expects a CSD_coord enum value, but HW_ALL that got passed as parameter is a PSD_coord enum value, so replace that with the correct CSD_HW_ALL enum value. TEST=Timeless build results in identical binary for Mandolin. Signed-off-by: Felix Held Found-by: Paul Menzel Change-Id: I90b19345b8dc6d386b6acfa81c6c072dcd6981ca Reviewed-on: https://review.coreboot.org/c/coreboot/+/51931 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Marshall Dawson --- src/soc/amd/picasso/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c index d629d1c6e3..4ec08e16d1 100644 --- a/src/soc/amd/picasso/acpi.c +++ b/src/soc/amd/picasso/acpi.c @@ -354,7 +354,7 @@ void generate_cpu_entries(const struct device *device) acpigen_write_CST_package(cstate_info, ARRAY_SIZE(cstate_info)); - acpigen_write_CSD_package(cpu >> 1, threads_per_core, HW_ALL, 0); + acpigen_write_CSD_package(cpu >> 1, threads_per_core, CSD_HW_ALL, 0); acpigen_pop_len(); }