summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-09-27 12:19:52 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-09-29 10:04:40 +0000
commit2fd1e47313aa3132be1bd8c3210a694980e6e379 (patch)
treea6932f77eee8ac657468fa2e0f962b8338ced04c /src/soc/intel/broadwell
parent286c771657036152302136369fb067fd98477cd5 (diff)
{sb,soc}/intel: Drop PRMx from GNVS
These fields are never used in the code. Drop them. Change-Id: Icd07f2d704c19126bf6df4d740c21d5a1342061b Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/intel/broadwell')
-rw-r--r--src/soc/intel/broadwell/include/soc/nvs.h12
-rw-r--r--src/soc/intel/broadwell/pch/acpi/globalnvs.asl12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/soc/intel/broadwell/include/soc/nvs.h b/src/soc/intel/broadwell/include/soc/nvs.h
index 5020c45047..c57a698d6d 100644
--- a/src/soc/intel/broadwell/include/soc/nvs.h
+++ b/src/soc/intel/broadwell/include/soc/nvs.h
@@ -9,14 +9,14 @@ struct __packed global_nvs {
/* Miscellaneous */
u16 unused_was_osys; /* 0x00 - Operating System */
u8 smif; /* 0x02 - SMI function call ("TRAP") */
- u8 prm0; /* 0x03 - SMI function call parameter */
- u8 prm1; /* 0x04 - SMI function call parameter */
+ u8 unused_was_prm0; /* 0x03 - SMI function call parameter */
+ u8 unused_was_prm1; /* 0x04 - SMI function call parameter */
u8 scif; /* 0x05 - SCI function call (via _L00) */
- u8 prm2; /* 0x06 - SCI function call parameter */
- u8 prm3; /* 0x07 - SCI function call parameter */
+ u8 unused_was_prm2; /* 0x06 - SCI function call parameter */
+ u8 unused_was_prm3; /* 0x07 - SCI function call parameter */
u8 unused_was_lckf; /* 0x08 - Global Lock function for EC */
- u8 prm4; /* 0x09 - Lock function parameter */
- u8 prm5; /* 0x0a - Lock function parameter */
+ u8 unused_was_prm4; /* 0x09 - Lock function parameter */
+ u8 unused_was_prm5; /* 0x0a - Lock function parameter */
u8 unused_was_pcnt; /* 0x0b - Processor Count */
u8 ppcm; /* 0x0c - Max PPC State */
u8 tmps; /* 0x0d - Temperature Sensor ID */
diff --git a/src/soc/intel/broadwell/pch/acpi/globalnvs.asl b/src/soc/intel/broadwell/pch/acpi/globalnvs.asl
index ae5cfb539c..ffca182ae5 100644
--- a/src/soc/intel/broadwell/pch/acpi/globalnvs.asl
+++ b/src/soc/intel/broadwell/pch/acpi/globalnvs.asl
@@ -7,14 +7,14 @@ Field (GNVS, ByteAcc, NoLock, Preserve)
/* Miscellaneous */
, 16, // 0x00 - Operating System
SMIF, 8, // 0x02 - SMI function
- PRM0, 8, // 0x03 - SMI function parameter
- PRM1, 8, // 0x04 - SMI function parameter
+ , 8, // 0x03 - SMI function parameter
+ , 8, // 0x04 - SMI function parameter
SCIF, 8, // 0x05 - SCI function
- PRM2, 8, // 0x06 - SCI function parameter
- PRM3, 8, // 0x07 - SCI function parameter
+ , 8, // 0x06 - SCI function parameter
+ , 8, // 0x07 - SCI function parameter
, 8, // 0x08 - Global Lock function for EC
- PRM4, 8, // 0x09 - Lock function parameter
- PRM5, 8, // 0x0a - Lock function parameter
+ , 8, // 0x09 - Lock function parameter
+ , 8, // 0x0a - Lock function parameter
, 8, // 0x0b - Processor Count
PPCM, 8, // 0x0c - Max PPC State
TMPS, 8, // 0x0d - Temperature Sensor ID