diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-04-15 18:17:53 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-15 17:09:15 +0000 |
commit | e8c27e50fe1a3c40a1dfa53843a9aec754901c6d (patch) | |
tree | 969ea643f346cf941f5a011d484bde97fc8fc215 /zephyr/drivers | |
parent | c4d16d7601862373394aece980fae04194c369bb (diff) | |
download | chrome-ec-e8c27e50fe1a3c40a1dfa53843a9aec754901c6d.tar.gz |
zephyr: npcx: Remove the comment for cros_system_npcx init
The original limitation for cros_system_npcx_init() is from the
WDRST_STS register will reset unexpectedly by the other driver.
zephyr CL:2784074 add a mask for the bit and it shouldn't have this
limitation anymore. Remove the comment for cros_system_npcx init
priority.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I6982de5e1384d157a82ceba96bc38bf2906b2072
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825721
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/drivers')
-rw-r--r-- | zephyr/drivers/cros_system/cros_system_npcx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/zephyr/drivers/cros_system/cros_system_npcx.c b/zephyr/drivers/cros_system/cros_system_npcx.c index 07a7cf8c80..ba8abe65a2 100644 --- a/zephyr/drivers/cros_system/cros_system_npcx.c +++ b/zephyr/drivers/cros_system/cros_system_npcx.c @@ -533,10 +533,6 @@ static const struct cros_system_driver_api cros_system_driver_npcx_api = { .chip_revision = cros_system_npcx_get_chip_revision, }; -/* - * The priority of cros_system_npcx_init() should be higher than watchdog init - * for reset cause check. - */ DEVICE_DEFINE(cros_system_npcx_0, "CROS_SYSTEM", cros_system_npcx_init, NULL, &cros_system_npcx_dev_data, &cros_system_dev_cfg, PRE_KERNEL_1, CONFIG_CROS_SYSTEM_NPCX_INIT_PRIORITY, |