diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-03-16 13:34:22 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-17 05:27:48 -0700 |
commit | c776583aeb62eadddbe50846cd4d41f6520be37a (patch) | |
tree | 5a8271cfe787e7f8343e8c5eb1f3cede9e99c594 /board/oak_pd | |
parent | e04111356af912c4cccce2b14ce9a98d63dc658c (diff) | |
download | chrome-ec-c776583aeb62eadddbe50846cd4d41f6520be37a.tar.gz |
i2c(npcx): Replace cprints by cputs/cprintf
These print-outs are usually very deep in the call stack (rare
error cases that do not happen often), and therefore are the
longest branches on most tasks. Replacing cprints by
cputs/cprintf helps with that.
BRANCH=none
BUG=b:75234824
TEST=make BOARD=soraka SECTION=RW analyzestack | grep Task shrinks
significantly (more than 100 bytes on some tasks)
Change-Id: I7c5bb750f4aa624cd06736e0bb6b24d307fc0196
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/966041
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/oak_pd')
0 files changed, 0 insertions, 0 deletions