summaryrefslogtreecommitdiff
path: root/zephyr/drivers/Kconfig
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-01-28 18:27:31 +0800
committerCommit Bot <commit-bot@chromium.org>2021-02-02 23:22:32 +0000
commitf0b97ec20fe2d82bde10a2f05c2f4fd5d519f557 (patch)
treebf83f5257c9fc06a600813f18f4a4706012cb783 /zephyr/drivers/Kconfig
parent4f352e3880581952aa15c945fc635e2142fd7c93 (diff)
downloadchrome-ec-f0b97ec20fe2d82bde10a2f05c2f4fd5d519f557.tar.gz
zephyr: driver: add cros_system driver and chip-reset cause
This CL introduces cros_system driver. Currently, Zephyr doesn't have the system related API (e.g., reset cause, system reset). Add a cros_system driver to put those system chip drivers. This CL adds reset cause function initially. BUG=b:178101173 BRANCH=None. TEST=zmake testall TEST=check reset cause by powerup, reset_pin, debug_rst, watchdog_rst Cq-Depend: chromium:2661921 Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I7c956c2a9c10f3be913400bb33d2f4002dcbabb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2657912 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/drivers/Kconfig')
-rw-r--r--zephyr/drivers/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/drivers/Kconfig b/zephyr/drivers/Kconfig
index 68e9b01229..69f30ce2b2 100644
--- a/zephyr/drivers/Kconfig
+++ b/zephyr/drivers/Kconfig
@@ -5,3 +5,4 @@
rsource "cros_bbram/Kconfig"
rsource "cros_flash/Kconfig"
rsource "cros_kb_raw/Kconfig"
+rsource "cros_system/Kconfig"