From ba0b7bf32df2dc52a4f8e6d7f6bfd7b7a19b065b Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Fri, 18 Oct 2013 15:59:38 -0700 Subject: [PATCH] puppy: remove temporary workaround in pmu chipset startup This was temporary until bug 18778 was fixed - which it was, a while ago. BUG=chrome-os-partner:23425 BRANCH=none TEST=build puppy Change-Id: I053867dcb1c3e74d0c09ac98a5c218bdca925317 Signed-off-by: Randall Spangler Reviewed-on: https://chromium-review.googlesource.com/173799 Reviewed-by: Jeremy Thorpe Reviewed-by: Vic Yang --- common/pmu_tps65090.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/common/pmu_tps65090.c b/common/pmu_tps65090.c index 240d97b1d0..70b5dbeb2c 100644 --- a/common/pmu_tps65090.c +++ b/common/pmu_tps65090.c @@ -621,20 +621,7 @@ static void pmu_chipset_startup(void) { pmu_init(); -#if defined(BOARD_puppy) - /* Enable all FETs. - * - * TODO: This is temporary code; remove when I2C passthru is working - * (crosbug.com/p/18778). - */ - { - int i; - int pgood; - - for (i = 1; i <= 7; i++) - pmu_enable_fet(i, 1, &pgood); - } -#elif defined(BOARD_pit) +#ifdef BOARD_pit /* Enable FET4 by default which allows for SD Card booting */ { int pgood;