diff options
author | Meera Ravindranath <meera.ravindranath@intel.com> | 2021-08-27 17:42:04 +0530 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2021-10-04 19:51:07 +0000 |
commit | 1399442289607acc5203fb12df64e9081b3c3aa4 (patch) | |
tree | aa99e015c63979a8572476a5bbaac31feec4cfea /src/soc/intel/alderlake | |
parent | a7c333362ca0cc6f2882a3037e9ecf74d0ecbbdb (diff) |
soc/intel/adl: Drop SGPM, RGPM and EGPM methods
These methods can now be dropped as Dynamic GPIO PM is enabled.
Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com>
Change-Id: I0c7b67b5414d8c80775ab7678ce7b12181af7882
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel/alderlake')
-rw-r--r-- | src/soc/intel/alderlake/acpi/gpio.asl | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/soc/intel/alderlake/acpi/gpio.asl b/src/soc/intel/alderlake/acpi/gpio.asl index 376afaba1e..6a1ba0074e 100644 --- a/src/soc/intel/alderlake/acpi/gpio.asl +++ b/src/soc/intel/alderlake/acpi/gpio.asl @@ -137,44 +137,3 @@ Method (GPID, 1, Serialized) Return (Local0) } - -/* GPIO Power Management bits */ -Name(GPMB, Package(TOTAL_GPIO_COMM) {0, 0, 0, 0, 0, 0}) - -/* - * Save GPIO Power Management bits - */ -Method (SGPM, 0, Serialized) -{ - For (Local0 = 0, Local0 < TOTAL_GPIO_COMM, Local0++) - { - Local1 = GPID (Local0) - GPMB[Local0] = PCRR (Local1, GPIO_MISCCFG) - } -} - -/* - * Restore GPIO Power Management bits - */ -Method (RGPM, 0, Serialized) -{ - For (Local0 = 0, Local0 < TOTAL_GPIO_COMM, Local0++) - { - CGPM (Local0, DerefOf(GPMB[Local0])) - } -} - -/* - * Save current setting of GPIO Power Management bits and - * enable all Power Management bits for all communities - */ -Method (EGPM, 0, Serialized) -{ - /* Save current setting and will restore it when resuming */ - SGPM () - /* Enable PM bits */ - For (Local0 = 0, Local0 < TOTAL_GPIO_COMM, Local0++) - { - CGPM (Local0, MISCCFG_GPIO_PM_CONFIG_BITS) - } -} |