aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2021-12-08 11:32:44 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-12-09 23:29:06 +0000
commitc591d9c7abc5a401d3d5ea5ee916870cf2e12a94 (patch)
tree9961dec0bee6abaa122fcb252703bae8c40fc516 /src
parent642c8d4c08637e1b81a3ab24e985b7a85123eae6 (diff)
mb/google/guybrush/var/nipperkin: Configure Smart Card in normal mode
As per the schematics, smart card is expected to operate in normal mode by default. So configure the SOC_SC_PWRSV gpio accordingly. BUG=b:202992077 TEST=Build and boot to OS in Nipperkin board version 2. Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Change-Id: I8e12600ad45734b144a30c868f0e4f323aa056f6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59984 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/gpio.c b/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
index 887be835dc..df55e5227e 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
+++ b/src/mainboard/google/guybrush/variants/nipperkin/gpio.c
@@ -36,6 +36,8 @@ static const struct soc_amd_gpio bid2_override_gpio_table[] = {
PAD_NC(GPIO_17),
/* LCD_PRIVACY_PCH */
PAD_GPO(GPIO_18, HIGH),
+ /* SOC_SC_PWRSV */
+ PAD_GPO(GPIO_31, HIGH),
};
static const struct soc_amd_gpio override_early_gpio_table[] = {