From 06bf75b0c46506e5a071cd93c93d43310f792e3d Mon Sep 17 00:00:00 2001 From: Wealian Liao Date: Thu, 23 Sep 2021 15:35:55 +0800 Subject: 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 Change-Id: I36bafedbc694333236ae8824310cfdfcceab7ac8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3180704 Reviewed-by: Aaron Massey Reviewed-by: Denis Brockus Commit-Queue: Denis Brockus --- zephyr/shim/chip/npcx/system.c | 7 +++---- 1 file 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!"); } /* -- cgit v1.2.1