diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-10-22 06:43:51 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-29 14:21:20 -0700 |
commit | 045fa1e1142552799ad3203e9e0bc22a11e866ea (patch) | |
tree | 038b783c8efac14c0caffa128f37b77a48c9f407 /common/Makefile | |
parent | 03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc (diff) | |
download | u-boot-imx-045fa1e1142552799ad3203e9e0bc22a11e866ea.zip u-boot-imx-045fa1e1142552799ad3203e9e0bc22a11e866ea.tar.gz u-boot-imx-045fa1e1142552799ad3203e9e0bc22a11e866ea.tar.bz2 |
fs: add filesystem switch libary, implement ls and fsload commands
Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load},
and transparently handle either file-system. This scheme could easily be
extended to other filesystem types; I only didn't do it for zfs because
I don't have any filesystems of that type to test with.
Replace the implementation of {fat,ext[24]}{ls,load} with this new code
too.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/Makefile b/common/Makefile index eac6360..9e43322 100644 --- a/common/Makefile +++ b/common/Makefile @@ -90,11 +90,6 @@ COBJS-$(CONFIG_CMD_ELF) += cmd_elf.o COBJS-$(CONFIG_SYS_HUSH_PARSER) += cmd_exit.o COBJS-$(CONFIG_CMD_EXT4) += cmd_ext4.o COBJS-$(CONFIG_CMD_EXT2) += cmd_ext2.o -ifdef CONFIG_CMD_EXT4 -COBJS-y += cmd_ext_common.o -else -COBJS-$(CONFIG_CMD_EXT2) += cmd_ext_common.o -endif COBJS-$(CONFIG_CMD_FAT) += cmd_fat.o COBJS-$(CONFIG_CMD_FDC)$(CONFIG_CMD_FDOS) += cmd_fdc.o COBJS-$(CONFIG_OF_LIBFDT) += cmd_fdt.o fdt_support.o @@ -104,6 +99,7 @@ COBJS-$(CONFIG_CMD_FLASH) += cmd_flash.o ifdef CONFIG_FPGA COBJS-$(CONFIG_CMD_FPGA) += cmd_fpga.o endif +COBJS-$(CONFIG_CMD_FS_GENERIC) += cmd_fs.o COBJS-$(CONFIG_CMD_GPIO) += cmd_gpio.o COBJS-$(CONFIG_CMD_I2C) += cmd_i2c.o COBJS-$(CONFIG_CMD_IDE) += cmd_ide.o |