diff options
author | Chris Zhong <zyw@rock-chips.com> | 2014-09-11 11:07:53 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-09-13 02:19:22 +0000 |
commit | 05518c0dbb2306111020a35985386a71abe609a8 (patch) | |
tree | 6620f6c8b884d930b26b96abcadc9ead0ee4ce9b /power | |
parent | 0ec258f930ddabb2afb7495d9cd8c6589c5e4ad6 (diff) | |
download | chrome-ec-05518c0dbb2306111020a35985386a71abe609a8.tar.gz |
Veyron: Fix leakage power before AP running
EC needs to ensure EC_INT & SPI_CS are in input state or output low, Before AP on.
Otherwise it will cause leakage to AP, and power_on timing is incorrect.
BUG=None
TEST=power_on timing is correct.
BRANCH=None
Change-Id: I2dc9c35b4782e4f5c138b31944af21d8248215cd
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/217691
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Alexandru Stan <amstan@chromium.org>
Commit-Queue: Alexandru Stan <amstan@chromium.org>
Tested-by: Alexandru Stan <amstan@chromium.org>
Diffstat (limited to 'power')
-rw-r--r-- | power/rockchip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/power/rockchip.c b/power/rockchip.c index 8052a66d3a..28b6025381 100644 --- a/power/rockchip.c +++ b/power/rockchip.c @@ -382,9 +382,6 @@ static void power_on(void) /* Wait till the AP has SPI ready */ usleep(PMIC_SPI_READY_TIME); - gpio_set_flags(GPIO_SPI1_NSS, GPIO_INPUT | GPIO_INT_BOTH - | GPIO_PULL_UP); - /* enable interrupt */ gpio_set_flags(GPIO_SUSPEND_L, GPIO_INPUT | GPIO_INT_BOTH | GPIO_PULL_DOWN); |