mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 22:41:44 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user