diff options
Diffstat (limited to 'src/mainboard/google/herobrine/board.h')
-rw-r--r-- | src/mainboard/google/herobrine/board.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainboard/google/herobrine/board.h b/src/mainboard/google/herobrine/board.h index 33c8c7df51..0e4a7607b8 100644 --- a/src/mainboard/google/herobrine/board.h +++ b/src/mainboard/google/herobrine/board.h @@ -3,6 +3,7 @@ #ifndef _COREBOOT_SRC_MAINBOARD_GOOGLE_HEROBRINE_BOARD_H_ #define _COREBOOT_SRC_MAINBOARD_GOOGLE_HEROBRINE_BOARD_H_ +#include <assert.h> #include <boardid.h> #include <gpio.h> @@ -12,6 +13,17 @@ #define QCOM_SC7280_SKU2 0x1 #define QCOM_SC7280_SKU3 0x2 +/* Fingerprint-specific GPIOs. Only for fingerprint-enabled devices. */ +#if CONFIG(HEROBRINE_HAS_FINGERPRINT) +#define GPIO_FPMCU_BOOT0 GPIO(77) +#define GPIO_FP_RST_L GPIO(78) +#define GPIO_EN_FP_RAILS GPIO(42) +#else +#define GPIO_FPMCU_BOOT0 dead_code_t(gpio_t) +#define GPIO_FP_RST_L dead_code_t(gpio_t) +#define GPIO_EN_FP_RAILS dead_code_t(gpio_t) +#endif + void setup_chromeos_gpios(void); #endif /* _COREBOOT_SRC_MAINBOARD_GOOGLE_HEROBRINE_BOARD_H_ */ |