summaryrefslogtreecommitdiff
path: root/common/cmd_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r--common/cmd_flash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c
index 6914f59..811b89b 100644
--- a/common/cmd_flash.c
+++ b/common/cmd_flash.c
@@ -440,15 +440,15 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
/**************************************************/
-cmd_tbl_t U_BOOT_CMD(FLINFO) = MK_CMD_ENTRY(
- "flinfo", 2, 1, do_flinfo,
+U_BOOT_CMD(
+ flinfo, 2, 1, do_flinfo,
"flinfo - print FLASH memory information\n",
"\n - print information for all FLASH memory banks\n"
"flinfo N\n - print information for FLASH memory bank # N\n"
);
-cmd_tbl_t U_BOOT_CMD(ERASE) = MK_CMD_ENTRY(
- "erase", 3, 1, do_flerase,
+U_BOOT_CMD(
+ erase, 3, 1, do_flerase,
"erase - erase FLASH memory\n",
"start end\n"
" - erase FLASH from addr 'start' to addr 'end'\n"
@@ -457,8 +457,8 @@ cmd_tbl_t U_BOOT_CMD(ERASE) = MK_CMD_ENTRY(
"erase all\n - erase all FLASH banks\n"
);
-cmd_tbl_t U_BOOT_CMD(PROTECT) = MK_CMD_ENTRY(
- "protect", 4, 1, do_protect,
+U_BOOT_CMD(
+ protect, 4, 1, do_protect,
"protect - enable or disable FLASH write protection\n",
"on start end\n"
" - protect FLASH from addr 'start' to addr 'end'\n"