diff options
author | Jett Rink <jettrink@chromium.org> | 2018-02-01 09:32:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-01 18:08:48 -0800 |
commit | 74e2f686a9acce51b1507367c29e39f504aaa34d (patch) | |
tree | 12eee5c9e8add1f1f305bdbac18f8d91ac4cfead /chip | |
parent | 8dba841b4e4e514204f6e002115862fe3229666f (diff) | |
download | chrome-ec-74e2f686a9acce51b1507367c29e39f504aaa34d.tar.gz |
cleanup: formatting debug message
Adding newline to separate messages better
BRANCH=none
TEST=none
BUG=none
Change-Id: Ie454dfc532310c480f350c9b15280bf96634b322
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/897909
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/npcx/lpc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chip/npcx/lpc.c b/chip/npcx/lpc.c index 7f909cae2b..5643474285 100644 --- a/chip/npcx/lpc.c +++ b/chip/npcx/lpc.c @@ -338,7 +338,7 @@ static void lpc_sib_wait_host_read_done(void) deadline.val = get_time().val + LPC_HOST_TRANSACTION_TIMEOUT_US; while (IS_BIT_SET(NPCX_SIBCTRL, NPCX_SIBCTRL_CSRD)) { if (timestamp_expired(deadline, NULL)) { - ccprintf("Unexpected time of host read transaction\n"); + CPRINTS("Unexpected time of host read transaction"); break; } } @@ -354,7 +354,7 @@ static void lpc_sib_wait_host_write_done(void) deadline.val = get_time().val + LPC_HOST_TRANSACTION_TIMEOUT_US; while (IS_BIT_SET(NPCX_SIBCTRL, NPCX_SIBCTRL_CSWR)) { if (timestamp_expired(deadline, NULL)) { - ccprintf("Unexpected time of host write transaction\n"); + CPRINTS("Unexpected time of host write transaction"); break; } } @@ -833,8 +833,7 @@ void lpc_lreset_pltrst_handler(void) pltrst_asserted = lpc_get_pltrst_asserted(); - ccprintf("LPC RESET# %sasserted", - pltrst_asserted ? "" : "de"); + CPRINTS("LPC RESET# %sasserted", pltrst_asserted ? "" : "de"); /* * Once LRESET is de-asserted (low -> high), we need to initialize lpc |