summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-19 16:16:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-19 16:18:33 +0200
commit420a3173f0f7d2bd35f32be437e4888a82047560 (patch)
tree445f3f6a62d1a88af8522696dba1764f27326f46 /board
parentf4ca85a2a3773202f556e19c9227d83508316108 (diff)
downloadbarebox-420a3173f0f7d2bd35f32be437e4888a82047560.tar.gz
barebox-420a3173f0f7d2bd35f32be437e4888a82047560.tar.xz
commands: remove maxargs
No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r--board/ipe337/cmd_alternate.c1
-rw-r--r--board/pcm043/pcm043.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/board/ipe337/cmd_alternate.c b/board/ipe337/cmd_alternate.c
index e563ab8d7a..78ed77c2dd 100644
--- a/board/ipe337/cmd_alternate.c
+++ b/board/ipe337/cmd_alternate.c
@@ -49,7 +49,6 @@ static const __maybe_unused char cmd_alternate_help[] =
"\n";
U_BOOT_CMD_START(alternate)
- .maxargs = CONFIG_MAXARGS,
.cmd = do_alternate,
.usage = "count zero bits in a file",
U_BOOT_CMD_HELP(cmd_alternate_help)
diff --git a/board/pcm043/pcm043.c b/board/pcm043/pcm043.c
index 209953331a..166f2fa1cd 100644
--- a/board/pcm043/pcm043.c
+++ b/board/pcm043/pcm043.c
@@ -283,7 +283,6 @@ static const __maybe_unused char cmd_cpufreq_help[] =
"Set CPU frequency to <freq> MHz\n";
U_BOOT_CMD_START(cpufreq)
- .maxargs = CONFIG_MAXARGS,
.cmd = do_cpufreq,
.usage = "adjust CPU frequency",
U_BOOT_CMD_HELP(cmd_cpufreq_help)