diff options
Diffstat (limited to 'src/mainboard/google/oak')
-rw-r--r-- | src/mainboard/google/oak/bootblock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/bootblock.c b/src/mainboard/google/oak/bootblock.c index 023c90ed24..3d7855149f 100644 --- a/src/mainboard/google/oak/bootblock.c +++ b/src/mainboard/google/oak/bootblock.c @@ -21,6 +21,7 @@ #include <soc/mt6391.h> #include <soc/pericfg.h> #include <soc/pinmux.h> +#include <soc/spi.h> #include "gpio.h" @@ -46,6 +47,8 @@ void bootblock_mainboard_init(void) /* set i2c related gpio */ i2c_set_gpio_pinmux(); + mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, SPI_PAD1_MASK, 6*MHz); + setup_chromeos_gpios(); if (board_id() < 4) |