summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 16:53:57 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:50:28 +0000
commiteac9fc5dffd800ae9170c3183c09a0fde4f04a8a (patch)
treef10d2100a856e59e9ac5ad078619bb907b83814a
parent2ad8d8d9c769bec6b036853c794836f1e898b13a (diff)
downloadchrome-ec-eac9fc5dffd800ae9170c3183c09a0fde4f04a8a.tar.gz
Revert "stm32: move UART wake-up to uart code"
This reverts commit 61e6d7cb5068b1d7ee0bf93763bb40d3b753581e. BUG=b:200823466 TEST=make buildall -j Change-Id: Iced6ed5a9731c0ab5854e78f969a76d58badfb16 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273419 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--include/uart.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/uart.h b/include/uart.h
index 24ef6d1761..e907837d14 100644
--- a/include/uart.h
+++ b/include/uart.h
@@ -219,17 +219,6 @@ void uart_deepsleep_interrupt(enum gpio_signal signal);
static inline void uart_deepsleep_interrupt(enum gpio_signal signal) { }
#endif /* !CONFIG_LOW_POWER_IDLE */
-#if defined(HAS_TASK_CONSOLE) && defined(CONFIG_FORCE_CONSOLE_RESUME)
-/**
- * Enable/Disable the UART controller low-power mode wake-up capability.
- *
- * @param enable 1 to enable wake-up, 0 to disable it.
- */
-void uart_enable_wakeup(int enable);
-#elif !defined(CHIP_FAMILY_NPCX5)
-static inline void uart_enable_wakeup(int enable) {}
-#endif
-
#ifdef CONFIG_UART_INPUT_FILTER
/**
* Application-specific input filter, which takes the next input character as