summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/oak/bootblock.c')
-rw-r--r--src/mainboard/google/oak/bootblock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/bootblock.c b/src/mainboard/google/oak/bootblock.c
index e82ad6ea90..54301e401a 100644
--- a/src/mainboard/google/oak/bootblock.c
+++ b/src/mainboard/google/oak/bootblock.c
@@ -18,9 +18,11 @@
*/
#include <arch/io.h>
+#include <boardid.h>
#include <bootblock_common.h>
#include <delay.h>
#include <soc/gpio.h>
+#include <soc/mt6391.h>
#include <soc/pericfg.h>
#include <soc/pinmux.h>
@@ -49,4 +51,7 @@ void bootblock_mainboard_init(void)
i2c_set_gpio_pinmux();
setup_chromeos_gpios();
+
+ if (board_id() < 4)
+ mt6391_enable_reset_when_ap_resets();
}