diff options
author | Yuval Peress <peress@chromium.org> | 2021-02-26 11:01:00 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-26 21:47:02 +0000 |
commit | 6719c67cd4d81be791e231ba8e495a67fc482edc (patch) | |
tree | d32eb907ef2baef25e4ea0ac10f455c2dcb6ad49 /include/usb_tbt_alt_mode.h | |
parent | 6c2c8963fcf9973bc67ba784f5a5e0b82c3ecbf4 (diff) | |
download | chrome-ec-6719c67cd4d81be791e231ba8e495a67fc482edc.tar.gz |
zephyr: console: add functions to enable/disable the shell
Adds functions that will allow us to temporarily take over the uart
from the shell. Note that for platform/ec code without Zephyr, these
functions are stubs so they are safe to call from common code, though
we'll most likely need other logic (such as turning off the console
task). This isn't done in these functions because the Zephyr shell
behaves differently from the task and in the example of efs2 needs to
be turned off earlier than the platform/ec console task.
BRANCH=none
BUG=b:164421798
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I75fc8fe2ca9214f216561ded97818880dda247d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2723495
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'include/usb_tbt_alt_mode.h')
0 files changed, 0 insertions, 0 deletions