summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801gx
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/southbridge/intel/i82801gx
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/southbridge/intel/i82801gx')
-rw-r--r--src/southbridge/intel/i82801gx/acpi/globalnvs.asl12
-rw-r--r--src/southbridge/intel/i82801gx/include/soc/nvs.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/southbridge/intel/i82801gx/acpi/globalnvs.asl b/src/southbridge/intel/i82801gx/acpi/globalnvs.asl
index 9abd0ecb81..d9318c3ba3 100644
--- a/src/southbridge/intel/i82801gx/acpi/globalnvs.asl
+++ b/src/southbridge/intel/i82801gx/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
P80D, 32, // 0x0b - Debug port (IO 0x80) value
LIDS, 8, // 0x0f - LID state (open = 1)
, 8, // 0x10 - Power State (AC = 1)
diff --git a/src/southbridge/intel/i82801gx/include/soc/nvs.h b/src/southbridge/intel/i82801gx/include/soc/nvs.h
index 54a293aa65..54e4832ace 100644
--- a/src/southbridge/intel/i82801gx/include/soc/nvs.h
+++ b/src/southbridge/intel/i82801gx/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 */
u32 p80d; /* 0x0b - Debug port (IO 0x80) value */
u8 lids; /* 0x0f - LID state (open = 1) */
u8 unused_was_pwrs; /* 0x10 - Power state (AC = 1) */