diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2016-05-17 14:41:59 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-18 01:27:45 -0700 |
commit | 5c9fc1111c30eeacbd8474d5b80b1883def378d3 (patch) | |
tree | a6ad179668ffdc1af5f5672ca6b4de213effab17 /chip/npcx | |
parent | 8d81f8799e431e66457ff164172bf98a47bdbbf2 (diff) | |
download | chrome-ec-5c9fc1111c30eeacbd8474d5b80b1883def378d3.tar.gz |
shorten long console command names
The EC code expects console commands to be no longer than 14
characters, otherwise the alignment of the help command output breaks.
This patch replaces flash_spi_sel_lock with flash_spi_lock and
fake_disconnect with fakedisconnect to make sure the command names
fit.
BRANCH=none
BUG=none
TEST=the 'help' command output is not misaligned any more
Change-Id: Ia65f1535850a07adccbef0812c8a0922c0264cea
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/345570
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
Diffstat (limited to 'chip/npcx')
-rw-r--r-- | chip/npcx/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/flash.c b/chip/npcx/flash.c index 5dd866e5f4..37e7cd7319 100644 --- a/chip/npcx/flash.c +++ b/chip/npcx/flash.c @@ -792,7 +792,7 @@ static int command_flash_spi_sel_lock(int argc, char **argv) ccprintf("Enabled: %d\n", ena); return EC_SUCCESS; } -DECLARE_CONSOLE_COMMAND(flash_spi_sel_lock, command_flash_spi_sel_lock, +DECLARE_CONSOLE_COMMAND(flash_spi_lock, command_flash_spi_sel_lock, "[0 | 1]", "Lock spi flash interface selection", NULL); |