summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2023-03-20 12:24:25 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-04-05 12:41:31 +0000
commit6d2d8ea80a6cfbc4af4ec8d804368a41d9eef6a0 (patch)
tree6aa68cd544ab14e881f3085ca48e465319265d35 /src/mainboard/google/skyrim/variants/baseboard/smihandler.c
parent9c3407b99d99f6bfbdace345c070b35eb661f66f (diff)
mb/google/skyrim: Remove unused sleep GPIO table
On Skyrim, there isn't a need for a sleep GPIO table. Remove the TODO and filler table and function to reduce unnecessary function overhead. BUG=None BRANCH=Skyrim TEST=Build Skyrim BIOS image. Change-Id: Ia9d55a5e2295bb2e2c2957c4f5207362f616022c Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73852 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jon Murphy <jpmurphy@google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/variants/baseboard/smihandler.c')
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/smihandler.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/smihandler.c b/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
index 0243747da7..ff59b2b042 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
+++ b/src/mainboard/google/skyrim/variants/baseboard/smihandler.c
@@ -11,13 +11,7 @@
void mainboard_smi_sleep(u8 slp_typ)
{
- size_t num_gpios;
- const struct soc_amd_gpio *gpios;
-
chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS, MAINBOARD_EC_S5_WAKE_EVENTS);
-
- variant_sleep_gpio_table(&gpios, &num_gpios);
- gpio_configure_pads(gpios, num_gpios);
}
int mainboard_smi_apmc(u8 apmc)