diff options
author | Namyoon Woo <namyoon@chromium.org> | 2019-06-05 16:34:30 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-14 00:56:38 +0000 |
commit | 79e88d81f3e090d959669b4de6215cef96c2a3ed (patch) | |
tree | 9b1f2c93d0929cee07d072a3aaa180523a16da49 /board/atlas_ish/board.h | |
parent | 8ca44cb4eca69d44e9fce0b93b58be9c7d9d19f3 (diff) | |
download | chrome-ec-79e88d81f3e090d959669b4de6215cef96c2a3ed.tar.gz |
g: consolidate USB console transfer codes to usb-stream
usb-console.c and usb_stream.c include some amount of
copied/pasted code. This patch converts USB console
implementation to USB stream to reduce the redundancy.
Flash usage decreases by 260 bytes.
BUG=None
BRANCH=None
TEST=Ran uart_stress_tester.sh (http://crrev.com/c/1586581/23) on bob.
This CL slightly increases CR50 console char loss rate: 5.5% -> 6.5% in
average.
Change-Id: Ibdc16867618d67ae33574e802c1949aa6b5cf1a6
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1648921
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/atlas_ish/board.h')
0 files changed, 0 insertions, 0 deletions