diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-09-11 14:07:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-12 16:17:08 -0700 |
commit | 1bece4ee08aa8505e9613e614fc75d254ad5cd40 (patch) | |
tree | 75813235b36991653228489a5b07297c01b21364 /driver/baro_bmp280.h | |
parent | 5ec58b35f1d7ee8284231bd4dc3d96b3d517b061 (diff) | |
download | chrome-ec-1bece4ee08aa8505e9613e614fc75d254ad5cd40.tar.gz |
port80: Disable default print of port80 messages in interrupt context
1. Add a new config option CONFIG_PORT80_PRINT_IN_INT which is
disabled by default to disable printing of port80 messages in
interrupt context.
2. If CONFIG_BRINGUP is defined, redefine CONFIG_PORT80_PRINT_IN_INT
to enable printing of port80 messages in interrupt context for boards
that are in bringup phase.
3. If print_in_int is disabled, add a deferred call to dump port80
buffer to EC console 4 seconds after the last port80 message is
received.
BUG=b:64196191
BRANCH=None
TEST=Verified following:
1. make -j buildall
2. Port80 messages are not printed by default on Soraka
3. Port80 buffer is dumped 4 seconds after last port80 message, if
BIOS is stuck for 4 seconds, in recovery mode and when reboot from AP
console.
4. Boot time on soraka went down from ~1.59seconds to ~1.45 seconds in
EC reboot case (savings of ~140ms).
Change-Id: I9aee0987765f905b4ac49d04ffc54d71ee3a04f9
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/661880
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'driver/baro_bmp280.h')
0 files changed, 0 insertions, 0 deletions