summaryrefslogtreecommitdiff
path: root/board/scarlet/board.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-07-21 17:33:12 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-07-23 09:27:20 -0700
commit7a537dee1e6566fe18c6ed7e61e487384507fd39 (patch)
tree36d2b6a96497fbcbc31d1f265dfa543cbb754a20 /board/scarlet/board.h
parentf85b863dae721dadb1d15b619cbf26373fb95be2 (diff)
downloadchrome-ec-7a537dee1e6566fe18c6ed7e61e487384507fd39.tar.gz
config: Clarify CONFIG_STM32_CLOCK_LSE is sourced externally
On kukui, we fell into a copy-pasta trap, and didn't realize that CONFIG_STM32_CLOCK_LSE meant that we needed an external 32.768 kHz clock source. With this option set (and no external source), the EC gets stuck on boot, without printing anything on console at all, which is very confusing during early bringup. BRANCH=none BUG=b:80159522 TEST=make buildall -j Change-Id: I65434e5628a4e8102d56ad225aa378bcbe5c299f Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1146126 Reviewed-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board/scarlet/board.h')
-rw-r--r--board/scarlet/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h
index 22e2def7f2..087ac427e5 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -28,6 +28,7 @@
#define CONFIG_SPI
#define CONFIG_SPI_MASTER
#define CONFIG_STM_HWTIMER32
+/* Source RTCCLK from external 32.768kHz source on PC15/OSC32_IN. */
#define CONFIG_STM32_CLOCK_LSE
#define CONFIG_SWITCH
#define CONFIG_WATCHDOG_HELP