diff options
author | Doug Anderson <dianders@chromium.org> | 2013-08-16 13:19:23 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-16 20:41:08 -0700 |
commit | 0ece0dc9556f065f89e67af72847579d1b4ce3cd (patch) | |
tree | 3968041ca23ae486fd7cb4403f9f396f4aa115bd /common | |
parent | e1f20537e52ae2f0725c588ff0caeab5159394a0 (diff) | |
download | chrome-ec-0ece0dc9556f065f89e67af72847579d1b4ce3cd.tar.gz |
pit: Only enable FET4 by default at cold reset
Now that U-Boot and kernel can properly talk to the EC in pit, there's
no reason to hack all the FETs on. We only need to turn on FET4 which
enables SD card booting.
We'll leave the old "all fets on" hack there for "puppy", though.
Apparently that still needs it?
BRANCH=pit
BUG=chrome-os-partner:21975
TEST=Boot up and see LCD turn on.
TEST=Cold reset while holding recovery and can boot from SD card.
Change-Id: Iae96375ac7bd1a9eed8243367332cf003b62c48d
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/66127
Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/pmu_tps65090.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/pmu_tps65090.c b/common/pmu_tps65090.c index c797919da2..240d97b1d0 100644 --- a/common/pmu_tps65090.c +++ b/common/pmu_tps65090.c @@ -621,7 +621,7 @@ static void pmu_chipset_startup(void) { pmu_init(); -#if defined(BOARD_pit) || defined(BOARD_puppy) +#if defined(BOARD_puppy) /* Enable all FETs. * * TODO: This is temporary code; remove when I2C passthru is working @@ -634,6 +634,12 @@ static void pmu_chipset_startup(void) for (i = 1; i <= 7; i++) pmu_enable_fet(i, 1, &pgood); } +#elif defined(BOARD_pit) + /* Enable FET4 by default which allows for SD Card booting */ + { + int pgood; + pmu_enable_fet(4, 1, &pgood); + } #endif } DECLARE_HOOK(HOOK_CHIPSET_STARTUP, pmu_chipset_startup, HOOK_PRIO_DEFAULT); |