mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
reset power i2c bus
fixes warmboot fail
This commit is contained in:
parent
ee914ba760
commit
9bb8142c59
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,8 @@ static const struct pad_config padcfgs[] = {
|
|||
|
||||
void bootblock_mainboard_init(void)
|
||||
{
|
||||
struct tegra_i2c_bus_info *info = &tegra_i2c_info[I2CPWR_BUS];
|
||||
|
||||
set_clock_sources();
|
||||
|
||||
/* Set up the pads required to load romstage. */
|
||||
|
@ -87,6 +89,7 @@ void bootblock_mainboard_init(void)
|
|||
soc_configure_funits(funits, ARRAY_SIZE(funits));
|
||||
|
||||
/* PMIC */
|
||||
info->reset_func(info->reset_bit);
|
||||
i2c_init(I2CPWR_BUS);
|
||||
pmic_init(I2CPWR_BUS);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue