summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kukui/bootblock.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/bootblock.c b/src/mainboard/google/kukui/bootblock.c
index 79f20a3a58..d8b5c5a59d 100644
--- a/src/mainboard/google/kukui/bootblock.c
+++ b/src/mainboard/google/kukui/bootblock.c
@@ -14,9 +14,16 @@
*/
#include <bootblock_common.h>
+#include <gpio.h>
+#include <soc/gpio.h>
#include <soc/spi.h>
+#define BOOTBLOCK_EN_L (GPIO(KPROW0))
+
void bootblock_mainboard_init(void)
{
+ /* Turn on real eMMC. */
+ gpio_output(BOOTBLOCK_EN_L, 1);
+
mtk_spi_init(CONFIG_BOOT_DEVICE_SPI_FLASH_BUS, SPI_PAD0_MASK, 26 * MHz);
}