summaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.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_jffs2.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.zip
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-imx-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_jffs2.c')
-rw-r--r--common/cmd_jffs2.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index e45a2ce..f591565 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -186,29 +186,29 @@ do_jffs2_chpart(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/***************************************************/
-cmd_tbl_t U_BOOT_CMD(JFFS2_FSLOAD) = MK_CMD_ENTRY(
- "fsload", 3, 0, do_jffs2_fsload,
+U_BOOT_CMD(
+ fsload, 3, 0, do_jffs2_fsload,
"fsload - load binary file from a filesystem image\n",
"[ off ] [ filename ]\n"
" - load binary file from flash bank\n"
" with offset 'off'\n"
);
-cmd_tbl_t U_BOOT_CMD(JFFS2_FSINFO) = MK_CMD_ENTRY(
- "fsinfo", 1, 1, do_jffs2_fsinfo,
+U_BOOT_CMD(
+ fsinfo, 1, 1, do_jffs2_fsinfo,
"fsinfo - print information about filesystems\n",
" - print information about filesystems\n"
);
-cmd_tbl_t U_BOOT_CMD(JFFS2_LS) = MK_CMD_ENTRY(
- "ls", 2, 1, do_jffs2_ls,
+U_BOOT_CMD(
+ ls, 2, 1, do_jffs2_ls,
"ls - list files in a directory (default /)\n",
"[ directory ]\n"
" - list files in a directory.\n"
);
-cmd_tbl_t U_BOOT_CMD(JFFS2_CHPART) = MK_CMD_ENTRY(
- "chpart", 2, 0, do_jffs2_chpart,
+U_BOOT_CMD(
+ chpart, 2, 0, do_jffs2_chpart,
"chpart - change active partition\n",
" - change active partition\n"
);