diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-09-23 15:35:55 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-28 14:35:05 +0000 |
commit | 06bf75b0c46506e5a071cd93c93d43310f792e3d (patch) | |
tree | b87486c5b50ee8af9fdf556205e062720d18465b | |
parent | 092d5fc9da65f23e94c4a574bcdefd4f32a376c4 (diff) | |
download | chrome-ec-06bf75b0c46506e5a071cd93c93d43310f792e3d.tar.gz |
zephyr: Change NPCX BBRAM status information to LOG_INF
NPCX BBRAM module provides VBAT/VSBY/VCC power drop information. The
status bit will set when the chip power-up or hibernate PSL wake-up,
which provides the false error alarm. This CL changes the power drop
information to LOG_INF.
BUG=none
BRANCH=none
TEST=Check the log with LOG_LEVEL_INF.
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I36bafedbc694333236ae8824310cfdfcceab7ac8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3180704
Reviewed-by: Aaron Massey <aaronmassey@google.com>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | zephyr/shim/chip/npcx/system.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/zephyr/shim/chip/npcx/system.c b/zephyr/shim/chip/npcx/system.c index 3700026104..9809e138d5 100644 --- a/zephyr/shim/chip/npcx/system.c +++ b/zephyr/shim/chip/npcx/system.c @@ -24,16 +24,15 @@ static void chip_bbram_status_check(void) res = bbram_check_invalid(bbram_dev); if (res != 0 && res != -ENOTSUP) - LOG_ERR("VBAT power drop!"); + LOG_INF("VBAT power drop!"); res = bbram_check_standby_power(bbram_dev); if (res != 0 && res != -ENOTSUP) - LOG_ERR("VSBY power drop!"); + LOG_INF("VSBY power drop!"); res = bbram_check_power(bbram_dev); if (res != 0 && res != -ENOTSUP) - LOG_ERR("VCC1 power drop!"); - + LOG_INF("VCC1 power drop!"); } /* |