cmd: cros_ec: Move crosec commands to cmd subdirectory

Move crosec commands from drivers/misc/cros_ec.c to
cmd/cros_ec.c

Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Miao Yan <yanmiaobest@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: u-boot@lists.denx.de
This commit is contained in:
Moritz Fischer
2016-10-04 17:08:08 -07:00
committed by Simon Glass
parent 2f159402d9
commit bfeba0173a
5 changed files with 390 additions and 351 deletions
+13
View File
@@ -677,6 +677,19 @@ config CMD_TPM_TEST
endmenu
menu "Firmware commands"
config CMD_CROS_EC
bool "Enable crosec command"
depends on CROS_EC
default y
help
Enable command-line access to the Chrome OS EC (Embedded
Controller). This provides the 'crosec' command which has
a number of sub-commands for performing EC tasks such as
updating its flash, accessing a small saved context area
and talking to the I2C bus behind the EC (if there is one).
endmenu
menu "Filesystem commands"
config CMD_EXT2
bool "ext2 command support"