3 * Richard Jones, rjones@nexus-tech.net
5 * See file CREDITS for list of people who contributed to this
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30 #if (CONFIG_COMMANDS & CFG_CMD_FAT)
32 int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
33 int do_fat_fsinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
34 int do_fat_ls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
35 int do_fat_dump (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
37 #define CMD_TBL_FAT MK_CMD_TBL_ENTRY( \
38 "fatload", 5, 4, 0, do_fat_fsload, \
39 "fatload - load binary file from a dos filesystem\n", \
40 "[ off ] [ filename ]\n" \
41 " - load binary file from dos filesystem\n" \
42 " with offset 'off'\n" \
45 "fatinfo", 5, 1, 1, do_fat_fsinfo, \
46 "fatinfo - print information about filesystem\n", \
48 " - print information about filesystem\n" \
51 "fatls", 2, 2, 1, do_fat_ls, \
52 "fatls - list files in a directory (default /)\n", \
54 " - list files in a directory.\n" \
59 #endif /* CFG_CMD_FAT */
61 #endif /* _CMD_FAT_H */