summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/kukui/bootblock.c')
-rw-r--r--src/mainboard/google/kukui/bootblock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/bootblock.c b/src/mainboard/google/kukui/bootblock.c
index 9d6c38ba64..9a7e71c292 100644
--- a/src/mainboard/google/kukui/bootblock.c
+++ b/src/mainboard/google/kukui/bootblock.c
@@ -15,9 +15,12 @@
#include <bootblock_common.h>
#include <soc/spi.h>
+#include <soc/gpio.h>
void bootblock_mainboard_init(void)
{
mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, SPI_PAD0_MASK, 6 * MHz);
mtk_spi_init(CONFIG_BOOT_DEVICE_SPI_FLASH_BUS, SPI_PAD0_MASK, 26 * MHz);
+ gpio_set_spi_driving(CONFIG_BOOT_DEVICE_SPI_FLASH_BUS, SPI_PAD0_MASK,
+ 10);
}