mediatek/mt8173: Add mt6391 PMIC driver
BUG=none TEST=emerge-oak coreboot BRANCH=none Change-Id: I2b9e1fc16183a29ba308313d347f2f0e948e96a7 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: ee56cab3b5c04838af80690c21d3aa160d71501a Original-Change-Id: I2eaa0a406c29b7c9012e3c9860967fc3f27a48a5 Original-Signed-off-by: henryc.chen <henryc.chen@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/292669 Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/12608 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
a91402fc1e
commit
31ae314f0f
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user