u-boot/common
Simon Glass 4c12eeb8b5 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>
2012-03-06 21:09:46 +01:00
..
bedbug.c common: Move conditional compilation to Makefile 2008-08-13 01:40:38 +02:00
cmd_ambapp.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_bdinfo.c davinci: add support for printing clock frequency 2012-02-12 10:11:32 +01:00
cmd_bedbug.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_bmp.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_boot.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_bootldr.c Blackfin: bootldr: use common defines 2011-04-08 00:44:27 -04:00
cmd_bootm.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_cache.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_console.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_cplbinfo.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_cramfs.c cramfs: make cramfs usable without a NOR flash 2011-05-10 22:47:32 +02:00
cmd_dataflash_mmc_mux.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_date.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_dcr.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_df.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_diag.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_display.c led_display: split led display support into generic and hw-dependent parts 2010-10-12 22:44:33 +02:00
cmd_dtt.c hwmon: Provide dtt_init() 2011-10-22 01:22:21 +02:00
cmd_echo.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_eeprom.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_elf.c net: tftpput: Rename TFTP to TFTPGET 2011-10-26 21:33:42 +02:00
cmd_exit.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_ext2.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_fat.c fs/fat: Big code cleanup. 2010-07-24 20:54:46 +02:00
cmd_fdc.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_fdos.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_fdt.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_fitupd.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_flash.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_fpga.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_gpio.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_help.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_i2c.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_ide.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_immap.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_irq.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_itest.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_jffs2.c cmd_jffs2: Fix get_part_sector_size_nor() overflow bug 2011-01-19 00:04:43 +01:00
cmd_ldrinfo.c Blackfin: ldrinfo: new command 2011-04-08 00:44:27 -04:00
cmd_led.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_license.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_load.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_log.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mac.c cmd_mac: fix help for 'mac read' 2011-07-28 16:41:06 +02:00
cmd_md5sum.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mdio.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mem.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mfsl.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mgdisk.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mii.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_misc.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mmc_spi.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mmc.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mp.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_mtdparts.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_nand.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_net.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_nvedit.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_onenand.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_otp.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_pci.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_pcmcia.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_portio.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_pxe.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_reginfo.c mpc85xx: Add reginfo command 2010-07-16 10:55:09 -05:00
cmd_reiser.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_sata.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_scsi.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_setexpr.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_sf.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_sha1sum.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_source.c Stop using builtin_run_command() 2012-03-06 21:09:26 +01:00
cmd_spi.c sspi: add options to specify bus and mode 2010-10-06 20:50:38 -04:00
cmd_spibootldr.c various cmd_* files: fixed layout a little bit 2010-08-09 01:07:37 +02:00
cmd_strings.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_terminal.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_test.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cmd_time.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_tpm.c Add a cli command to test the TPM device. 2011-12-06 21:30:03 +01:00
cmd_tsi148.c common: tsi148 - fix gcc 4.6 compiler warning 2011-11-16 21:42:17 +01:00
cmd_ubi.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_ubifs.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_universe.c common/cmd_universe.c: Fix GCC 4.6 build warning 2011-11-16 21:04:55 +01:00
cmd_unzip.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_usb.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
cmd_version.c unify version_string 2011-07-28 17:22:53 +02:00
cmd_ximg.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
cmd_yaffs2.c YAFFS2: cmd_yaffs2.c - fix build warnings 2011-09-10 00:00:15 +02:00
command.c Add cmd_process() to process commands in one place 2012-03-06 21:09:41 +01:00
console.c Make printf and vprintf safe from buffer overruns 2011-12-17 23:34:43 +01:00
ddr_spd.c mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements 2011-04-04 09:24:43 -05:00
dlmalloc.c utx8245: fix build breakage due to assert() 2011-09-10 16:05:43 +02:00
dlmalloc.src * Code cleanup: 2003-06-27 21:31:46 +00:00
env_common.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_dataflash.c env: clean env_dataflash.c checkpatch and code style 2011-11-22 08:39:26 +01:00
env_eeprom.c env: clean env_eeprom.c checkpatch and code style 2011-11-22 08:39:26 +01:00
env_embedded.c env: clean env_embedded.c checkpatch and code style 2011-11-22 08:39:26 +01:00
env_flash.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_mgdisk.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_mmc.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_nand.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_nowhere.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_nvram.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_onenand.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
env_sf.c env: factor out the env_get_char_spec() function 2012-01-05 16:34:10 +01:00
exports.c Fix SPI build errors in exports.c 2011-12-07 08:41:22 +01:00
fdt_support.c Fix constness of the fdt void pointer in fdt_getprop_u32_default 2011-11-13 11:21:34 -05:00
flash.c cfi_flash: Simplify dynamic flash bank number detection 2010-09-20 15:08:51 +02:00
hush.c Add cmd_process() to process commands in one place 2012-03-06 21:09:41 +01:00
hwconfig.c Minor Coding Style Cleanup. 2011-02-02 22:36:10 +01:00
image.c common/image.c: align usage of fdt_high with initrd_high 2012-02-27 21:19:24 +01:00
iomux.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
kallsyms.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
kgdb_stubs.c kgdb: add default generic stubs 2010-01-18 00:23:00 +01:00
kgdb.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
lcd.c PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
lynxkdi.c checkpatch whitespace cleanups 2011-10-22 01:13:35 +02:00
main.c Convert cmd_usage() calls in common to use a return value 2012-03-06 21:09:46 +01:00
Makefile USB: Separate out USB hub driver 2012-03-03 16:55:24 +01:00
memsize.c Remove volatile qualifier in get_ram_size() calls 2011-07-17 17:11:53 +02:00
menu.c common, menu: do not trigger timeout again, if a line is read 2012-02-12 10:11:24 +01:00
miiphyutil.c Revert "mii: miiphy register address width change" 2011-12-07 08:35:14 +01:00
modem.c common: move extern char console_buffer[] to common.h 2011-11-22 08:39:25 +01:00
s_record.c Initial revision 2002-08-17 09:36:01 +00:00
serial.c serial: constify serial_assign() 2011-12-05 22:48:10 +01:00
stdio.c stdio: Fix a possible buffer overflow 2011-09-04 23:27:52 +02:00
system_map.c Add support for Linux-like kallsysms 2009-06-12 20:45:48 +02:00
update.c net: tftpput: Rename TFTP to TFTPGET 2011-10-26 21:33:42 +02:00
usb_hub.c USB: relax usbcore reset timings 2012-03-03 16:56:35 +01:00
usb_kbd.c USB: move keyboard polling into kbd driver 2012-03-03 16:56:29 +01:00
usb_storage.c usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM 2012-01-05 20:10:38 +01:00
usb.c USB: Make struct devrequest setup_packet local 2012-03-03 16:55:54 +01:00
xyzModem.c cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00