From 477647cef59b5da8055f5fd9b7d9990b2cfa59ce Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 27 Sep 2021 12:26:07 +0200 Subject: {sb,soc}/intel: Drop unused globalnvs.asl methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These methods are never used in the code. Drop them. Change-Id: If5568b494f821d2647ada5ae845bcd015708520e Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/57984 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/southbridge/intel/bd82x6x/acpi/globalnvs.asl | 51 ---------------------- src/southbridge/intel/lynxpoint/acpi/globalnvs.asl | 40 ----------------- 2 files changed, 91 deletions(-) (limited to 'src/southbridge') diff --git a/src/southbridge/intel/bd82x6x/acpi/globalnvs.asl b/src/southbridge/intel/bd82x6x/acpi/globalnvs.asl index 74bffe2bb7..8c9813e091 100644 --- a/src/southbridge/intel/bd82x6x/acpi/globalnvs.asl +++ b/src/southbridge/intel/bd82x6x/acpi/globalnvs.asl @@ -106,57 +106,6 @@ Field (GNVS, ByteAcc, NoLock, Preserve) CBMC, 32, } -/* Set flag to enable USB charging in S3 */ -Method (S3UE) -{ - \S3U0 = 1 - \S3U1 = 1 -} - -/* Set flag to disable USB charging in S3 */ -Method (S3UD) -{ - \S3U0 = 0 - \S3U1 = 0 -} - -/* Set flag to enable USB charging in S5 */ -Method (S5UE) -{ - \S5U0 = 1 - \S5U1 = 1 -} - -/* Set flag to disable USB charging in S5 */ -Method (S5UD) -{ - \S5U0 = 0 - \S5U1 = 0 -} - -/* Set flag to enable 3G module in S3 */ -Method (S3GE) -{ - \S33G = 1 -} - -/* Set flag to disable 3G module in S3 */ -Method (S3GD) -{ - \S33G = 0 -} - -/* Set XHCI Mode enable */ -Method (XHCE) -{ - \XHCI = 1 -} - -/* Set XHCI Mode disable */ -Method (XHCD) -{ - \XHCI = 0 -} External (\_TZ.SKIN) Method (TZUP) diff --git a/src/southbridge/intel/lynxpoint/acpi/globalnvs.asl b/src/southbridge/intel/lynxpoint/acpi/globalnvs.asl index 49e13cb835..754b161af5 100644 --- a/src/southbridge/intel/lynxpoint/acpi/globalnvs.asl +++ b/src/southbridge/intel/lynxpoint/acpi/globalnvs.asl @@ -96,46 +96,6 @@ Field (GNVS, ByteAcc, NoLock, Preserve) GPEI, 32, // GPE Wake Source } -/* Set flag to enable USB charging in S3 */ -Method (S3UE) -{ - \S3U0 = 1 - \S3U1 = 1 -} - -/* Set flag to disable USB charging in S3 */ -Method (S3UD) -{ - \S3U0 = 0 - \S3U1 = 0 -} - -/* Set flag to enable USB charging in S5 */ -Method (S5UE) -{ - \S5U0 = 1 - \S5U1 = 1 -} - -/* Set flag to disable USB charging in S5 */ -Method (S5UD) -{ - \S5U0 = 0 - \S5U1 = 0 -} - -/* Set flag to enable 3G module in S3 */ -Method (S3GE) -{ - \S33G = 1 -} - -/* Set flag to disable 3G module in S3 */ -Method (S3GD) -{ - \S33G = 0 -} - External (\_TZ.SKIN) Method (TZUP) -- cgit v1.2.3