soc/intel/alderlake/acpi.c: Don't look up coreboot CPU index
commitaab91213b2189472cc3f0e6bc11bf60e76902771
authorArthur Heymans <arthur@aheymans.xyz>
Sat, 12 Nov 2022 18:10:43 +0000 (12 19:10 +0100)
committerArthur Heymans <arthur@aheymans.xyz>
Tue, 29 Nov 2022 19:58:09 +0000 (29 19:58 +0000)
tree7586d1f137d4a929948775659515f0d68be7a418
parent39f5042d9e67439a9d486248d4578c4e3dca6277
soc/intel/alderlake/acpi.c: Don't look up coreboot CPU index

The coreboot CPU index for a lapic is arbitrary: it depends on which
CPU obtains a spinlock first. Simply using an increasing index will
result in consistent ACPI tables across each boot.

Change-Id: Iaaaef213b32b33e3ec9f4874d576896c2335211c
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69510
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/alderlake/acpi.c