From 47bfcb2c61e3b7345578dd7b6babade49d9852eb Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Mon, 14 May 2012 14:12:35 -0700 Subject: [PATCH] Fan power is on +5VALW, not VS. This has been true since proto1, and will continue to be so on EVT+. Signed-off-by: Randall Spangler BUG=none TEST=faninfo (on the one board modified for EC +5VALW control, you can also toggle +5VALW and see that powered reports the correct state). Change-Id: Iaabfa3b84eb7eba46cf9972ec402153770f49fd7 --- chip/lm4/pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/lm4/pwm.c b/chip/lm4/pwm.c index e27dbac831..a5b999c8c2 100644 --- a/chip/lm4/pwm.c +++ b/chip/lm4/pwm.c @@ -171,7 +171,7 @@ static int command_fan_info(int argc, char **argv) ccprintf(" enabled: %s\n", LM4_FAN_FANCTL & (1 << FAN_CH_CPU) ? "yes" : "no"); ccprintf(" powered: %s\n", - gpio_get_level(GPIO_ENABLE_VS) ? "yes" : "no"); + gpio_get_level(GPIO_PGOOD_5VALW) ? "yes" : "no"); return EC_SUCCESS; }