summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
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 /commands/bootm.c
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 'commands/bootm.c')
-rw-r--r--commands/bootm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index 9e16e06815..853f70a320 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -458,7 +458,6 @@ static const __maybe_unused char cmd_bootm_help[] =
U_BOOT_CMD_START(bootm)
- .maxargs = CONFIG_MAXARGS,
.cmd = do_bootm,
.usage = "boot application image",
U_BOOT_CMD_HELP(cmd_bootm_help)
@@ -524,7 +523,7 @@ static int image_info (ulong addr)
}
U_BOOT_CMD(
- iminfo, CONFIG_MAXARGS, 1, do_iminfo,
+ iminfo, 1, do_iminfo,
"iminfo - print header information for application image\n",
"addr [addr ...]\n"
" - print header information for application image starting at\n"