summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/trogdor/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/trogdor/romstage.c')
-rw-r--r--src/mainboard/google/trogdor/romstage.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/trogdor/romstage.c b/src/mainboard/google/trogdor/romstage.c
index 8b6f1dec8da8..e110460a1b44 100644
--- a/src/mainboard/google/trogdor/romstage.c
+++ b/src/mainboard/google/trogdor/romstage.c
@@ -5,6 +5,8 @@
#include <soc/qclib_common.h>
#include <soc/watchdog.h>
+#include "board.h"
+
static void prepare_usb(void)
{
/*
@@ -22,4 +24,10 @@ void platform_romstage_main(void)
/* QCLib: DDR init & train */
qclib_load_and_run();
+
+ /* This rail needs to be stable by the time we take the FPMCU out of
+ reset in ramstage, so already turn it on here. This needs to happen
+ at least 200ms after this pin was first driven low in the bootblock. */
+ if (CONFIG(TROGDOR_HAS_FINGERPRINT))
+ gpio_output(GPIO_EN_FP_RAILS, 1);
}