summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/rex/variants/rex0/gpio.c
diff options
context:
space:
mode:
authorEran Mitrani <mitrani@google.com>2022-08-23 14:42:24 -0700
committerSubrata Banik <subratabanik@google.com>2022-11-09 03:36:14 +0000
commitb4d71e1ab2010083f61e218a70abc0ec5803d08b (patch)
treedce20a729e84db50f17d0ae7de53ec2fb9ba7069 /src/mainboard/google/rex/variants/rex0/gpio.c
parent425413c35f443b422feffaee0d1ef8a091998bb6 (diff)
downloadcoreboot-b4d71e1ab2010083f61e218a70abc0ec5803d08b.tar.gz
coreboot-b4d71e1ab2010083f61e218a70abc0ec5803d08b.tar.bz2
coreboot-b4d71e1ab2010083f61e218a70abc0ec5803d08b.zip
mb/google/rex: Add fingerprint SPI
Add Fingerprint SPI, and power-off FPMCU during romstage. For reference see CL:66915 for a similar change to Brya's power sequence SHA: 2b523ce6316e5c5ec86fe812d739fe48ca81d83d ("Invoke power cycle of FPMCU on startup") TEST=Tested on Rex - setup and logged in using fingerprint Change-Id: I4e6be24e72a8232ae2c958a01cf8ea9a272d7365 Signed-off-by: Eran Mitrani <mitrani@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66992 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/rex/variants/rex0/gpio.c')
-rw-r--r--src/mainboard/google/rex/variants/rex0/gpio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/gpio.c b/src/mainboard/google/rex/variants/rex0/gpio.c
index 541402c3726d..c90c0c11f9f0 100644
--- a/src/mainboard/google/rex/variants/rex0/gpio.c
+++ b/src/mainboard/google/rex/variants/rex0/gpio.c
@@ -432,8 +432,12 @@ static const struct pad_config default_early_gpio_table[] = {
};
static const struct pad_config romstage_gpio_table_id0[] = {
- /* A20 : [] ==> SSD_PERST_L */
+ /* GPP_B11 : [] ==> EN_FP_PWR */
+ PAD_CFG_GPO(GPP_B11, 0, DEEP),
+ /* A20 : [] ==> SSD_PERST_L */
PAD_CFG_GPO(GPP_A20, 0, DEEP),
+ /* GPP_C23 : [] ==> FP_RST_ODL */
+ PAD_CFG_GPO(GPP_C23, 0, DEEP),
/* GPP_E07 : [] ==> WWAN_FCPO_L */
PAD_CFG_GPO(GPP_E07, 1, DEEP),
};