]> git.sur5r.net Git - u-boot/commit
Convert cmd_usage() calls in common to use a return value
authorSimon Glass <sjg@chromium.org>
Sat, 10 Dec 2011 08:44:01 +0000 (08:44 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 6 Mar 2012 20:09:46 +0000 (21:09 +0100)
commit4c12eeb8b55483e48ef98b8a480e2bbacc9f210d
tree7624947e7cd097d48ea3a2e1a3ccfa82ee766fc4
parent9d12d5d41d5653ba2f943886f45b8c2eb0f63450
Convert cmd_usage() calls in common to use a return value

Change all files in common/ to use CMD_RET_USAGE instead of calling
cmd_usage() directly. I'm not completely sure about this patch since
the code since impact is small (100 byte or so on ARM) and it might
need splitting into smaller patches. But for now here it is.

Signed-off-by: Simon Glass <sjg@chromium.org>
57 files changed:
common/cmd_bedbug.c
common/cmd_bmp.c
common/cmd_boot.c
common/cmd_bootm.c
common/cmd_cache.c
common/cmd_dataflash_mmc_mux.c
common/cmd_date.c
common/cmd_dcr.c
common/cmd_df.c
common/cmd_eeprom.c
common/cmd_ext2.c
common/cmd_fdc.c
common/cmd_fdos.c
common/cmd_fdt.c
common/cmd_fitupd.c
common/cmd_flash.c
common/cmd_fpga.c
common/cmd_gpio.c
common/cmd_i2c.c
common/cmd_ide.c
common/cmd_irq.c
common/cmd_itest.c
common/cmd_led.c
common/cmd_load.c
common/cmd_log.c
common/cmd_md5sum.c
common/cmd_mdio.c
common/cmd_mem.c
common/cmd_mfsl.c
common/cmd_mgdisk.c
common/cmd_mii.c
common/cmd_misc.c
common/cmd_mmc.c
common/cmd_mmc_spi.c
common/cmd_mp.c
common/cmd_mtdparts.c
common/cmd_nand.c
common/cmd_net.c
common/cmd_nvedit.c
common/cmd_onenand.c
common/cmd_otp.c
common/cmd_pci.c
common/cmd_portio.c
common/cmd_pxe.c
common/cmd_reiser.c
common/cmd_sata.c
common/cmd_scsi.c
common/cmd_setexpr.c
common/cmd_sf.c
common/cmd_sha1sum.c
common/cmd_strings.c
common/cmd_time.c
common/cmd_ubi.c
common/cmd_ubifs.c
common/cmd_unzip.c
common/cmd_usb.c
common/main.c