summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 1da5b03..137f34f 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -247,8 +247,8 @@ int do_nand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
}
-cmd_tbl_t U_BOOT_CMD(NAND) = MK_CMD_ENTRY(
- "nand", 5, 1, do_nand,
+U_BOOT_CMD(
+ nand, 5, 1, do_nand,
"nand - NAND sub-system\n",
"info - show available NAND devices\n"
"nand device [dev] - show or set current device\n"
@@ -363,8 +363,8 @@ int do_nandboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
-cmd_tbl_t U_BOOT_CMD(NBOOT) = MK_CMD_ENTRY(
- "nboot", 4, 1, do_nandboot,
+U_BOOT_CMD(
+ nboot, 4, 1, do_nandboot,
"nboot - boot from NAND device\n",
"loadAddr dev\n"
);