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>
259 files changed:
Kconfig
Makefile
cmd/Kconfig [new file with mode: 0644]
cmd/Makefile [new file with mode: 0644]
cmd/cmd_aes.c [new file with mode: 0644]
cmd/cmd_ambapp.c [new file with mode: 0644]
cmd/cmd_armflash.c [new file with mode: 0644]
cmd/cmd_bdinfo.c [new file with mode: 0644]
cmd/cmd_bedbug.c [new file with mode: 0644]
cmd/cmd_blob.c [new file with mode: 0644]
cmd/cmd_bmp.c [new file with mode: 0644]
cmd/cmd_boot.c [new file with mode: 0644]
cmd/cmd_bootldr.c [new file with mode: 0644]
cmd/cmd_bootm.c [new file with mode: 0644]
cmd/cmd_bootmenu.c [new file with mode: 0644]
cmd/cmd_bootstage.c [new file with mode: 0644]
cmd/cmd_cache.c [new file with mode: 0644]
cmd/cmd_cbfs.c [new file with mode: 0644]
cmd/cmd_clk.c [new file with mode: 0644]
cmd/cmd_console.c [new file with mode: 0644]
cmd/cmd_cplbinfo.c [new file with mode: 0644]
cmd/cmd_cpu.c [new file with mode: 0644]
cmd/cmd_cramfs.c [new file with mode: 0644]
cmd/cmd_dataflash_mmc_mux.c [new file with mode: 0644]
cmd/cmd_date.c [new file with mode: 0644]
cmd/cmd_dcr.c [new file with mode: 0644]
cmd/cmd_demo.c [new file with mode: 0644]
cmd/cmd_dfu.c [new file with mode: 0644]
cmd/cmd_diag.c [new file with mode: 0644]
cmd/cmd_disk.c [new file with mode: 0644]
cmd/cmd_display.c [new file with mode: 0644]
cmd/cmd_dtt.c [new file with mode: 0644]
cmd/cmd_echo.c [new file with mode: 0644]
cmd/cmd_eeprom.c [new file with mode: 0644]
cmd/cmd_efi.c [new file with mode: 0644]
cmd/cmd_elf.c [new file with mode: 0644]
cmd/cmd_ethsw.c [new file with mode: 0644]
cmd/cmd_exit.c [new file with mode: 0644]
cmd/cmd_ext2.c [new file with mode: 0644]
cmd/cmd_ext4.c [new file with mode: 0644]
cmd/cmd_fastboot.c [new file with mode: 0644]
cmd/cmd_fat.c [new file with mode: 0644]
cmd/cmd_fdc.c [new file with mode: 0644]
cmd/cmd_fdt.c [new file with mode: 0644]
cmd/cmd_fitupd.c [new file with mode: 0644]
cmd/cmd_flash.c [new file with mode: 0644]
cmd/cmd_fpga.c [new file with mode: 0644]
cmd/cmd_fpgad.c [new file with mode: 0644]
cmd/cmd_fs.c [new file with mode: 0644]
cmd/cmd_fs_uuid.c [new file with mode: 0644]
cmd/cmd_fuse.c [new file with mode: 0644]
cmd/cmd_gettime.c [new file with mode: 0644]
cmd/cmd_gpio.c [new file with mode: 0644]
cmd/cmd_gpt.c [new file with mode: 0644]
cmd/cmd_hash.c [new file with mode: 0644]
cmd/cmd_help.c [new file with mode: 0644]
cmd/cmd_host.c [new file with mode: 0644]
cmd/cmd_i2c.c [new file with mode: 0644]
cmd/cmd_ide.c [new file with mode: 0644]
cmd/cmd_immap.c [new file with mode: 0644]
cmd/cmd_ini.c [new file with mode: 0644]
cmd/cmd_io.c [new file with mode: 0644]
cmd/cmd_iotrace.c [new file with mode: 0644]
cmd/cmd_irq.c [new file with mode: 0644]
cmd/cmd_itest.c [new file with mode: 0644]
cmd/cmd_jffs2.c [new file with mode: 0644]
cmd/cmd_ldrinfo.c [new file with mode: 0644]
cmd/cmd_led.c [new file with mode: 0644]
cmd/cmd_license.c [new file with mode: 0644]
cmd/cmd_load.c [new file with mode: 0644]
cmd/cmd_log.c [new file with mode: 0644]
cmd/cmd_lzmadec.c [new file with mode: 0644]
cmd/cmd_mac.c [new file with mode: 0644]
cmd/cmd_md5sum.c [new file with mode: 0644]
cmd/cmd_mdio.c [new file with mode: 0644]
cmd/cmd_mem.c [new file with mode: 0644]
cmd/cmd_mfsl.c [new file with mode: 0644]
cmd/cmd_mii.c [new file with mode: 0644]
cmd/cmd_misc.c [new file with mode: 0644]
cmd/cmd_mmc.c [new file with mode: 0644]
cmd/cmd_mmc_spi.c [new file with mode: 0644]
cmd/cmd_mp.c [new file with mode: 0644]
cmd/cmd_mtdparts.c [new file with mode: 0644]
cmd/cmd_nand.c [new file with mode: 0644]
cmd/cmd_net.c [new file with mode: 0644]
cmd/cmd_nvedit.c [new file with mode: 0644]
cmd/cmd_onenand.c [new file with mode: 0644]
cmd/cmd_otp.c [new file with mode: 0644]
cmd/cmd_part.c [new file with mode: 0644]
cmd/cmd_pci.c [new file with mode: 0644]
cmd/cmd_pcmcia.c [new file with mode: 0644]
cmd/cmd_pmic.c [new file with mode: 0644]
cmd/cmd_portio.c [new file with mode: 0644]
cmd/cmd_pxe.c [new file with mode: 0644]
cmd/cmd_read.c [new file with mode: 0644]
cmd/cmd_reginfo.c [new file with mode: 0644]
cmd/cmd_regulator.c [new file with mode: 0644]
cmd/cmd_reiser.c [new file with mode: 0644]
cmd/cmd_remoteproc.c [new file with mode: 0644]
cmd/cmd_sata.c [new file with mode: 0644]
cmd/cmd_scsi.c [new file with mode: 0644]
cmd/cmd_setexpr.c [new file with mode: 0644]
cmd/cmd_sf.c [new file with mode: 0644]
cmd/cmd_sha1sum.c [new file with mode: 0644]
cmd/cmd_softswitch.c [new file with mode: 0644]
cmd/cmd_sound.c [new file with mode: 0644]
cmd/cmd_source.c [new file with mode: 0644]
cmd/cmd_spi.c [new file with mode: 0644]
cmd/cmd_spibootldr.c [new file with mode: 0644]
cmd/cmd_spl.c [new file with mode: 0644]
cmd/cmd_strings.c [new file with mode: 0644]
cmd/cmd_terminal.c [new file with mode: 0644]
cmd/cmd_test.c [new file with mode: 0644]
cmd/cmd_thordown.c [new file with mode: 0644]
cmd/cmd_time.c [new file with mode: 0644]
cmd/cmd_tpm.c [new file with mode: 0644]
cmd/cmd_tpm_test.c [new file with mode: 0644]
cmd/cmd_trace.c [new file with mode: 0644]
cmd/cmd_tsi148.c [new file with mode: 0644]
cmd/cmd_ubi.c [new file with mode: 0644]
cmd/cmd_ubifs.c [new file with mode: 0644]
cmd/cmd_universe.c [new file with mode: 0644]
cmd/cmd_unzip.c [new file with mode: 0644]
cmd/cmd_usb.c [new file with mode: 0644]
cmd/cmd_usb_mass_storage.c [new file with mode: 0644]
cmd/cmd_version.c [new file with mode: 0644]
cmd/cmd_ximg.c [new file with mode: 0644]
cmd/cmd_yaffs2.c [new file with mode: 0644]
cmd/cmd_zfs.c [new file with mode: 0644]
cmd/cmd_zip.c [new file with mode: 0644]
common/Kconfig
common/Makefile
common/cmd_aes.c [deleted file]
common/cmd_ambapp.c [deleted file]
common/cmd_armflash.c [deleted file]
common/cmd_bdinfo.c [deleted file]
common/cmd_bedbug.c [deleted file]
common/cmd_blob.c [deleted file]
common/cmd_bmp.c [deleted file]
common/cmd_boot.c [deleted file]
common/cmd_bootldr.c [deleted file]
common/cmd_bootm.c [deleted file]
common/cmd_bootmenu.c [deleted file]
common/cmd_bootstage.c [deleted file]
common/cmd_cache.c [deleted file]
common/cmd_cbfs.c [deleted file]
common/cmd_clk.c [deleted file]
common/cmd_console.c [deleted file]
common/cmd_cplbinfo.c [deleted file]
common/cmd_cpu.c [deleted file]
common/cmd_cramfs.c [deleted file]
common/cmd_dataflash_mmc_mux.c [deleted file]
common/cmd_date.c [deleted file]
common/cmd_dcr.c [deleted file]
common/cmd_demo.c [deleted file]
common/cmd_dfu.c [deleted file]
common/cmd_diag.c [deleted file]
common/cmd_disk.c [deleted file]
common/cmd_display.c [deleted file]
common/cmd_dtt.c [deleted file]
common/cmd_echo.c [deleted file]
common/cmd_eeprom.c [deleted file]
common/cmd_efi.c [deleted file]
common/cmd_elf.c [deleted file]
common/cmd_ethsw.c [deleted file]
common/cmd_exit.c [deleted file]
common/cmd_ext2.c [deleted file]
common/cmd_ext4.c [deleted file]
common/cmd_fastboot.c [deleted file]
common/cmd_fat.c [deleted file]
common/cmd_fdc.c [deleted file]
common/cmd_fdt.c [deleted file]
common/cmd_fitupd.c [deleted file]
common/cmd_flash.c [deleted file]
common/cmd_fpga.c [deleted file]
common/cmd_fpgad.c [deleted file]
common/cmd_fs.c [deleted file]
common/cmd_fs_uuid.c [deleted file]
common/cmd_fuse.c [deleted file]
common/cmd_gettime.c [deleted file]
common/cmd_gpio.c [deleted file]
common/cmd_gpt.c [deleted file]
common/cmd_hash.c [deleted file]
common/cmd_help.c [deleted file]
common/cmd_host.c [deleted file]
common/cmd_i2c.c [deleted file]
common/cmd_ide.c [deleted file]
common/cmd_immap.c [deleted file]
common/cmd_ini.c [deleted file]
common/cmd_io.c [deleted file]
common/cmd_iotrace.c [deleted file]
common/cmd_irq.c [deleted file]
common/cmd_itest.c [deleted file]
common/cmd_jffs2.c [deleted file]
common/cmd_ldrinfo.c [deleted file]
common/cmd_led.c [deleted file]
common/cmd_license.c [deleted file]
common/cmd_load.c [deleted file]
common/cmd_log.c [deleted file]
common/cmd_lzmadec.c [deleted file]
common/cmd_mac.c [deleted file]
common/cmd_md5sum.c [deleted file]
common/cmd_mdio.c [deleted file]
common/cmd_mem.c [deleted file]
common/cmd_mfsl.c [deleted file]
common/cmd_mii.c [deleted file]
common/cmd_misc.c [deleted file]
common/cmd_mmc.c [deleted file]
common/cmd_mmc_spi.c [deleted file]
common/cmd_mp.c [deleted file]
common/cmd_mtdparts.c [deleted file]
common/cmd_nand.c [deleted file]
common/cmd_net.c [deleted file]
common/cmd_nvedit.c [deleted file]
common/cmd_onenand.c [deleted file]
common/cmd_otp.c [deleted file]
common/cmd_part.c [deleted file]
common/cmd_pci.c [deleted file]
common/cmd_pcmcia.c [deleted file]
common/cmd_pmic.c [deleted file]
common/cmd_portio.c [deleted file]
common/cmd_pxe.c [deleted file]
common/cmd_read.c [deleted file]
common/cmd_reginfo.c [deleted file]
common/cmd_regulator.c [deleted file]
common/cmd_reiser.c [deleted file]
common/cmd_remoteproc.c [deleted file]
common/cmd_sata.c [deleted file]
common/cmd_scsi.c [deleted file]
common/cmd_setexpr.c [deleted file]
common/cmd_sf.c [deleted file]
common/cmd_sha1sum.c [deleted file]
common/cmd_softswitch.c [deleted file]
common/cmd_sound.c [deleted file]
common/cmd_source.c [deleted file]
common/cmd_spi.c [deleted file]
common/cmd_spibootldr.c [deleted file]
common/cmd_spl.c [deleted file]
common/cmd_strings.c [deleted file]
common/cmd_terminal.c [deleted file]
common/cmd_test.c [deleted file]
common/cmd_thordown.c [deleted file]
common/cmd_time.c [deleted file]
common/cmd_tpm.c [deleted file]
common/cmd_tpm_test.c [deleted file]
common/cmd_trace.c [deleted file]
common/cmd_tsi148.c [deleted file]
common/cmd_ubi.c [deleted file]
common/cmd_ubifs.c [deleted file]
common/cmd_universe.c [deleted file]
common/cmd_unzip.c [deleted file]
common/cmd_usb.c [deleted file]
common/cmd_usb_mass_storage.c [deleted file]
common/cmd_version.c [deleted file]
common/cmd_ximg.c [deleted file]
common/cmd_yaffs2.c [deleted file]
common/cmd_zfs.c [deleted file]
common/cmd_zip.c [deleted file]
scripts/Makefile.spl