soc/amd/phoenix: clean up global NVS
commit7fd67947a3da9c4706acaa6ac03c845d8a4c0c2c
authorFelix Held <felix-coreboot@felixheld.de>
Thu, 19 Jan 2023 17:18:27 +0000 (19 18:18 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 20 Jan 2023 17:40:57 +0000 (20 17:40 +0000)
tree7ead6f1f8f1e8a42c6bbf86024264e4d5fb8999b
parent98391baf3bef478f3739875f33c09f1c00f5892f
soc/amd/phoenix: clean up global NVS

From Cezanne on, the TMPS, TCRT and TPSV fields are unused in both the C
and ACPI code, so they can be removed. Also remove the unused fields
that were previously used for PCNT and PWRS. The LIDS field is only used
in the ACPI code, but keep if for now, since it would require a bigger
rework to remove it from the global NVS.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I5a9b0a24f57a81b98c7553517fe5f25ff63c5316
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72095
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/phoenix/acpi/globalnvs.asl
src/soc/amd/phoenix/include/soc/nvs.h