diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-06-07 17:32:02 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-04-30 20:37:40 +0800 |
commit | 8e6f45f54f32b38f67960fad65f10f9ec7abdcca (patch) | |
tree | 7b3cc1c77b6bb99cfa5e7459f3e2d79c78f38238 /arch/arm | |
parent | 8aa463f785d137c68b0ae56edcb03a335a5a2b33 (diff) | |
download | barebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.gz barebox-8e6f45f54f32b38f67960fad65f10f9ec7abdcca.tar.xz |
complete: add empty complete support
for cpuinfo, clear, dhcp, false, login, lsmod, meminfo, passwd, pwd, reginfo,
reset, true, usb, version
for mach-imx and mach-mxs: dump_clocks
for u_serial: mycdev
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/cpu/cpuinfo.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/speed.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/imx.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/cpuinfo.c b/arch/arm/cpu/cpuinfo.c index 09acb5f4de..ca986f8013 100644 --- a/arch/arm/cpu/cpuinfo.c +++ b/arch/arm/cpu/cpuinfo.c @@ -22,6 +22,7 @@ #include <common.h> #include <command.h> +#include <complete.h> #define CPU_ARCH_UNKNOWN 0 #define CPU_ARCH_ARMv3 1 @@ -181,5 +182,6 @@ static int do_cpuinfo(int argc, char *argv[]) BAREBOX_CMD_START(cpuinfo) .cmd = do_cpuinfo, .usage = "Show info about CPU", + BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END diff --git a/arch/arm/mach-imx/speed.c b/arch/arm/mach-imx/speed.c index 63e24b494f..6f8d20b741 100644 --- a/arch/arm/mach-imx/speed.c +++ b/arch/arm/mach-imx/speed.c @@ -24,6 +24,7 @@ #include <asm-generic/div64.h> #include <common.h> #include <command.h> +#include <complete.h> #include <mach/clock.h> /* @@ -80,5 +81,6 @@ static int do_clocks(int argc, char *argv[]) BAREBOX_CMD_START(dump_clocks) .cmd = do_clocks, .usage = "show clock frequencies", + BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END diff --git a/arch/arm/mach-mxs/imx.c b/arch/arm/mach-mxs/imx.c index a4dae205ca..c64f23ceb5 100644 --- a/arch/arm/mach-mxs/imx.c +++ b/arch/arm/mach-mxs/imx.c @@ -19,6 +19,7 @@ #include <common.h> #include <command.h> +#include <complete.h> extern void imx_dump_clocks(void); @@ -32,4 +33,5 @@ static int do_clocks(int argc, char *argv[]) BAREBOX_CMD_START(dump_clocks) .cmd = do_clocks, .usage = "show clock frequencies", + BAREBOX_CMD_COMPLETE(empty_complete) BAREBOX_CMD_END |