summaryrefslogtreecommitdiff
path: root/power/intel_x86.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2019-08-30 18:01:58 -0700
committerCommit Bot <commit-bot@chromium.org>2019-09-03 23:46:35 +0000
commit6881fa3712de15d4b938dcb330bae7744a6db4bf (patch)
tree6433bec3232074709b6f26c653c644e46747c16c /power/intel_x86.c
parentd5927cd01e761177d7dde9db072e48c11c1c3ed8 (diff)
downloadchrome-ec-6881fa3712de15d4b938dcb330bae7744a6db4bf.tar.gz
g: fix UART TX done logic
TX is done when both TX_IDLE and TX_EMPTY conditions are true. Fixing the check makes unnecessary the code which waited for another character time before proceeding when flushing the UART TX FIFO. BRANCH=cr50, cr50-mp BUG=b:140305442 TEST=added code to print a really long string before reset in the 'reboot' command, observed that the entire string is reliably printed before the reset. Change-Id: I0882d96ba9ca5412deb704ccdbc43e8cebeeeab5 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1779587 Reviewed-by: Marius Schilder <mschilder@chromium.org> Reviewed-by: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'power/intel_x86.c')
0 files changed, 0 insertions, 0 deletions