[U-Boot] [PATCH 2/2] Remove the cmd_ prefix from command files

Bin Meng bmeng.cn at gmail.com
Mon Jan 18 05:51:12 CET 2016


On Mon, Jan 18, 2016 at 11:53 AM, Simon Glass <sjg at chromium.org> wrote:
> Now that they are in their own directory, we can remove this prefix.
> This makes it easier to find a file since the prefix does not get in the
> way.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  cmd/Makefile                                       | 258 ++++++++++-----------
>  cmd/{cmd_aes.c => aes.c}                           |   0
>  cmd/{cmd_ambapp.c => ambapp.c}                     |   0
>  cmd/{cmd_armflash.c => armflash.c}                 |   0
>  cmd/{cmd_bdinfo.c => bdinfo.c}                     |   0
>  cmd/{cmd_bedbug.c => bedbug.c}                     |   0
>  cmd/{cmd_blob.c => blob.c}                         |   0
>  cmd/{cmd_bmp.c => bmp.c}                           |   0
>  cmd/{cmd_boot.c => boot.c}                         |   0
>  cmd/{cmd_bootldr.c => bootldr.c}                   |   0
>  cmd/{cmd_bootm.c => bootm.c}                       |   0
>  cmd/{cmd_bootmenu.c => bootmenu.c}                 |   0
>  cmd/{cmd_bootstage.c => bootstage.c}               |   0
>  cmd/{cmd_cache.c => cache.c}                       |   0
>  cmd/{cmd_cbfs.c => cbfs.c}                         |   0
>  cmd/{cmd_clk.c => clk.c}                           |   0
>  cmd/{cmd_console.c => console.c}                   |   0
>  cmd/{cmd_cplbinfo.c => cplbinfo.c}                 |   0
>  cmd/{cmd_cpu.c => cpu.c}                           |   0
>  cmd/{cmd_cramfs.c => cramfs.c}                     |   0
>  ...cmd_dataflash_mmc_mux.c => dataflash_mmc_mux.c} |   0
>  cmd/{cmd_date.c => date.c}                         |   0
>  cmd/{cmd_dcr.c => dcr.c}                           |   0
>  cmd/{cmd_demo.c => demo.c}                         |   0
>  cmd/{cmd_dfu.c => dfu.c}                           |   0
>  cmd/{cmd_diag.c => diag.c}                         |   0
>  cmd/{cmd_disk.c => disk.c}                         |   0
>  cmd/{cmd_display.c => display.c}                   |   0
>  cmd/{cmd_dtt.c => dtt.c}                           |   0
>  cmd/{cmd_echo.c => echo.c}                         |   0
>  cmd/{cmd_eeprom.c => eeprom.c}                     |   0
>  cmd/{cmd_efi.c => efi.c}                           |   0
>  cmd/{cmd_elf.c => elf.c}                           |   0
>  cmd/{cmd_ethsw.c => ethsw.c}                       |   0
>  cmd/{cmd_exit.c => exit.c}                         |   0
>  cmd/{cmd_ext2.c => ext2.c}                         |   0
>  cmd/{cmd_ext4.c => ext4.c}                         |   0
>  cmd/{cmd_fastboot.c => fastboot.c}                 |   0
>  cmd/{cmd_fat.c => fat.c}                           |   0
>  cmd/{cmd_fdc.c => fdc.c}                           |   0
>  cmd/{cmd_fdt.c => fdt.c}                           |   0
>  cmd/{cmd_fitupd.c => fitupd.c}                     |   0
>  cmd/{cmd_flash.c => flash.c}                       |   0
>  cmd/{cmd_fpga.c => fpga.c}                         |   0
>  cmd/{cmd_fpgad.c => fpgad.c}                       |   0
>  cmd/{cmd_fs.c => fs.c}                             |   0
>  cmd/{cmd_fs_uuid.c => fs_uuid.c}                   |   0
>  cmd/{cmd_fuse.c => fuse.c}                         |   0
>  cmd/{cmd_gettime.c => gettime.c}                   |   0
>  cmd/{cmd_gpio.c => gpio.c}                         |   0
>  cmd/{cmd_gpt.c => gpt.c}                           |   0
>  cmd/{cmd_hash.c => hash.c}                         |   0
>  cmd/{cmd_help.c => help.c}                         |   0
>  cmd/{cmd_host.c => host.c}                         |   0
>  cmd/{cmd_i2c.c => i2c.c}                           |   0
>  cmd/{cmd_ide.c => ide.c}                           |   0
>  cmd/{cmd_immap.c => immap.c}                       |   0
>  cmd/{cmd_ini.c => ini.c}                           |   0
>  cmd/{cmd_io.c => io.c}                             |   0
>  cmd/{cmd_iotrace.c => iotrace.c}                   |   0
>  cmd/{cmd_irq.c => irq.c}                           |   0
>  cmd/{cmd_itest.c => itest.c}                       |   0
>  cmd/{cmd_jffs2.c => jffs2.c}                       |   0
>  cmd/{cmd_ldrinfo.c => ldrinfo.c}                   |   0
>  cmd/{cmd_led.c => led.c}                           |   0
>  cmd/{cmd_license.c => license.c}                   |   0
>  cmd/{cmd_load.c => load.c}                         |   0
>  cmd/{cmd_log.c => log.c}                           |   0
>  cmd/{cmd_lzmadec.c => lzmadec.c}                   |   0
>  cmd/{cmd_mac.c => mac.c}                           |   0
>  cmd/{cmd_md5sum.c => md5sum.c}                     |   0
>  cmd/{cmd_mdio.c => mdio.c}                         |   0
>  cmd/{cmd_mem.c => mem.c}                           |   0
>  cmd/{cmd_mfsl.c => mfsl.c}                         |   0
>  cmd/{cmd_mii.c => mii.c}                           |   0
>  cmd/{cmd_misc.c => misc.c}                         |   0
>  cmd/{cmd_mmc.c => mmc.c}                           |   0
>  cmd/{cmd_mmc_spi.c => mmc_spi.c}                   |   0
>  cmd/{cmd_mp.c => mp.c}                             |   0
>  cmd/{cmd_mtdparts.c => mtdparts.c}                 |   0
>  cmd/{cmd_nand.c => nand.c}                         |   0
>  cmd/{cmd_net.c => net.c}                           |   0
>  cmd/{cmd_nvedit.c => nvedit.c}                     |   0
>  cmd/{cmd_onenand.c => onenand.c}                   |   0
>  cmd/{cmd_otp.c => otp.c}                           |   0
>  cmd/{cmd_part.c => part.c}                         |   0
>  cmd/{cmd_pci.c => pci.c}                           |   0
>  cmd/{cmd_pcmcia.c => pcmcia.c}                     |   0
>  cmd/{cmd_pmic.c => pmic.c}                         |   0
>  cmd/{cmd_portio.c => portio.c}                     |   0
>  cmd/{cmd_pxe.c => pxe.c}                           |   0
>  cmd/{cmd_read.c => read.c}                         |   0
>  cmd/{cmd_reginfo.c => reginfo.c}                   |   0
>  cmd/{cmd_regulator.c => regulator.c}               |   0
>  cmd/{cmd_reiser.c => reiser.c}                     |   0
>  cmd/{cmd_remoteproc.c => remoteproc.c}             |   0
>  cmd/{cmd_sata.c => sata.c}                         |   0
>  cmd/{cmd_scsi.c => scsi.c}                         |   0
>  cmd/{cmd_setexpr.c => setexpr.c}                   |   0
>  cmd/{cmd_sf.c => sf.c}                             |   0
>  cmd/{cmd_sha1sum.c => sha1sum.c}                   |   0
>  cmd/{cmd_softswitch.c => softswitch.c}             |   0
>  cmd/{cmd_sound.c => sound.c}                       |   0
>  cmd/{cmd_source.c => source.c}                     |   0
>  cmd/{cmd_spi.c => spi.c}                           |   0
>  cmd/{cmd_spibootldr.c => spibootldr.c}             |   0
>  cmd/{cmd_spl.c => spl.c}                           |   0
>  cmd/{cmd_strings.c => strings.c}                   |   0
>  cmd/{cmd_terminal.c => terminal.c}                 |   0
>  cmd/{cmd_test.c => test.c}                         |   0
>  cmd/{cmd_thordown.c => thordown.c}                 |   0
>  cmd/{cmd_time.c => time.c}                         |   0
>  cmd/{cmd_tpm.c => tpm.c}                           |   0
>  cmd/{cmd_tpm_test.c => tpm_test.c}                 |   0
>  cmd/{cmd_trace.c => trace.c}                       |   0
>  cmd/{cmd_tsi148.c => tsi148.c}                     |   0
>  cmd/{cmd_ubi.c => ubi.c}                           |   0
>  cmd/{cmd_ubifs.c => ubifs.c}                       |   0
>  cmd/{cmd_universe.c => universe.c}                 |   0
>  cmd/{cmd_unzip.c => unzip.c}                       |   0
>  cmd/{cmd_usb.c => usb.c}                           |   0
>  cmd/{cmd_usb_mass_storage.c => usb_mass_storage.c} |   0
>  cmd/{cmd_version.c => version.c}                   |   0
>  cmd/{cmd_ximg.c => ximg.c}                         |   0
>  cmd/{cmd_yaffs2.c => yaffs2.c}                     |   0
>  cmd/{cmd_zfs.c => zfs.c}                           |   0
>  cmd/{cmd_zip.c => zip.c}                           |   0
>  127 files changed, 129 insertions(+), 129 deletions(-)
>  rename cmd/{cmd_aes.c => aes.c} (100%)
>  rename cmd/{cmd_ambapp.c => ambapp.c} (100%)
>  rename cmd/{cmd_armflash.c => armflash.c} (100%)
>  rename cmd/{cmd_bdinfo.c => bdinfo.c} (100%)
>  rename cmd/{cmd_bedbug.c => bedbug.c} (100%)
>  rename cmd/{cmd_blob.c => blob.c} (100%)
>  rename cmd/{cmd_bmp.c => bmp.c} (100%)
>  rename cmd/{cmd_boot.c => boot.c} (100%)
>  rename cmd/{cmd_bootldr.c => bootldr.c} (100%)
>  rename cmd/{cmd_bootm.c => bootm.c} (100%)
>  rename cmd/{cmd_bootmenu.c => bootmenu.c} (100%)
>  rename cmd/{cmd_bootstage.c => bootstage.c} (100%)
>  rename cmd/{cmd_cache.c => cache.c} (100%)
>  rename cmd/{cmd_cbfs.c => cbfs.c} (100%)
>  rename cmd/{cmd_clk.c => clk.c} (100%)
>  rename cmd/{cmd_console.c => console.c} (100%)
>  rename cmd/{cmd_cplbinfo.c => cplbinfo.c} (100%)
>  rename cmd/{cmd_cpu.c => cpu.c} (100%)
>  rename cmd/{cmd_cramfs.c => cramfs.c} (100%)
>  rename cmd/{cmd_dataflash_mmc_mux.c => dataflash_mmc_mux.c} (100%)
>  rename cmd/{cmd_date.c => date.c} (100%)
>  rename cmd/{cmd_dcr.c => dcr.c} (100%)
>  rename cmd/{cmd_demo.c => demo.c} (100%)
>  rename cmd/{cmd_dfu.c => dfu.c} (100%)
>  rename cmd/{cmd_diag.c => diag.c} (100%)
>  rename cmd/{cmd_disk.c => disk.c} (100%)
>  rename cmd/{cmd_display.c => display.c} (100%)
>  rename cmd/{cmd_dtt.c => dtt.c} (100%)
>  rename cmd/{cmd_echo.c => echo.c} (100%)
>  rename cmd/{cmd_eeprom.c => eeprom.c} (100%)
>  rename cmd/{cmd_efi.c => efi.c} (100%)
>  rename cmd/{cmd_elf.c => elf.c} (100%)
>  rename cmd/{cmd_ethsw.c => ethsw.c} (100%)
>  rename cmd/{cmd_exit.c => exit.c} (100%)
>  rename cmd/{cmd_ext2.c => ext2.c} (100%)
>  rename cmd/{cmd_ext4.c => ext4.c} (100%)
>  rename cmd/{cmd_fastboot.c => fastboot.c} (100%)
>  rename cmd/{cmd_fat.c => fat.c} (100%)
>  rename cmd/{cmd_fdc.c => fdc.c} (100%)
>  rename cmd/{cmd_fdt.c => fdt.c} (100%)
>  rename cmd/{cmd_fitupd.c => fitupd.c} (100%)
>  rename cmd/{cmd_flash.c => flash.c} (100%)
>  rename cmd/{cmd_fpga.c => fpga.c} (100%)
>  rename cmd/{cmd_fpgad.c => fpgad.c} (100%)
>  rename cmd/{cmd_fs.c => fs.c} (100%)
>  rename cmd/{cmd_fs_uuid.c => fs_uuid.c} (100%)
>  rename cmd/{cmd_fuse.c => fuse.c} (100%)
>  rename cmd/{cmd_gettime.c => gettime.c} (100%)
>  rename cmd/{cmd_gpio.c => gpio.c} (100%)
>  rename cmd/{cmd_gpt.c => gpt.c} (100%)
>  rename cmd/{cmd_hash.c => hash.c} (100%)
>  rename cmd/{cmd_help.c => help.c} (100%)
>  rename cmd/{cmd_host.c => host.c} (100%)
>  rename cmd/{cmd_i2c.c => i2c.c} (100%)
>  rename cmd/{cmd_ide.c => ide.c} (100%)
>  rename cmd/{cmd_immap.c => immap.c} (100%)
>  rename cmd/{cmd_ini.c => ini.c} (100%)
>  rename cmd/{cmd_io.c => io.c} (100%)
>  rename cmd/{cmd_iotrace.c => iotrace.c} (100%)
>  rename cmd/{cmd_irq.c => irq.c} (100%)
>  rename cmd/{cmd_itest.c => itest.c} (100%)
>  rename cmd/{cmd_jffs2.c => jffs2.c} (100%)
>  rename cmd/{cmd_ldrinfo.c => ldrinfo.c} (100%)
>  rename cmd/{cmd_led.c => led.c} (100%)
>  rename cmd/{cmd_license.c => license.c} (100%)
>  rename cmd/{cmd_load.c => load.c} (100%)
>  rename cmd/{cmd_log.c => log.c} (100%)
>  rename cmd/{cmd_lzmadec.c => lzmadec.c} (100%)
>  rename cmd/{cmd_mac.c => mac.c} (100%)
>  rename cmd/{cmd_md5sum.c => md5sum.c} (100%)
>  rename cmd/{cmd_mdio.c => mdio.c} (100%)
>  rename cmd/{cmd_mem.c => mem.c} (100%)
>  rename cmd/{cmd_mfsl.c => mfsl.c} (100%)
>  rename cmd/{cmd_mii.c => mii.c} (100%)
>  rename cmd/{cmd_misc.c => misc.c} (100%)
>  rename cmd/{cmd_mmc.c => mmc.c} (100%)
>  rename cmd/{cmd_mmc_spi.c => mmc_spi.c} (100%)
>  rename cmd/{cmd_mp.c => mp.c} (100%)
>  rename cmd/{cmd_mtdparts.c => mtdparts.c} (100%)
>  rename cmd/{cmd_nand.c => nand.c} (100%)
>  rename cmd/{cmd_net.c => net.c} (100%)
>  rename cmd/{cmd_nvedit.c => nvedit.c} (100%)
>  rename cmd/{cmd_onenand.c => onenand.c} (100%)
>  rename cmd/{cmd_otp.c => otp.c} (100%)
>  rename cmd/{cmd_part.c => part.c} (100%)
>  rename cmd/{cmd_pci.c => pci.c} (100%)
>  rename cmd/{cmd_pcmcia.c => pcmcia.c} (100%)
>  rename cmd/{cmd_pmic.c => pmic.c} (100%)
>  rename cmd/{cmd_portio.c => portio.c} (100%)
>  rename cmd/{cmd_pxe.c => pxe.c} (100%)
>  rename cmd/{cmd_read.c => read.c} (100%)
>  rename cmd/{cmd_reginfo.c => reginfo.c} (100%)
>  rename cmd/{cmd_regulator.c => regulator.c} (100%)
>  rename cmd/{cmd_reiser.c => reiser.c} (100%)
>  rename cmd/{cmd_remoteproc.c => remoteproc.c} (100%)
>  rename cmd/{cmd_sata.c => sata.c} (100%)
>  rename cmd/{cmd_scsi.c => scsi.c} (100%)
>  rename cmd/{cmd_setexpr.c => setexpr.c} (100%)
>  rename cmd/{cmd_sf.c => sf.c} (100%)
>  rename cmd/{cmd_sha1sum.c => sha1sum.c} (100%)
>  rename cmd/{cmd_softswitch.c => softswitch.c} (100%)
>  rename cmd/{cmd_sound.c => sound.c} (100%)
>  rename cmd/{cmd_source.c => source.c} (100%)
>  rename cmd/{cmd_spi.c => spi.c} (100%)
>  rename cmd/{cmd_spibootldr.c => spibootldr.c} (100%)
>  rename cmd/{cmd_spl.c => spl.c} (100%)
>  rename cmd/{cmd_strings.c => strings.c} (100%)
>  rename cmd/{cmd_terminal.c => terminal.c} (100%)
>  rename cmd/{cmd_test.c => test.c} (100%)
>  rename cmd/{cmd_thordown.c => thordown.c} (100%)
>  rename cmd/{cmd_time.c => time.c} (100%)
>  rename cmd/{cmd_tpm.c => tpm.c} (100%)
>  rename cmd/{cmd_tpm_test.c => tpm_test.c} (100%)
>  rename cmd/{cmd_trace.c => trace.c} (100%)
>  rename cmd/{cmd_tsi148.c => tsi148.c} (100%)
>  rename cmd/{cmd_ubi.c => ubi.c} (100%)
>  rename cmd/{cmd_ubifs.c => ubifs.c} (100%)
>  rename cmd/{cmd_universe.c => universe.c} (100%)
>  rename cmd/{cmd_unzip.c => unzip.c} (100%)
>  rename cmd/{cmd_usb.c => usb.c} (100%)
>  rename cmd/{cmd_usb_mass_storage.c => usb_mass_storage.c} (100%)
>  rename cmd/{cmd_version.c => version.c} (100%)
>  rename cmd/{cmd_ximg.c => ximg.c} (100%)
>  rename cmd/{cmd_yaffs2.c => yaffs2.c} (100%)
>  rename cmd/{cmd_zfs.c => zfs.c} (100%)
>  rename cmd/{cmd_zip.c => zip.c} (100%)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list