diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-04-29 16:43:11 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-30 02:31:07 +0000 |
commit | fab26ee8914ad9f111d982388aeec61c13d6b1c6 (patch) | |
tree | 29112961410d78abecc611ea778434482eedaea2 /include | |
parent | 1ecab8b50854bec3a803bdcef2213e7d351b96fc (diff) | |
download | chrome-ec-fab26ee8914ad9f111d982388aeec61c13d6b1c6.tar.gz |
cr50: allow using ccprintf() early in the process
Attempts to use ccprinf() before both uart and usb consoles have been
initialized cause the device lock up. Luckily both console channels
are buffered (and usb console buffering is about to be greatly
improved), all what needs to be done is to hold on to the attempts to
start transmit interrupts until hardware has been initialized.
BRANCH=none
BUG=none
TEST=attempts to print something on the console early in the process
do not cause the device to lock up any more, and the printouts
show up where expected.
Change-Id: I16cd1fab79bceaf7c2334a955fdb6046d21ed550
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/268379
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions