Fix setting PROCHOT level

BUG=chrome-os-partner:10205
TEST=boot system; still works

Change-Id: I05808068954af40ef8d259e5dc5c94324e8e256d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/24621
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Randall Spangler
2012-06-06 09:39:07 -07:00
committed by Gerrit
parent 3a10cd37bb
commit d053605d94

View File

@@ -518,7 +518,7 @@ void x86_power_task(void)
/* Throttle CPU if necessary. This should only be
* asserted when +VCCP is powered (it is by now). */
gpio_set_flags(GPIO_CPU_PROCHOT, throttle_cpu);
gpio_set_level(GPIO_CPU_PROCHOT, throttle_cpu);
/* Set PCH_PWROK */
gpio_set_level(GPIO_PCH_PWROK, 1);
@@ -546,7 +546,7 @@ void x86_power_task(void)
/* Deassert prochot since CPU is off and we're about
* to drop +VCCP. */
gpio_set_flags(GPIO_CPU_PROCHOT, 0);
gpio_set_level(GPIO_CPU_PROCHOT, 0);
/* Turn off power rails */
gpio_set_level(GPIO_ENABLE_VS, 0);