summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-22 16:10:20 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-02 09:27:32 +0000
commit086efb5aaab014a31ef2bd1ee54662e4698b522d (patch)
tree9271fe7fc75def695add371cf546c7c5f4e6bc4e /common/system.c
parent53a4c4aaeb1cc1ced18cd2d308a7005c25cbf547 (diff)
downloadchrome-ec-086efb5aaab014a31ef2bd1ee54662e4698b522d.tar.gz
zephyr: Enable base support for real-time-clock (RTC)
Add Kconfig options for the various RTC features. Add stubs for the actual implementation, to be implemented using Zephyr API calls to the RTC driver, when available. The duplication of RTC functions across different chips can be addressed in b/179055201 Also add the <init.h> header to zephyr_host_command.h since otherwise we get a build error. It seems better to have the header there than in the files that use DECLARE_CONSOLE_COMMAND(). BUG=b:178230662, b:179055201 BRANCH=none TEST=build volteer for zephyr, try rtc and rtc_alarm command make BOARD=volteer -j8 Change-Id: I036b1f3d91543a357ad779e475a03584759a3de4 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2645570 Reviewed-by: Yuval Peress <peress@chromium.org> Commit-Queue: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'common/system.c')
0 files changed, 0 insertions, 0 deletions