blob: f616361ec6c9eb7c6754b244f98fc3eb9afc752c [file] [log] [blame]
Felix Held4a8cd722020-04-18 22:26:39 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Martin Roth5c354b92019-04-22 14:55:16 -06002
3/*
4 * NOTE: The layout of the GNVS structure below must match the layout in
Martin Rothd7e3ead2019-04-22 16:32:58 -06005 * soc/amd/picasso/include/soc/nvs.h !!!
Martin Roth5c354b92019-04-22 14:55:16 -06006 *
7 */
8
Martin Roth5c354b92019-04-22 14:55:16 -06009Field (GNVS, ByteAcc, NoLock, Preserve)
10{
11 /* Miscellaneous */
Felix Held4a5f2e92023-01-20 19:55:31 +010012 LIDS, 8, // 0x00 - LID State
13 CBMC, 32, // 0x01 - 0x04 - coreboot Memory Console
14 PM1I, 64, // 0x05 - 0x0c - System Wake Source - PM1 Index
15 GPEI, 64, // 0x0d - 0x14 - GPE Wake Source
16 TMPS, 8, // 0x15 - Temperature Sensor ID
17 TCRT, 8, // 0x16 - Critical Threshold
18 TPSV, 8, // 0x17 - Passive Threshold
Martin Roth5c354b92019-04-22 14:55:16 -060019}