diff options
author | Furquan Shaikh <furquan@google.com> | 2018-07-25 22:36:48 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-27 08:50:52 -0700 |
commit | a7b3c658db84073b0af5e3907515ecac6c93589a (patch) | |
tree | a9c35768f28d7d2723844da31fa3672a3b749c7e /chip | |
parent | f34762305392a078dbc2d871ca7a3859de631007 (diff) | |
download | chrome-ec-a7b3c658db84073b0af5e3907515ecac6c93589a.tar.gz |
chip/mchp: Get rid of unused lpc_host_reset
This change gets rid of unused lpc_host_reset function in chip mchp.
BUG=b:111859300
BRANCH=None
TEST=make -j buildall
Change-Id: I5995de4438509b59bec825c397ea95c288a973fd
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1151047
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/mchp/lpc.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chip/mchp/lpc.c b/chip/mchp/lpc.c index b14a7d3b90..96d68898c2 100644 --- a/chip/mchp/lpc.c +++ b/chip/mchp/lpc.c @@ -562,28 +562,6 @@ static void lpc_chipset_reset(void) DECLARE_DEFERRED(lpc_chipset_reset); #endif - -#ifdef CONFIG_HOSTCMD_ESPI -/* - * Called from power/skylake.c chipset_reset() - * For LPC it doesn't call here, instead it pulses RCIN# low - * for 10 us - */ -void lpc_host_reset(void) -{ - /* Host Reset Control will assert KBRST# (LPC) or - * RCIN# VW (eSPI) - */ -#ifdef CONFIG_HOSTCMD_ESPI_VW_SIGNALS - espi_vw_pulse_wire(VW_RCIN_L, 0); -#else - gpio_set_level(GPIO_SYS_RESET_L, 0); - udelay(10); - gpio_set_level(GPIO_SYS_RESET_L, 1); -#endif -} -#endif /* #ifdef CONFIG_HOSTCMD_ESPI */ - void lpc_set_init_done(int val) { init_done = val; |