blob: 251c331dd7dda5862454a9c5c3b817e3994298b2 [file] [log] [blame]
Martin Roth1a3de8e2022-10-06 15:57:21 -06001/* SPDX-License-Identifier: GPL-2.0-or-later */
2
Martin Roth1a3de8e2022-10-06 15:57:21 -06003/*
4 * NOTE: The layout of the GNVS structure below must match the layout in
Martin Roth20646cd2023-01-04 21:27:06 -07005 * soc/amd/phoenix/include/soc/nvs.h !!!
Martin Roth1a3de8e2022-10-06 15:57:21 -06006 */
7
8Field (GNVS, ByteAcc, NoLock, Preserve)
9{
10 /* Miscellaneous */
Felix Held7fd67942023-01-19 18:18:27 +010011 LIDS, 8, // 0x00 - LID State
12 CBMC, 32, // 0x01 - 0x04 - coreboot Memory Console
13 PM1I, 64, // 0x05 - 0x0c - System Wake Source - PM1 Index
14 GPEI, 64, // 0x0d - 0x14 - GPE Wake Source
Martin Roth1a3de8e2022-10-06 15:57:21 -060015}