Felix Held | 4a8cd72 | 2020-04-18 22:26:39 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 2 | |
| 3 | /* |
| 4 | * NOTE: The layout of the GNVS structure below must match the layout in |
Martin Roth | d7e3ead | 2019-04-22 16:32:58 -0600 | [diff] [blame] | 5 | * soc/amd/picasso/include/soc/nvs.h !!! |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 6 | * |
| 7 | */ |
| 8 | |
Martin Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 9 | Field (GNVS, ByteAcc, NoLock, Preserve) |
| 10 | { |
| 11 | /* Miscellaneous */ |
Felix Held | 4a5f2e9 | 2023-01-20 19:55:31 +0100 | [diff] [blame^] | 12 | 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 Roth | 5c354b9 | 2019-04-22 14:55:16 -0600 | [diff] [blame] | 19 | } |