Patrick Georgi | ac95903 | 2020-05-05 22:49:26 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Lance Zhao | 1bd0c0c | 2016-04-19 18:04:21 -0700 | [diff] [blame] | 2 | |
| 3 | /* |
| 4 | * NOTE: The layout of the GNVS structure below must match the layout in |
| 5 | * soc/intel/apollolake/include/soc/nvs.h !!! |
| 6 | * |
| 7 | */ |
| 8 | |
Lance Zhao | 1bd0c0c | 2016-04-19 18:04:21 -0700 | [diff] [blame] | 9 | Field (GNVS, ByteAcc, NoLock, Preserve) |
| 10 | { |
Shaunak Saha | d6463dd | 2016-05-25 11:34:43 -0700 | [diff] [blame] | 11 | /* Miscellaneous */ |
Kyösti Mälkki | c196246 | 2020-12-29 05:12:56 +0200 | [diff] [blame] | 12 | , 8, // 0x00 - Processor Count |
Furquan Shaikh | 1f40ae2 | 2016-06-14 09:35:04 -0700 | [diff] [blame] | 13 | PPCM, 8, // 0x01 - Max PPC State |
| 14 | LIDS, 8, // 0x02 - LID State |
Kyösti Mälkki | d6ccbb9 | 2021-01-15 13:46:11 +0200 | [diff] [blame] | 15 | , 8, // 0x03 - AC Power State |
Furquan Shaikh | 1f40ae2 | 2016-06-14 09:35:04 -0700 | [diff] [blame] | 16 | DPTE, 8, // 0x04 - Enable DPTF |
Arthur Heymans | cde4f3b | 2022-05-12 23:07:52 +0200 | [diff] [blame^] | 17 | , 32, // 0x05 - 0x08 - coreboot Memory Console |
Hannah Williams | 8ecd6f8 | 2016-06-08 17:39:37 -0700 | [diff] [blame] | 18 | PM1I, 64, // 0x09 - 0x10 - System Wake Source - PM1 Index |
| 19 | GPEI, 64, // 0x11 - 0x18 - GPE Wake Source |
Saurabh Satija | 3d0e287 | 2016-03-31 15:41:30 -0700 | [diff] [blame] | 20 | NHLA, 64, // 0x19 - 0x20 - NHLT Address |
| 21 | NHLL, 32, // 0x21 - 0x24 - NHLT Length |
Vaibhav Shankar | ef8deaf | 2016-08-23 17:56:17 -0700 | [diff] [blame] | 22 | PRT0, 32, // 0x25 - 0x28 - PERST_0 Address |
Venkateswarlu Vinjamuri | 99ce8a9 | 2017-03-22 18:24:52 -0700 | [diff] [blame] | 23 | SCDP, 8, // 0x29 - SD_CD GPIO portid |
| 24 | SCDO, 8, // 0x2A - GPIO pad offset relative to the community |
Furquan Shaikh | ea4ece6 | 2017-08-05 11:12:44 -0700 | [diff] [blame] | 25 | UIOR, 8, // 0x2B - UART debug controller init on S3 resume |
Lance Zhao | 1bd0c0c | 2016-04-19 18:04:21 -0700 | [diff] [blame] | 26 | } |