summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2018-03-22 04:55:51 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-24 07:32:29 -0700
commit3bd4e0de5edc6f62eda8739d31816b5b29d1979b (patch)
treed6cc7049652e5fc41b765e0708e8722e4ca7bd24 /power
parentf59290878e5fcd99add71aec74baea7d1e3f0297 (diff)
downloadchrome-ec-3bd4e0de5edc6f62eda8739d31816b5b29d1979b.tar.gz
Code cleanup: Rename GPIO PCH_RCIN_L to SYS_RESET_L
Renamed GPIO PCH_RCIN_L to SYS_RESET_L so that all the Intel chipset variants have same GPIO name for doing SOC internal reset. BUG=b:72426192 BRANCH=none TEST=make buildall -j Change-Id: I931ce136743fa928dd7cf6f005c912db3b2da893 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/974241 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'power')
-rw-r--r--power/apollolake.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/power/apollolake.c b/power/apollolake.c
index feecd24f8e..aab850b332 100644
--- a/power/apollolake.c
+++ b/power/apollolake.c
@@ -61,9 +61,9 @@ void chipset_reset(int cold_reset)
/*
* Send a pulse to SOC PMU_RSTBTN_N to trigger a warm reset.
*/
- gpio_set_level(GPIO_PCH_RCIN_L, 0);
+ gpio_set_level(GPIO_SYS_RESET_L, 0);
usleep(32 * MSEC);
- gpio_set_level(GPIO_PCH_RCIN_L, 1);
+ gpio_set_level(GPIO_SYS_RESET_L, 1);
}
}