diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-09-27 12:19:52 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-09-29 10:04:40 +0000 |
commit | 2fd1e47313aa3132be1bd8c3210a694980e6e379 (patch) | |
tree | a6932f77eee8ac657468fa2e0f962b8338ced04c /src/soc/intel/denverton_ns | |
parent | 286c771657036152302136369fb067fd98477cd5 (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/denverton_ns')
-rw-r--r-- | src/soc/intel/denverton_ns/acpi/globalnvs.asl | 12 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/include/soc/nvs.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/soc/intel/denverton_ns/acpi/globalnvs.asl b/src/soc/intel/denverton_ns/acpi/globalnvs.asl index 5419bd863e..cbed6cfd6a 100644 --- a/src/soc/intel/denverton_ns/acpi/globalnvs.asl +++ b/src/soc/intel/denverton_ns/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/soc/intel/denverton_ns/include/soc/nvs.h b/src/soc/intel/denverton_ns/include/soc/nvs.h index c236a5deb2..5fa235e84f 100644 --- a/src/soc/intel/denverton_ns/include/soc/nvs.h +++ b/src/soc/intel/denverton_ns/include/soc/nvs.h @@ -7,14 +7,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) */ |