summaryrefslogtreecommitdiff
path: root/common/cmd_jffs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_jffs2.c')
-rw-r--r--common/cmd_jffs2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index f7a5f9e..63fddf6 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -257,6 +257,12 @@ do_jffs2_chpart(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return 0;
}
+
+U_BOOT_CMD(
+ chpart, 2, 0, do_jffs2_chpart,
+ "chpart\t- change active partition\n",
+ " - change active partition\n"
+);
#endif /* CFG_JFFS_SINGLE_PART */
/***************************************************/
@@ -282,10 +288,4 @@ U_BOOT_CMD(
" - list files in a directory.\n"
);
-U_BOOT_CMD(
- chpart, 2, 0, do_jffs2_chpart,
- "chpart\t- change active partition\n",
- " - change active partition\n"
-);
-
#endif /* CFG_CMD_JFFS2 */