9
0
Fork 0
barebox/commands
Wolfram Sang 3fada2bced command: flash: remove broken filename check
It makes no sense to check the filename pointer here, because a) we have
already been using it and b) argc has been tested against 1 already, so
argv[1] should not be NULL. So, drop the checks.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-12-22 10:08:09 +01:00
..
Kconfig bootm: Add missing Kconfig dependency 2011-12-17 16:37:14 +01:00
Makefile remove now obsolete iminfo command 2011-12-15 11:07:15 +01:00
bmp.c BMP: Add support for 32bpp video frame buffer 2011-01-14 10:44:33 +01:00
bootm.c Merge branch 'work/uimage' into next 2011-12-17 16:33:57 +01:00
cat.c doc: unify documentation for 'cat' 2010-11-01 16:23:08 +01:00
cd.c doc: unify documentation for 'cd' 2010-11-01 16:23:08 +01:00
clear.c doc: add documentation for 'clear' 2010-11-01 16:23:08 +01:00
cp.c commands/cp: add verbose mode which displays progress bar 2011-11-22 21:13:05 +01:00
crc.c crc exit with COMMAND_ERROR_USAGE 2011-12-05 17:53:09 +01:00
dfu.c doc: add documentation for 'dfu' 2010-11-01 16:23:08 +01:00
digest.c command/digest: add sha224 support 2011-10-12 08:52:49 +02:00
echo.c doc: add documentation for 'echo' 2010-11-01 16:23:08 +01:00
edit.c Fix error handling with malloc, memalign etc. Introduce xmemalign(). 2011-01-07 10:21:22 +01:00
exec.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
export.c doc: unify documentation for 'export' 2010-11-01 16:23:09 +01:00
false.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
flash.c command: flash: remove broken filename check 2011-12-22 10:08:09 +01:00
go.c Cosmetic fixes, including format attributes for printf() and friends. 2010-12-21 09:02:40 +01:00
gpio.c Fix a typo in the GPIO doc 2010-12-21 16:03:40 +01:00
help.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
i2c.c commands: add i2c commands 2010-05-26 10:34:58 +02:00
insmod.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
iomem.c add iomem command to show iomem usage 2011-12-03 10:09:29 +01:00
led.c commands/led.c: check registered LEDs 2011-08-03 09:22:21 +02:00
linux16.c LINUX16: Fix warning 2011-03-10 11:15:22 +01:00
linux_exec.c Add missing code from linux_exec command 2011-12-13 09:52:18 +01:00
loadb.c Cosmetic fixes, including format attributes for printf() and friends. 2010-12-21 09:02:40 +01:00
loadenv.c environment: make default env path configurable 2011-04-12 09:54:56 +02:00
loads.c commands/loads.c: fix whitespace errors & formatting 2011-08-23 08:33:24 +02:00
login.c login: correct a typo in command description 2011-09-27 09:46:32 +02:00
ls.c commands/ls: add to use sorted-insert 2011-12-21 12:38:14 +01:00
lsmod.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
magicvar.c add magicvar command 2011-11-29 20:51:31 +01:00
mem.c Fix spelling of "omitted"; found by lintian 2011-10-14 09:27:31 +02:00
meminfo.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
memtest.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
menu.c Cosmetic fixes, including format attributes for printf() and friends. 2010-12-21 09:02:40 +01:00
mkdir.c mkdir command: do not fail with -p and directory already exists 2011-11-09 11:51:49 +01:00
mount.c mount: Fix the printing of device name 2011-11-11 12:13:34 +01:00
nand.c nand bb: add proper bb remove function 2011-04-12 09:54:56 +02:00
net.c net: remove old network stack 2010-06-17 08:28:25 +02:00
oftree.c initial oftree command support 2011-10-19 10:09:48 +02:00
partition.c doc: unify documentation for 'delpart' 2010-11-01 16:23:09 +01:00
passwd.c login: add timeout support 2011-08-11 09:22:07 +02:00
printenv.c doc: unify documentation for 'printenv' 2010-11-02 14:07:32 +01:00
pwd.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
readline.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
reginfo.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
reset.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
rm.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
rmdir.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
saveenv.c Fix spelling of "omitted"; found by lintian 2011-10-14 09:27:31 +02:00
setenv.c doc: unify documentation for 'setenv' 2010-11-02 17:55:17 +01:00
sleep.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
test.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
time.c time command: Fix needed string length 2011-12-08 13:46:36 +01:00
timeout.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
trigger.c trigger command: fix printf format 2011-03-10 14:48:53 +01:00
true.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
ubi.c Add UBI commands: ubiattach, ubidetach, ubimkvol, ubirmvol 2010-07-05 15:07:51 +02:00
uimage.c add uimage command 2011-12-15 11:07:15 +01:00
umount.c remove typedef cmd_tbl_t and replace it with struct command 2010-02-01 17:25:32 +01:00
uncompress.c add generic uncompress command 2011-11-29 21:12:42 +01:00
usb.c commands: seperate usb command from usb core 2011-04-11 12:36:26 +02:00
version.c version_string: sparse fixes 2010-10-21 22:21:24 +02:00
xyzModem.c xyzModem.c: fix 'dummy' is used uninitialized in this function warning 2010-12-21 10:23:41 +01:00