summaryrefslogtreecommitdiff
path: root/board/cr50
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2017-12-05 13:30:44 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-12-05 20:22:43 -0800
commit9300c0d470f3d266465731b941075f6d0a321636 (patch)
tree5633ed73f65cbf46a79bd33a9493624315e495d7 /board/cr50
parent23149261dc4a9429a1c98aa829e02d4a3ec5103a (diff)
downloadchrome-ec-9300c0d470f3d266465731b941075f6d0a321636.tar.gz
cr50: mark ccdstate console command safe
ccdstate just prints state. It is very useful for debugging ccd/servo contention issues. This change makes it a safe command so it is accessible even when the console is locked. BUG=none BRANCH=cr50 TEST=make buildall Change-Id: I2e754f5978c83fcaca737e7a590dcf5ee445522c Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/809864 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'board/cr50')
-rw-r--r--board/cr50/rdd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/cr50/rdd.c b/board/cr50/rdd.c
index 2f12db089f..b616299c89 100644
--- a/board/cr50/rdd.c
+++ b/board/cr50/rdd.c
@@ -412,9 +412,9 @@ static int command_ccd_state(int argc, char **argv)
return EC_SUCCESS;
}
-DECLARE_CONSOLE_COMMAND(ccdstate, command_ccd_state,
- "",
- "Print the case closed debug device state");
+DECLARE_SAFE_CONSOLE_COMMAND(ccdstate, command_ccd_state,
+ "",
+ "Print the case closed debug device state");
static int command_ccd_block(int argc, char **argv)
{