From 31ae314f0fa3c06d8dcc9d830b8844acd2299ed4 Mon Sep 17 00:00:00 2001 From: "henryc.chen" Date: Fri, 31 Jul 2015 17:10:52 +0800 Subject: mediatek/mt8173: Add mt6391 PMIC driver BUG=none TEST=emerge-oak coreboot BRANCH=none Change-Id: I2b9e1fc16183a29ba308313d347f2f0e948e96a7 Signed-off-by: Patrick Georgi Original-Commit-Id: ee56cab3b5c04838af80690c21d3aa160d71501a Original-Change-Id: I2eaa0a406c29b7c9012e3c9860967fc3f27a48a5 Original-Signed-off-by: henryc.chen Original-Reviewed-on: https://chromium-review.googlesource.com/292669 Original-Commit-Ready: Yidi Lin Original-Tested-by: Yidi Lin Original-Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/12608 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/oak/bootblock.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard') 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 +#include #include #include #include +#include #include #include @@ -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(); } -- cgit v1.2.3