diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2013-04-29 11:50:35 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-30 12:40:44 -0700 |
commit | 23c8a5b7224dcc05a0793f409d16e695c04a5388 (patch) | |
tree | 08c3919b4551e1e6d0e616858298ba928c6f04f7 /PRESUBMIT.cfg | |
parent | c947ec8b21339b6f40ab1691983d2c9522616f02 (diff) | |
download | chrome-ec-23c8a5b7224dcc05a0793f409d16e695c04a5388.tar.gz |
add option to de-activate EC console input when WP is on
With a Toad cable, the user can access the EC serial console through the
micro-B connector.
We probably need to de-activate the input on the EC serial console when
the Write-Protect is on, since we have fairly "powerful" commands on the
EC command-line.
Add a new CONFIG_CONSOLE_RESTRICTED_INPUT on platforms with externally
accessible EC serial port.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=spring
BUG=chrome-os-partner:18716
TEST=on Spring with CONFIG_CONSOLE_RESTRICTED_INPUT set, try with and without
write-protect, use successfully the EC console in the former case, and see
"Console is DISABLED" in the latter case.
Original-Change-Id: Ic9646d5468183f4d8f94b5e5e1d2a727941d7bbe
Reviewed-on: https://gerrit.chromium.org/gerrit/49537
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
(cherry picked from commit 980df549794785ebadd2f4c26323e3f1bf3d3b02)
Change-Id: I2c0c26eda540232f442c1d676ad311b8e29778f5
Reviewed-on: https://gerrit.chromium.org/gerrit/49637
Reviewed-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
0 files changed, 0 insertions, 0 deletions