Files
system76-coreboot/src/soc/amd/picasso/acpi/globalnvs.asl
Felix Held f3180f07b5 soc/amd/*/globalnvs,nvs: remove deprecated & unused CBMC field from GNVS
Commit cde4f3b279 ("acpi/gnvs.c: Drop unused pointer to the cbmem
console") removed writing the coreboot memory console pointer to the
GNVS and kept the CBMC field as reserved. Since those fields aren't
needed any more and there are no dependencies on the absolute position
of the different fields in GNVS as long as both GNVS definitions on the
C and the ASL side match, remove the deprecated and unused CBMC field
from the GNVS structs.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Iadfaf5a4ec1401b027dbfb6a7c6ce74a1dcecdfa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76351
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2023-07-07 14:49:42 +00:00

18 lines
461 B
Plaintext

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* NOTE: The layout of the GNVS structure below must match the layout in
* soc/amd/picasso/include/soc/nvs.h !!!
*
*/
Field (GNVS, ByteAcc, NoLock, Preserve)
{
/* Miscellaneous */
PM1I, 64, // 0x00 - 0x07 - System Wake Source - PM1 Index
GPEI, 64, // 0x08 - 0x0f - GPE Wake Source
TMPS, 8, // 0x10 - Temperature Sensor ID
TCRT, 8, // 0x11 - Critical Threshold
TPSV, 8, // 0x12 - Passive Threshold
}