Move all command code into its own directory
authorSimon Glass <sjg@chromium.org>
Mon, 18 Jan 2016 03:53:51 +0000 (20:53 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 15:39:43 +0000 (10:39 -0500)
commit72a8cf8dccf6f8b86d1683205e032a94eaa86938
treeb29378eb8af182f0faf2028cb52465a021de40cc
parent25d5352c71dcc599030a4a764d8087185ed537d3
Move all command code into its own directory

There are a lot of unrelated files in common, including all of the commands.
Moving them into their own directory makes them easier to find and is more
logical.

Some commands include non-command code, such as cmd_scsi.c. This should be
sorted out at some point so that the function can be enabled with or without
the associated command.

Unfortunately, with m68k I get this error:

m68k:  +   M5329AFEE
+arch/m68k/cpu/mcf532x/start.o: In function `_start':
+arch/m68k/cpu/mcf532x/start.S:159:(.text+0x452): relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text.board_init_f section in common/built-in.o

I hope someone can shed some light on what this means. I hope it isn't
depending on the position of code in the image.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
133 files changed:
Kconfig
Makefile
cmd/Kconfig [new file with mode: 0644]
cmd/Makefile [new file with mode: 0644]
cmd/cmd_aes.c [moved from common/cmd_aes.c with 100% similarity]
cmd/cmd_ambapp.c [moved from common/cmd_ambapp.c with 100% similarity]
cmd/cmd_armflash.c [moved from common/cmd_armflash.c with 100% similarity]
cmd/cmd_bdinfo.c [moved from common/cmd_bdinfo.c with 100% similarity]
cmd/cmd_bedbug.c [moved from common/cmd_bedbug.c with 100% similarity]
cmd/cmd_blob.c [moved from common/cmd_blob.c with 100% similarity]
cmd/cmd_bmp.c [moved from common/cmd_bmp.c with 100% similarity]
cmd/cmd_boot.c [moved from common/cmd_boot.c with 100% similarity]
cmd/cmd_bootldr.c [moved from common/cmd_bootldr.c with 100% similarity]
cmd/cmd_bootm.c [moved from common/cmd_bootm.c with 100% similarity]
cmd/cmd_bootmenu.c [moved from common/cmd_bootmenu.c with 100% similarity]
cmd/cmd_bootstage.c [moved from common/cmd_bootstage.c with 100% similarity]
cmd/cmd_cache.c [moved from common/cmd_cache.c with 100% similarity]
cmd/cmd_cbfs.c [moved from common/cmd_cbfs.c with 100% similarity]
cmd/cmd_clk.c [moved from common/cmd_clk.c with 100% similarity]
cmd/cmd_console.c [moved from common/cmd_console.c with 100% similarity]
cmd/cmd_cplbinfo.c [moved from common/cmd_cplbinfo.c with 100% similarity]
cmd/cmd_cpu.c [moved from common/cmd_cpu.c with 100% similarity]
cmd/cmd_cramfs.c [moved from common/cmd_cramfs.c with 100% similarity]
cmd/cmd_dataflash_mmc_mux.c [moved from common/cmd_dataflash_mmc_mux.c with 100% similarity]
cmd/cmd_date.c [moved from common/cmd_date.c with 100% similarity]
cmd/cmd_dcr.c [moved from common/cmd_dcr.c with 100% similarity]
cmd/cmd_demo.c [moved from common/cmd_demo.c with 100% similarity]
cmd/cmd_dfu.c [moved from common/cmd_dfu.c with 100% similarity]
cmd/cmd_diag.c [moved from common/cmd_diag.c with 100% similarity]
cmd/cmd_disk.c [moved from common/cmd_disk.c with 100% similarity]
cmd/cmd_display.c [moved from common/cmd_display.c with 100% similarity]
cmd/cmd_dtt.c [moved from common/cmd_dtt.c with 100% similarity]
cmd/cmd_echo.c [moved from common/cmd_echo.c with 100% similarity]
cmd/cmd_eeprom.c [moved from common/cmd_eeprom.c with 100% similarity]
cmd/cmd_efi.c [moved from common/cmd_efi.c with 100% similarity]
cmd/cmd_elf.c [moved from common/cmd_elf.c with 100% similarity]
cmd/cmd_ethsw.c [moved from common/cmd_ethsw.c with 100% similarity]
cmd/cmd_exit.c [moved from common/cmd_exit.c with 100% similarity]
cmd/cmd_ext2.c [moved from common/cmd_ext2.c with 100% similarity]
cmd/cmd_ext4.c [moved from common/cmd_ext4.c with 100% similarity]
cmd/cmd_fastboot.c [moved from common/cmd_fastboot.c with 100% similarity]
cmd/cmd_fat.c [moved from common/cmd_fat.c with 100% similarity]
cmd/cmd_fdc.c [moved from common/cmd_fdc.c with 100% similarity]
cmd/cmd_fdt.c [moved from common/cmd_fdt.c with 100% similarity]
cmd/cmd_fitupd.c [moved from common/cmd_fitupd.c with 100% similarity]
cmd/cmd_flash.c [moved from common/cmd_flash.c with 100% similarity]
cmd/cmd_fpga.c [moved from common/cmd_fpga.c with 100% similarity]
cmd/cmd_fpgad.c [moved from common/cmd_fpgad.c with 100% similarity]
cmd/cmd_fs.c [moved from common/cmd_fs.c with 100% similarity]
cmd/cmd_fs_uuid.c [moved from common/cmd_fs_uuid.c with 100% similarity]
cmd/cmd_fuse.c [moved from common/cmd_fuse.c with 100% similarity]
cmd/cmd_gettime.c [moved from common/cmd_gettime.c with 100% similarity]
cmd/cmd_gpio.c [moved from common/cmd_gpio.c with 100% similarity]
cmd/cmd_gpt.c [moved from common/cmd_gpt.c with 100% similarity]
cmd/cmd_hash.c [moved from common/cmd_hash.c with 100% similarity]
cmd/cmd_help.c [moved from common/cmd_help.c with 100% similarity]
cmd/cmd_host.c [moved from common/cmd_host.c with 100% similarity]
cmd/cmd_i2c.c [moved from common/cmd_i2c.c with 100% similarity]
cmd/cmd_ide.c [moved from common/cmd_ide.c with 100% similarity]
cmd/cmd_immap.c [moved from common/cmd_immap.c with 100% similarity]
cmd/cmd_ini.c [moved from common/cmd_ini.c with 100% similarity]
cmd/cmd_io.c [moved from common/cmd_io.c with 100% similarity]
cmd/cmd_iotrace.c [moved from common/cmd_iotrace.c with 100% similarity]
cmd/cmd_irq.c [moved from common/cmd_irq.c with 100% similarity]
cmd/cmd_itest.c [moved from common/cmd_itest.c with 100% similarity]
cmd/cmd_jffs2.c [moved from common/cmd_jffs2.c with 100% similarity]
cmd/cmd_ldrinfo.c [moved from common/cmd_ldrinfo.c with 100% similarity]
cmd/cmd_led.c [moved from common/cmd_led.c with 100% similarity]
cmd/cmd_license.c [moved from common/cmd_license.c with 100% similarity]
cmd/cmd_load.c [moved from common/cmd_load.c with 100% similarity]
cmd/cmd_log.c [moved from common/cmd_log.c with 100% similarity]
cmd/cmd_lzmadec.c [moved from common/cmd_lzmadec.c with 100% similarity]
cmd/cmd_mac.c [moved from common/cmd_mac.c with 100% similarity]
cmd/cmd_md5sum.c [moved from common/cmd_md5sum.c with 100% similarity]
cmd/cmd_mdio.c [moved from common/cmd_mdio.c with 100% similarity]
cmd/cmd_mem.c [moved from common/cmd_mem.c with 100% similarity]
cmd/cmd_mfsl.c [moved from common/cmd_mfsl.c with 100% similarity]
cmd/cmd_mii.c [moved from common/cmd_mii.c with 100% similarity]
cmd/cmd_misc.c [moved from common/cmd_misc.c with 100% similarity]
cmd/cmd_mmc.c [moved from common/cmd_mmc.c with 100% similarity]
cmd/cmd_mmc_spi.c [moved from common/cmd_mmc_spi.c with 100% similarity]
cmd/cmd_mp.c [moved from common/cmd_mp.c with 100% similarity]
cmd/cmd_mtdparts.c [moved from common/cmd_mtdparts.c with 100% similarity]
cmd/cmd_nand.c [moved from common/cmd_nand.c with 100% similarity]
cmd/cmd_net.c [moved from common/cmd_net.c with 100% similarity]
cmd/cmd_nvedit.c [moved from common/cmd_nvedit.c with 100% similarity]
cmd/cmd_onenand.c [moved from common/cmd_onenand.c with 100% similarity]
cmd/cmd_otp.c [moved from common/cmd_otp.c with 100% similarity]
cmd/cmd_part.c [moved from common/cmd_part.c with 100% similarity]
cmd/cmd_pci.c [moved from common/cmd_pci.c with 100% similarity]
cmd/cmd_pcmcia.c [moved from common/cmd_pcmcia.c with 100% similarity]
cmd/cmd_pmic.c [moved from common/cmd_pmic.c with 100% similarity]
cmd/cmd_portio.c [moved from common/cmd_portio.c with 100% similarity]
cmd/cmd_pxe.c [moved from common/cmd_pxe.c with 100% similarity]
cmd/cmd_read.c [moved from common/cmd_read.c with 100% similarity]
cmd/cmd_reginfo.c [moved from common/cmd_reginfo.c with 100% similarity]
cmd/cmd_regulator.c [moved from common/cmd_regulator.c with 100% similarity]
cmd/cmd_reiser.c [moved from common/cmd_reiser.c with 100% similarity]
cmd/cmd_remoteproc.c [moved from common/cmd_remoteproc.c with 100% similarity]
cmd/cmd_sata.c [moved from common/cmd_sata.c with 100% similarity]
cmd/cmd_scsi.c [moved from common/cmd_scsi.c with 100% similarity]
cmd/cmd_setexpr.c [moved from common/cmd_setexpr.c with 100% similarity]
cmd/cmd_sf.c [moved from common/cmd_sf.c with 100% similarity]
cmd/cmd_sha1sum.c [moved from common/cmd_sha1sum.c with 100% similarity]
cmd/cmd_softswitch.c [moved from common/cmd_softswitch.c with 100% similarity]
cmd/cmd_sound.c [moved from common/cmd_sound.c with 100% similarity]
cmd/cmd_source.c [moved from common/cmd_source.c with 100% similarity]
cmd/cmd_spi.c [moved from common/cmd_spi.c with 100% similarity]
cmd/cmd_spibootldr.c [moved from common/cmd_spibootldr.c with 100% similarity]
cmd/cmd_spl.c [moved from common/cmd_spl.c with 100% similarity]
cmd/cmd_strings.c [moved from common/cmd_strings.c with 100% similarity]
cmd/cmd_terminal.c [moved from common/cmd_terminal.c with 100% similarity]
cmd/cmd_test.c [moved from common/cmd_test.c with 100% similarity]
cmd/cmd_thordown.c [moved from common/cmd_thordown.c with 100% similarity]
cmd/cmd_time.c [moved from common/cmd_time.c with 100% similarity]
cmd/cmd_tpm.c [moved from common/cmd_tpm.c with 100% similarity]
cmd/cmd_tpm_test.c [moved from common/cmd_tpm_test.c with 100% similarity]
cmd/cmd_trace.c [moved from common/cmd_trace.c with 100% similarity]
cmd/cmd_tsi148.c [moved from common/cmd_tsi148.c with 100% similarity]
cmd/cmd_ubi.c [moved from common/cmd_ubi.c with 100% similarity]
cmd/cmd_ubifs.c [moved from common/cmd_ubifs.c with 100% similarity]
cmd/cmd_universe.c [moved from common/cmd_universe.c with 100% similarity]
cmd/cmd_unzip.c [moved from common/cmd_unzip.c with 100% similarity]
cmd/cmd_usb.c [moved from common/cmd_usb.c with 100% similarity]
cmd/cmd_usb_mass_storage.c [moved from common/cmd_usb_mass_storage.c with 100% similarity]
cmd/cmd_version.c [moved from common/cmd_version.c with 100% similarity]
cmd/cmd_ximg.c [moved from common/cmd_ximg.c with 100% similarity]
cmd/cmd_yaffs2.c [moved from common/cmd_yaffs2.c with 100% similarity]
cmd/cmd_zfs.c [moved from common/cmd_zfs.c with 100% similarity]
cmd/cmd_zip.c [moved from common/cmd_zip.c with 100% similarity]
common/Kconfig
common/Makefile
scripts/Makefile.spl