aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_fat.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-01 21:06:45 +0000
committerwdenk <wdenk>2003-07-01 21:06:45 +0000
commit0d4983930a3559be92452761cfa268ee9d0f2773 (patch)
treecfb77c1274a959cde007a7ac4e18b4b0d67bd253 /common/cmd_fat.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-0d4983930a3559be92452761cfa268ee9d0f2773.zip
u-boot-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_fat.c')
-rw-r--r--common/cmd_fat.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/cmd_fat.c b/common/cmd_fat.c
index 6be5555..27f8322 100644
--- a/common/cmd_fat.c
+++ b/common/cmd_fat.c
@@ -62,8 +62,8 @@ int do_fat_fsload (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return size;
}
-cmd_tbl_t U_BOOT_CMD(FATLOAD) = MK_CMD_ENTRY(
- "fatload", 4, 0, do_fat_fsload,
+U_BOOT_CMD(
+ fatload, 4, 0, do_fat_fsload,
"fatload - load binary file from a dos filesystem\n",
"[ off ] [ filename ]\n"
" - load binary file from dos filesystem\n"
@@ -83,8 +83,8 @@ int do_fat_ls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return (ret);
}
-cmd_tbl_t U_BOOT_CMD(FATLS) = MK_CMD_ENTRY(
- "fatls", 2, 1, do_fat_ls,
+U_BOOT_CMD(
+ fatls, 2, 1, do_fat_ls,
"fatls - list files in a directory (default /)\n",
"[ directory ]\n"
" - list files in a directory\n"
@@ -101,8 +101,8 @@ int do_fat_fsinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return (ret);
}
-cmd_tbl_t U_BOOT_CMD(FATINFO) = MK_CMD_ENTRY(
- "fatinfo", 1, 1, do_fat_fsinfo,
+U_BOOT_CMD(
+ fatinfo, 1, 1, do_fat_fsinfo,
"fatinfo - print information about filesystem\n",
"\n"
" - print information about filesystem\n"