soc/amd/picasso/acpi: fix domain argument of acpigen_write_CSD_package

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I50e88ac946b9d8797571f9e3d4b325db760e423f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51932
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2021-03-30 02:04:02 +02:00
parent c81fb7ca94
commit c56350860f
1 changed files with 2 additions and 1 deletions

View File

@ -354,7 +354,8 @@ 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, CSD_HW_ALL, 0);
acpigen_write_CSD_package(cpu / threads_per_core, threads_per_core,
CSD_HW_ALL, 0);
acpigen_pop_len();
}