summaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/asurada/bootblock.c')
-rw-r--r--src/mainboard/google/asurada/bootblock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/bootblock.c b/src/mainboard/google/asurada/bootblock.c
index cce14381f6..04e8898d85 100644
--- a/src/mainboard/google/asurada/bootblock.c
+++ b/src/mainboard/google/asurada/bootblock.c
@@ -3,8 +3,12 @@
#include <bootblock_common.h>
#include <soc/spi.h>
+#include "gpio.h"
+
void bootblock_mainboard_init(void)
{
mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, SPI_PAD0_MASK, 1 * MHz, 0);
mtk_spi_init(CONFIG_DRIVER_TPM_SPI_BUS, SPI_PAD0_MASK, 1 * MHz, 0);
+ setup_chromeos_gpios();
+ gpio_eint_configure(GPIO_H1_AP_INT, IRQ_TYPE_EDGE_RISING);
}