summaryrefslogtreecommitdiff
path: root/common/panic_output.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2016-08-25 15:57:33 -0700
committerBill Richardson <wfrichar@chromium.org>2016-08-31 17:17:51 +0000
commitada6b3d5d5c058d38b7a73da48d3173c6c453da0 (patch)
treed5d7fdb4f8ec313b54101e888e2cc25fdcdcd57a /common/panic_output.c
parent70341959e677328dc5d62a94a7df4e79523e5e24 (diff)
downloadchrome-ec-ada6b3d5d5c058d38b7a73da48d3173c6c453da0.tar.gz
Cr50: Enable restricted console commands
This enables restricted console commands, meaning that only the "help" command would be available when the Cr50 console is locked. To get out of (or into) the locked state, this also adds a "lock" command. Of course, it will be available in locked mode. For now, the lock state is disabled, so all commands continue to work as before. Even after enabling the lock, it's trivial to disable it again. Future CLs will build on this framework. BUG=chrome-os-partner:55322,chrome-os-partner:55510 BRANCH=none TEST=make buildall, test on Cr50 hardware Try these commands: lock help gpioget lock enable help gpioget lock disable help gpioget Change-Id: I42c9bd63e17612dcff78c9f45054e53d96adcd5b Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/376187 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/panic_output.c')
0 files changed, 0 insertions, 0 deletions