soc/amd/stoneyridge: remove LIDS field from global NVS
commitf56b645f1fe0f70f4b8225ec5f3ee31b31db3d13
authorFelix Held <felix-coreboot@felixheld.de>
Fri, 20 Jan 2023 20:08:08 +0000 (20 21:08 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Mon, 6 Feb 2023 12:10:21 +0000 (6 12:10 +0000)
tree9adf756f39a480bcd7362a1da99989c94676395f
parent584d5e1cbabc1a8ce679597263d22a2a9b87c9f7
soc/amd/stoneyridge: remove LIDS field from global NVS

Since the LIDS field is only used in the ACPI code and not in the C code
of any mainboard using the Stoneyridge SoC, remove it form the global
NVS and add an ACPI object for this in the DSDT of the mainboards that
use it in their ACPI code. Eventually the LIDS object should probably be
moved to the EC's ACPI code, but that's out of scope for this patch.

TEST=google/liara doesn't show ACPI errors in Linux' dmesg

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I778c4189607035b4765c6cb8b2e74030dcf9069f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72182
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
src/mainboard/google/kahlee/dsdt.asl
src/soc/amd/stoneyridge/acpi/globalnvs.asl
src/soc/amd/stoneyridge/include/soc/nvs.h