From 2fd1e47313aa3132be1bd8c3210a694980e6e379 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 27 Sep 2021 12:19:52 +0200 Subject: {sb,soc}/intel: Drop PRMx from GNVS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These fields are never used in the code. Drop them. Change-Id: Icd07f2d704c19126bf6df4d740c21d5a1342061b Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/57983 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/southbridge/intel/i82801gx/acpi/globalnvs.asl | 12 ++++++------ src/southbridge/intel/i82801gx/include/soc/nvs.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/southbridge/intel/i82801gx') 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) */ -- cgit v1.2.3