From 0d4983930a3559be92452761cfa268ee9d0f2773 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 1 Jul 2003 21:06:45 +0000 Subject: Patch by Kenneth Johansson, 30 Jun 2003: get rid of MK_CMD_ENTRY macro; update doc/README.command --- common/cmd_flash.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'common/cmd_flash.c') diff --git a/common/cmd_flash.c b/common/cmd_flash.c index 6914f59d5b..811b89b004 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" -- cgit v1.2.3