summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-09-22 15:10:59 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-11 18:32:49 -0700
commita06d00ebfc6dc2ae97ba993d844af1dbdec9f000 (patch)
tree82f46d8d5fd8ed869d31c37daddb09b18ee08c98
parent0c7c687a1e0e0085c0af36f8ae90249d1f09ecba (diff)
downloadchrome-ec-a06d00ebfc6dc2ae97ba993d844af1dbdec9f000.tar.gz
scarlet: Use LSE as RTCCLK
BUG=b:63908519 BRANCH=none TEST=boot scarlet rev1 and wait for an hour, confirm rtc time == kernel system time. Change-Id: Ieb21dce51eb468bb4e1989ea21100599c91fa903 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/679602 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Alexandru M Stan <amstan@chromium.org>
-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 eabe1c3bd9..6ea473139e 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -25,6 +25,7 @@
#define CONFIG_SPI
#define CONFIG_SPI_MASTER
#define CONFIG_STM_HWTIMER32
+#define CONFIG_STM32_CLOCK_LSE
#define CONFIG_SWITCH
#define CONFIG_WATCHDOG_HELP