]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
General help message cleanup
authorWolfgang Denk <wd@denx.de>
Sun, 24 May 2009 15:06:54 +0000 (17:06 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:47:16 +0000 (20:47 +0200)
Many of the help messages were not really helpful; for example, many
commands that take no arguments would not print a correct synopsis
line, but "No additional help available." which is not exactly wrong,
but not helpful either.

Commit ``Make "usage" messages more helpful.'' changed this
partially. But it also became clear that lots of "Usage" and "Help"
messages (fields "usage" and "help" in struct cmd_tbl_s respective)
were actually redundant.

This patch cleans this up - for example:

Before:
=> help dtt
dtt - Digital Thermometer and Thermostat

Usage:
dtt         - Read temperature from digital thermometer and thermostat.

After:
=> help dtt
dtt - Read temperature from Digital Thermometer and Thermostat

Usage:
dtt

Signed-off-by: Wolfgang Denk <wd@denx.de>
165 files changed:
board/BuS/EB+MCF-EV123/EB+MCF-EV123.c
board/ads5121/ads5121_diu.c
board/amcc/acadia/cmd_acadia.c
board/amcc/canyonlands/bootstrap.c
board/amcc/katmai/cmd_katmai.c
board/amcc/kilauea/cmd_pll.c
board/amcc/luan/luan.c
board/amcc/makalu/cmd_pll.c
board/amcc/sequoia/cmd_sequoia.c
board/amcc/taihu/lcd.c
board/amcc/taihu/taihu.c
board/amcc/taihu/update.c
board/amcc/taishan/lcd.c
board/amcc/taishan/showinfo.c
board/amcc/taishan/update.c
board/amcc/yucca/cmd_yucca.c
board/amirix/ap1000/ap1000.c
board/amirix/ap1000/powerspan.c
board/barco/barco.c
board/bc3450/cmd_bc3450.c
board/bf537-stamp/cmd_bf537led.c
board/cm5200/cmd_cm5200.c
board/delta/delta.c
board/esd/ar405/ar405.c
board/esd/cms700/cms700.c
board/esd/common/auto_update.c
board/esd/common/cmd_loadpci.c
board/esd/common/lcd.c
board/esd/common/xilinx_jtag/micro.c
board/esd/cpci2dp/cpci2dp.c
board/esd/cpci405/cpci405.c
board/esd/cpci5200/cpci5200.c
board/esd/cpci750/cpci750.c
board/esd/dasa_sim/cmd_dasa_sim.c
board/esd/du440/du440.c
board/esd/hh405/hh405.c
board/esd/ocrtc/cmd_ocrtc.c
board/esd/pci405/cmd_pci405.c
board/esd/pci405/pci405.c
board/esd/pf5200/pf5200.c
board/esd/plu405/plu405.c
board/esd/pmc440/cmd_pmc440.c
board/esd/tasreg/tasreg.c
board/esd/voh405/voh405.c
board/evb64260/zuma_pbb.c
board/freescale/common/pixis.c
board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
board/g2000/g2000.c
board/hymod/bsp.c
board/inka4x0/inkadiag.c
board/keymile/common/keymile_hdlc_enet.c
board/lwmon/lwmon.c
board/lwmon5/kbd.c
board/lwmon5/lwmon5.c
board/micronas/vct/smc_eeprom.c
board/mpl/mip405/cmd_mip405.c
board/mpl/pati/cmd_pati.c
board/mpl/pip405/cmd_pip405.c
board/mpl/vcma9/cmd_vcma9.c
board/pcippc2/pcippc2.c
board/pcs440ep/pcs440ep.c
board/pn62/cmd_pn62.c
board/prodrive/pdnb3/pdnb3.c
board/pxa255_idp/pxa_idp.c
board/r360mpi/r360mpi.c
board/renesas/sh7785lcr/rtl8169_mac.c
board/renesas/sh7785lcr/selfcheck.c
board/renesas/sh7785lcr/sh7785lcr.c
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/karef/karef.c
board/sandburst/metrobox/metrobox.c
board/siemens/common/fpga.c
board/siemens/pcu_e/pcu_e.c
board/ssv/common/cmd_sled.c
board/ssv/common/wd_pio.c
board/tqc/tqm5200/cmd_stk52xx.c
board/tqc/tqm5200/cmd_tb5200.c
board/tqc/tqm8272/tqm8272.c
board/trab/cmd_trab.c
board/trab/trab.c
board/trizepsiv/eeprom.c
board/w7o/cmd_vpd.c
board/zeus/update.c
board/zeus/zeus.c
common/cmd_ambapp.c
common/cmd_bdinfo.c
common/cmd_bedbug.c
common/cmd_bmp.c
common/cmd_boot.c
common/cmd_bootldr.c
common/cmd_bootm.c
common/cmd_cache.c
common/cmd_cplbinfo.c
common/cmd_dataflash_mmc_mux.c
common/cmd_date.c
common/cmd_dcr.c
common/cmd_df.c
common/cmd_diag.c
common/cmd_display.c
common/cmd_doc.c
common/cmd_dtt.c
common/cmd_eeprom.c
common/cmd_elf.c
common/cmd_ext2.c
common/cmd_fat.c
common/cmd_fdc.c
common/cmd_fdos.c
common/cmd_fdt.c
common/cmd_flash.c
common/cmd_fpga.c
common/cmd_i2c.c
common/cmd_ide.c
common/cmd_immap.c
common/cmd_irq.c
common/cmd_itest.c
common/cmd_jffs2.c
common/cmd_license.c
common/cmd_load.c
common/cmd_log.c
common/cmd_mac.c
common/cmd_mem.c
common/cmd_mfsl.c
common/cmd_mgdisk.c
common/cmd_mii.c
common/cmd_misc.c
common/cmd_mmc.c
common/cmd_mp.c
common/cmd_mtdparts.c
common/cmd_nand.c
common/cmd_net.c
common/cmd_nvedit.c
common/cmd_onenand.c
common/cmd_otp.c
common/cmd_pci.c
common/cmd_pcmcia.c
common/cmd_portio.c
common/cmd_reginfo.c
common/cmd_reiser.c
common/cmd_sata.c
common/cmd_scsi.c
common/cmd_setexpr.c
common/cmd_sf.c
common/cmd_source.c
common/cmd_spi.c
common/cmd_strings.c
common/cmd_ubi.c
common/cmd_ubifs.c
common/cmd_universe.c
common/cmd_usb.c
common/cmd_vfd.c
common/cmd_ximg.c
common/cmd_yaffs2.c
common/command.c
common/hush.c
common/lcd.c
cpu/arm_cortexa8/omap3/board.c
cpu/mpc512x/iim.c
cpu/mpc512x/speed.c
cpu/mpc83xx/speed.c
cpu/nios/asmi.c
cpu/nios2/epcs.c
cpu/nios2/sysid.c
drivers/gpio/pca953x.c
drivers/misc/ds4510.c
drivers/qe/qe.c

index 02a095ef8df4fb401b5324dfc76dc3f37c77ce10..73dfb3d52b9d47bd07dabf4ea7635e0ac85b1218 100644 (file)
@@ -156,7 +156,7 @@ int do_vcimage (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        vcimage,        2,      0,      do_vcimage,
        "loads an image to Display",
-       "vcimage addr\n"
+       "vcimage addr"
 );
 
 /* EOF EB+MCF-EV123c */
index 41a135314f4c09ac1e5bed53582306dafcbbf324..1dd60afa4f12af172913c2ad2859fb19d1bc4187 100644 (file)
@@ -131,7 +131,7 @@ U_BOOT_CMD(
        diufb, CONFIG_SYS_MAXARGS, 1, ads5121diu_init_show_bmp,
        "Init or Display BMP file",
        "init\n    - initialize DIU\n"
-       "addr\n    - display bmp at address 'addr'\n"
+       "addr\n    - display bmp at address 'addr'"
        );
 
 
index d47cf1af5742856b00b85341b191c0f0f37f830a..c427f9ebc673f9328512fd07ba034fde5c197980 100644 (file)
@@ -97,5 +97,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        bootstrap,      3,      0,      do_bootstrap,
        "program the I2C bootstrap EEPROM",
-       "<cpu-freq> <nor|nand> - program the I2C bootstrap EEPROM\n"
-       );
+       "<cpu-freq> <nor|nand> - program the I2C bootstrap EEPROM"
+);
index 30046fee3ab6d8c051a58f4730dff33c22274b38..6dc2ccae96fc9753d06e4e20f9f3d3593f517eeb 100644 (file)
@@ -191,5 +191,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        bootstrap,      2,      0,      do_bootstrap,
        "program the I2C bootstrap EEPROM",
-       "<nand|nor> - strap to boot from NAND or NOR flash\n"
-       );
+       "<nand|nor> - strap to boot from NAND or NOR flash"
+);
index 2c2849b015a50b70d14fe75e198bad1d48858377..335d30c368e749ddd2a9f8b5f18b1ea754ea7eb0 100644 (file)
@@ -214,5 +214,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        bootstrap,      3,      1,      do_bootstrap,
        "program the serial device strap",
-       "wrclk [prom0|prom1] - program the serial device strap\n"
-       );
+       "wrclk [prom0|prom1] - program the serial device strap"
+);
index 6b38493e59ce28e082ee938add483b6676d3d99b..9bae67e5633064f4f249b7d1e9765c99cee7c552 100644 (file)
@@ -291,7 +291,7 @@ U_BOOT_CMD(
        RCONF: Read current eeprom configuration.      \n\
        -----------------------------------------------\n\
        WTEST: Test EEPROM write with predefined values\n\
-       -----------------------------------------------\n"
-       );
+       -----------------------------------------------"
+);
 
 #endif /* CONFIG_CMD_EEPROM */
index d2a3b9ec3d49760e15a3a43f872ed3680a2f2390..7d02d904e09eac8bf14c4ca5aef2e9b6a3fc1a4e 100644 (file)
@@ -331,5 +331,5 @@ U_BOOT_CMD(
        l2cache,   2,   1,     do_l2cache,
        "enable or disable L2 cache",
        "[on, off]\n"
-       "    - enable or disable L2 cache\n"
-       );
+       "    - enable or disable L2 cache"
+);
index 6b38493e59ce28e082ee938add483b6676d3d99b..9bae67e5633064f4f249b7d1e9765c99cee7c552 100644 (file)
@@ -291,7 +291,7 @@ U_BOOT_CMD(
        RCONF: Read current eeprom configuration.      \n\
        -----------------------------------------------\n\
        WTEST: Test EEPROM write with predefined values\n\
-       -----------------------------------------------\n"
-       );
+       -----------------------------------------------"
+);
 
 #endif /* CONFIG_CMD_EEPROM */
index 6dfd8ba381fc7552064380d69cb689e2a01ae01c..01dd97c84db384e86df10173c468935bf5a2d4ad 100644 (file)
@@ -227,5 +227,5 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        bootstrap,      2,      0,      do_bootstrap,
        "program the I2C bootstrap EEPROM",
-       "<nand|nor> - strap to boot from NAND or NOR flash\n"
-       );
+       "<nand|nor> - strap to boot from NAND or NOR flash"
+);
index 6b68f335634731a0a30f0974d2fba0e6ae4f6e37..c3dc9837b500ac9d8a0ab8db7071ca51243bb1da 100644 (file)
@@ -233,25 +233,25 @@ static int do_lcd_cur (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        lcd_cls, 1, 1, do_lcd_clear,
        "lcd clear display",
-       NULL
-       );
+       ""
+);
 
 U_BOOT_CMD(
        lcd_puts, 2, 1, do_lcd_puts,
        "display string on lcd",
-       "<string> - <string> to be displayed\n"
-       );
+       "<string> - <string> to be displayed"
+);
 
 U_BOOT_CMD(
        lcd_putc, 2, 1, do_lcd_putc,
        "display char on lcd",
-       "<char> - <char> to be displayed\n"
-       );
+       "<char> - <char> to be displayed"
+);
 
 U_BOOT_CMD(
        lcd_cur, 3, 1, do_lcd_cur,
        "shift cursor on lcd",
        "<count> <dir> - shift cursor on lcd <count> times, direction is <dir> \n"
        " <count> - 0..31\n"
-       " <dir>   - 0=backward 1=forward\n"
-       );
+       " <dir>   - 0=backward 1=forward"
+);
index 669429b67ffcb5d67359e9acaaa0458d57f5ebba..d8806ac32dd491fcf0e08b026d9a34bf604a5585 100644 (file)
@@ -94,8 +94,8 @@ static int do_sw_stat(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
 U_BOOT_CMD (
        sw2_stat, 1, 1, do_sw_stat,
        "show status of switch 2",
-       NULL
-       );
+       ""
+);
 
 static int do_led_ctl(cmd_tbl_t* cmd_tp, int flags, int argc, char *argv[])
 {
@@ -134,8 +134,8 @@ U_BOOT_CMD (
        led_ctl, 3, 1, do_led_ctl,
        "make led 1 or 2  on or off",
        "<led_no> <on/off>      -  make led <led_no> on/off,\n"
-       "\tled_no is 1 or 2\t"
-       );
+       "\tled_no is 1 or 2"
+);
 
 #define SPI_CS_GPIO0   0
 #define SPI_SCLK_GPIO14        14
index 8e969056cc97d973c51a50920f66ca166d86057c..f9c31b3927b4eefd503d03edf200889a4b22184a 100644 (file)
@@ -128,5 +128,5 @@ static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[]
 U_BOOT_CMD (
        update_boot_eeprom, 1, 1, update_boot_eeprom,
        "update boot eeprom content",
-       NULL
-       );
+       ""
+);
index e4d070570aaa482ef2a63cdf016ed0555ee1124f..d432cc3d056230dfc859d976a5b73281f9c39edb 100644 (file)
@@ -254,18 +254,18 @@ static int do_lcd_cur(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        return 0;
 }
 
-U_BOOT_CMD(lcd_test, 1, 1, do_lcd_test, "lcd test display", NULL);
-U_BOOT_CMD(lcd_cls, 1, 1, do_lcd_clear, "lcd clear display", NULL);
+U_BOOT_CMD(lcd_test, 1, 1, do_lcd_test, "lcd test display", "");
+U_BOOT_CMD(lcd_cls, 1, 1, do_lcd_clear, "lcd clear display", "");
 U_BOOT_CMD(lcd_puts, 2, 1, do_lcd_puts,
           "display string on lcd",
-          "<string> - <string> to be displayed\n");
+          "<string> - <string> to be displayed");
 U_BOOT_CMD(lcd_putc, 2, 1, do_lcd_putc,
           "display char on lcd",
-          "<char> - <char> to be displayed\n");
+          "<char> - <char> to be displayed");
 U_BOOT_CMD(lcd_cur, 3, 1, do_lcd_cur,
           "shift cursor on lcd",
           "<count> <dir>- shift cursor on lcd <count> times, direction is <dir> \n"
-          " <count> - 0~31\n" " <dir> - 0,backward; 1, forward\n");
+          " <count> - 0~31\n" " <dir> - 0,backward; 1, forward");
 
 #if 0 /* test-only */
 void set_phy_loopback_mode(void)
@@ -373,8 +373,8 @@ static int do_led_test_on(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(ledon, 1, 1, do_led_test_on,
-          "led test light on", NULL);
+          "led test light on", "");
 
 U_BOOT_CMD(ledoff, 1, 1, do_led_test_off,
-          "led test light off", NULL);
+          "led test light off", "");
 #endif
index b471c956e4ed7f519dc7dca46717fc2eb9fea1f7..2a78a22e65e57d644efe0b7fed7749562aa6d022 100644 (file)
@@ -168,7 +168,7 @@ int do_show_xbridge_info(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(xbriinfo, 1, 1, do_show_xbridge_info,
-          "Show PCIX bridge info", NULL);
+          "Show PCIX bridge info", "");
 
 #define TAISHAN_PCI_DEV_ID0 0x800
 #define TAISHAN_PCI_DEV_ID1 0x1000
@@ -222,7 +222,7 @@ int do_show_pcix_device_info(cmd_tbl_t * cmdtp, int flag, int argc,
 }
 
 U_BOOT_CMD(xdevinfo, 1, 1, do_show_pcix_device_info,
-          "Show PCIX Device info", NULL);
+          "Show PCIX Device info", "");
 
 extern void show_reset_reg(void);
 
@@ -233,4 +233,4 @@ int do_show_reset_reg_info(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(resetinfo, 1, 1, do_show_reset_reg_info,
-          "Show Reset REG info", NULL);
+          "Show Reset REG info", "");
index 63f874488e68366fefa116cc7dd1f0e01501a82c..aab3a6577c054a976d5ed61d1b591a473da81384 100644 (file)
@@ -74,5 +74,5 @@ int do_update_boot_eeprom(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(update_boot_eeprom, 1, 1, do_update_boot_eeprom,
-          "update bootstrap eeprom content", NULL);
+          "update bootstrap eeprom content", "");
 #endif
index d2ca2572d7d0a6c59f91229ff49d1e3d86a9366c..ed6daa38993b5666c86007d639768d2dbaed0d74 100644 (file)
@@ -282,5 +282,5 @@ static int setBootStrapClock(cmd_tbl_t *cmdtp, int incrflag, int flag,
 U_BOOT_CMD(
        evb440spe,      3,      1,      do_evb440spe,
        "program the serial device strap",
-       "wrclk [prom0|prom1] - program the serial device strap\n"
+       "wrclk [prom0|prom1] - program the serial device strap"
 );
index fcf26984ff5be6004dc354dc49236a3f762cac6a..cadfe0b5bc050196fd6acc198bce90fe24de0193 100644 (file)
@@ -670,14 +670,14 @@ U_BOOT_CMD (temp, 6, 0, do_temp_sensor,
            "        - Set config options.\n"
            "\n"
            "All values can be decimal or hex (hex preceded with 0x).\n"
-           "Only whole numbers are supported for external limits.\n");
+           "Only whole numbers are supported for external limits.");
 
 #if 0
 U_BOOT_CMD (loadace, 2, 0, do_loadace,
            "load fpga configuration from System ACE compact flash",
            "N\n"
            "    - Load configuration N (0-7) from System ACE compact flash\n"
-           "loadace\n" "    - loads default configuration\n");
+           "loadace\n" "    - loads default configuration");
 #endif
 
 U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,
@@ -685,19 +685,19 @@ U_BOOT_CMD (swconfig, 2, 0, do_swconfigbyte,
            "N [ADDRESS]\n"
            "    - set software configuration byte to N, optionally use ADDRESS as\n"
            "      location of buffer for flash copy\n"
-           "swconfig\n" "    - display software configuration byte\n");
+           "swconfig\n" "    - display software configuration byte");
 
 U_BOOT_CMD (pause, 2, 0, do_pause,
            "sleep processor until any key is pressed with poll time of N seconds",
            "N\n"
            "    - sleep processor until any key is pressed with poll time of N seconds\n"
            "pause\n"
-           "    - sleep processor until any key is pressed with poll time of 1 second\n");
+           "    - sleep processor until any key is pressed with poll time of 1 second");
 
 U_BOOT_CMD (swrecon, 1, 0, do_swreconfig,
            "trigger a board reconfigure to the software selected configuration",
            "\n"
-           "    - trigger a board reconfigure to the software selected configuration\n");
+           "    - trigger a board reconfigure to the software selected configuration");
 
 int board_eth_init(bd_t *bis)
 {
index f727061df7bb25826e13efb6e3d1175fc52aa3b2..28e2bbc47832d3962d54b80a18b5b15a4a4864d3 100644 (file)
@@ -487,7 +487,7 @@ U_BOOT_CMD (eeprom, 4, 0, do_eeprom,
            "    - store contents of eeprom at address ADD\n"
            "eeprom p ADD\n"
            "    - put data stored at address ADD into the eeprom\n"
-           "eeprom d\n" "    - return eeprom to default contents\n");
+           "eeprom d\n" "    - return eeprom to default contents");
 
 unsigned int PowerSpanRead (unsigned int theOffset)
 {
index a19e1edabb24ba2ef8702190b274eb4827454bc4..d7a00782b8bef756a127f350269fb31ea10a3f5b 100644 (file)
@@ -307,19 +307,19 @@ int barcobcd_boot_image (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD (
                try_working, 1, 1, barcobcd_boot_image,
                "check flash value and boot the appropriate image",
-               "\n"
+               ""
          );
 
 U_BOOT_CMD (
                boot_working, 1, 1, barcobcd_boot_image,
                "check flash value and boot the appropriate image",
-               "\n"
+               ""
          );
 
 U_BOOT_CMD (
                boot_default, 1, 1, barcobcd_boot_image,
                "check flash value and boot the appropriate image",
-               "\n"
+               ""
          );
 /*
  * We are not using serial communication, so just provide empty functions
index aa46e5812f2baba4adb80aabf65c9e37cac0ba7e..271ffb1d1fa7651888ae46f543a3b9e3fcb57ba7 100644 (file)
@@ -198,7 +198,7 @@ U_BOOT_CMD (dip, 1, 1, cmd_dip,
            "\n"
            "     - prints the state of the dip switch and/or\n"
            "       external configuration inputs as hex value.\n"
-           "     - \"Config 1\" is the LSB\n");
+           "     - \"Config 1\" is the LSB");
 
 
 /*
@@ -229,7 +229,7 @@ static int cmd_buz (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (buz, 2, 1, cmd_buz,
            "turns buzzer on/off",
-           "\n" "buz <on/off>\n" "     - turns the buzzer on or off\n");
+           "\n" "buz <on/off>\n" "     - turns the buzzer on or off");
 #endif /* CONFIG_BC3450_BUZZER */
 
 
@@ -326,14 +326,14 @@ U_BOOT_CMD (fp, 3, 1, cmd_fp,
            "\n"
            "fp bl <on/off>\n"
            "     - turns the CCFL backlight of the display on/off\n"
-           "fp <on/off>\n" "     - turns the whole display on/off\n"
+           "fp <on/off>\n" "     - turns the whole display on/off"
 #ifdef CONFIG_BC3450_CRT
+           "\n"
            "fp crt <on/off>\n"
-           "     - enables/disables the crt output (debug only)\n"
+           "     - enables/disables the crt output (debug only)"
 #endif /* CONFIG_BC3450_CRT */
        );
 
-
 /*
  * temp - DS1620 thermometer
  */
@@ -524,7 +524,7 @@ static int cmd_temp (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (temp, 3, 1, cmd_temp,
            "print current temperature",
-           "\n" "temp\n" "     - print current temperature\n");
+           "\n" "temp\n" "     - print current temperature");
 
 #ifdef CONFIG_BC3450_CAN
 /*
@@ -818,10 +818,11 @@ int cmd_test (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (test, 2, 1, cmd_test, "unit test routines", "\n"
 #ifdef CONFIG_BC3450_CAN
-           "test can\n"
-           "     - connect CAN1 (X8) with CAN2 (X9) for this test\n"
+       "test can\n"
+       "     - connect CAN1 (X8) with CAN2 (X9) for this test\n"
 #endif /* CONFIG_BC3450_CAN */
-           "test unit-off\n"
-           "     - turns off the BC3450 unit\n"
-           "       WARNING: Unsaved environment variables will be lost!\n");
+       "test unit-off\n"
+       "     - turns off the BC3450 unit\n"
+       "       WARNING: Unsaved environment variables will be lost!"
+);
 #endif
index e77bb0cb19a32967590cb91a13ffc586218b6db4..e65c4f83595f8638fd02d59959e646f44f9df3b2 100644 (file)
@@ -33,7 +33,7 @@
        "led <number> <action>\n" \
        "    <number>  - Index (0-5) of LED to change, or \"all\"\n" \
        "    <action>  - Must be one of:\n" \
-       "               on off toggle\n"
+       "               on off toggle"
 
 /* Number of LEDs supported by the board */
 #define NUMBER_LEDS     6
@@ -191,7 +191,7 @@ void set_led_state(int index, int state)
 /* Display usage information */
 void show_cmd_usage()
 {
-       printf("Usage:\n%s", USAGE_LONG);
+       printf("Usage:\n%s\n", USAGE_LONG);
 }
 
 /* Register information for u-boot to find this command */
index f009eede27624cb30ec3995c1cffad6f4a729a7d..cd98ae219fdf4349f25131565c83fc999ec7dcce 100644 (file)
@@ -443,6 +443,6 @@ U_BOOT_CMD(
        "fkt rs232 number\n"
        "     - Test RS232 (loopback plug(s) for RS232 required)\n"
        "fkt usb\n"
-       "     - Test USB communication\n"
+       "     - Test USB communication"
 );
 #endif /* CONFIG_CMD_BSP */
index 73e6c3e37478de30101d5db659bde9c2fc67bbc2..84ff47e53c7af9b5cdb906e51dd411d75bd0d3f2 100644 (file)
@@ -260,7 +260,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
           kbd, 1,      1,      do_kbd,
           "read keyboard status",
-          NULL
+          ""
 );
 
 #endif /* DELTA_CHECK_KEYBD */
index 14520e11a6e0f9bbdafc1ec990416a60c347e69d..9d1b6d26442a6b98bfd5cdfd53e793a38bbec31e 100644 (file)
@@ -247,9 +247,8 @@ int do_digtest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        digtest,        3,      1,      do_digtest,
        "Test digital in-/output",
-       NULL
-       );
-
+       ""
+);
 
 #define ERROR_DELTA     256
 
@@ -341,8 +340,8 @@ int do_anatest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        anatest,        2,      1,      do_anatest,
        "Test analog in-/output",
-       NULL
-       );
+       ""
+);
 
 
 int counter = 0;
@@ -408,6 +407,6 @@ int do_inctest(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        inctest,        3,      1,      do_inctest,
        "Test incremental encoder inputs",
-       NULL
-       );
+       ""
+);
 #endif
index 658a26796a1b989974e71cec75f4159a74d88c3e..01b12232b19606dd6008c45f6adc425007931614 100644 (file)
@@ -189,8 +189,9 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren,    2,      0,      do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
 
 /* ------------------------------------------------------------------------- */
index 8593125ef1dd2a281795e20b266b5f6fc2364d32..33aeb46d2647f3da33ff424bd52af8e87516ee76 100644 (file)
@@ -551,6 +551,6 @@ int auto_update(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        autoupd,        1,      1,      auto_update,
        "Automatically update images",
-       NULL
+       ""
 );
 #endif /* CONFIG_AUTO_UPDATE */
index c779f793d8ac5abe12a9ada0663cef8d2f485b69..47e946f116a32ea46228a9fc21a4b21027280755 100644 (file)
@@ -124,7 +124,7 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        loadpci,        1,      1,      do_loadpci,
        "Wait for pci bootcmd and boot it",
-       NULL
-       );
+       ""
+);
 
 #endif
index 066df74bf38f25537bbc54b610fde9b25db61ab6..5c50b4c8dca47e2910e729addd779b6001921ff4 100644 (file)
@@ -373,5 +373,5 @@ int do_esdbmp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        esdbmp, 2,      1,      do_esdbmp,
        "display BMP image",
-       "<imageAddr> - display image\n"
+       "<imageAddr> - display image"
 );
index 37ac0cc4eb791b34f792a53a75aac9712141a6b0..414e82135c849ed8a1a40c46bd79738c8f20d1dc 100644 (file)
@@ -1869,4 +1869,4 @@ U_BOOT_CMD(
        cpld,   2,      1,      do_cpld,
        "program onboard CPLD",
        "<xsvf-addr>"
-       );
+);
index aba240f17283bc3932af887ee644e026a9081147..cd57ed4598c6409c6479a16d9c5bf4183958b0da 100644 (file)
@@ -183,6 +183,6 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        eepwren,        2,      0,      do_eep_wren,
        "Enable / disable / query EEPROM write access",
-       NULL
-       );
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
index ccbe245d76fe06e547d8606242fb5441d24826b0..a677c623f780a70f0bc4afe7899bd08b3c435a84 100644 (file)
@@ -690,8 +690,8 @@ int do_onewire(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        onewire,        1,      1,      do_onewire,
        "Read 1-write ID",
-       NULL
-       );
+       ""
+);
 
 #define CONFIG_SYS_I2C_EEPROM_ADDR_2 0x51 /* EEPROM CAT24WC32 */
 #define CONFIG_ENV_SIZE_2 0x800 /* 2048 bytes may be used for env vars */
@@ -751,8 +751,8 @@ int do_get_bpip(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        getbpip,        1,      1,      do_get_bpip,
        "Update IP-Address with Backplane IP-Address",
-       NULL
-       );
+       ""
+);
 
 /*
  * Set and print backplane ip...
@@ -787,7 +787,7 @@ int do_set_bpip(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        setbpip,        2,      1,      do_set_bpip,
        "Write Backplane IP-Address",
-       NULL
-       );
+       ""
+);
 
 #endif /* CONFIG_CPCI405AB */
index b6b50fb46e187467b847d8f66faef1e372f9a44a..36fcf7f87ddd14fbfa16b4368ddb10792550036c 100644 (file)
@@ -295,4 +295,6 @@ int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(writepci, 3, 1, do_writepci,
           "Write some data to pcibus",
-          "<addr> <size>\n" "        - Write some data to pcibus.\n");
+          "<addr> <size>\n"
+          ""
+);
index 482663398aae318dbcf150df4f7150b99e9f62b5..258d8b234bc114c82e8759c563c2d5383a3d85b4 100644 (file)
@@ -994,5 +994,5 @@ int do_show_config(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        show_config,    1,      1,      do_show_config,
        "Show Marvell strapping register",
-       "Show Marvell strapping register (ResetSampleLow ResetSampleHigh)\n"
-       );
+       "Show Marvell strapping register (ResetSampleLow ResetSampleHigh)"
+);
index 0310c47cf13b97f2d3574c27c4ac62c2b1f77103..675e5071d7364dada90e1e7c469398a0836ecb7b 100644 (file)
@@ -230,7 +230,7 @@ U_BOOT_CMD(
        pci9054, 3, 1, do_pci9054,
        "PLX PCI9054 EEPROM access",
        "pci9054 info - print EEPROM values\n"
-       "pci9054 update - updates EEPROM with default values\n"
+       "pci9054 update - updates EEPROM with default values"
 );
 
 /* ------------------------------------------------------------------------- */
index 45dfa6fd77472033ac458067fbb9af744d2d3377..0ec519b8db65303cdda26d1e176573dfff7ada24 100644 (file)
@@ -607,8 +607,8 @@ int do_dcf77(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dcf77, 1, 1, do_dcf77,
        "Check DCF77 receiver",
-       NULL
-       );
+       ""
+);
 
 /*
  * initialize USB hub via I2C1
@@ -657,8 +657,8 @@ int do_hubinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        hubinit, 1, 1, do_hubinit,
        "Initialize USB hub",
-       NULL
-       );
+       ""
+);
 #endif /* CONFIG_I2C_MULTI_BUS */
 
 #define CONFIG_SYS_BOOT_EEPROM_PAGE_WRITE_BITS 3
@@ -790,8 +790,8 @@ int do_setup_boot_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        sbe, 2, 0, do_setup_boot_eeprom,
        "setup boot eeprom",
-       NULL
-       );
+       ""
+);
 
 #if defined(CONFIG_SYS_EEPROM_WREN)
 /*
@@ -863,8 +863,9 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
 
 static int got_pldirq;
@@ -916,8 +917,8 @@ int do_waitpwrirq(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        wpi,    1,      1,      do_waitpwrirq,
        "Wait for power change interrupt",
-       NULL
-       );
+       ""
+);
 
 /*
  * initialize DVI panellink transmitter
@@ -961,8 +962,8 @@ int do_dviinit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dviinit, 1, 1, do_dviinit,
        "Initialize DVI Panellink transmitter",
-       NULL
-       );
+       ""
+);
 
 /*
  * TODO: 'time' command might be useful for others as well.
@@ -1001,8 +1002,8 @@ int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        time,   CONFIG_SYS_MAXARGS,     1,      do_time,
        "run command and output execution time",
-       NULL
-       );
+       ""
+);
 
 extern void video_hw_rectfill (
        unsigned int bpp,               /* bytes per pixel */
@@ -1051,5 +1052,5 @@ int do_gfxdemo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        gfxdemo,        CONFIG_SYS_MAXARGS,     1,      do_gfxdemo,
        "demo",
-       NULL
-       );
+       ""
+);
index eab952c566b5a1ee97ac029bfd9dc6a8dc3c58cd..5ae4c75861ea58a0380cc044eee3eb4609a2b9f8 100644 (file)
@@ -769,8 +769,9 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren,    2,      0,      do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
 
 
index db2c5484210a6c4df6e3a2d7da0ffb2a4a6f4bd6..5f3254d25269c161e5e6440441be28467b9ebc6f 100644 (file)
@@ -55,7 +55,7 @@ int do_setdevice(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        setdevice,      1,      1,      do_setdevice,
        "Set device number on pci adapter boards",
-       NULL
+       ""
 );
 
 
@@ -78,7 +78,7 @@ int do_getdevice(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        getdevice,      1,      1,      do_getdevice,
        "Get device number and set slot env variable",
-       NULL
+       ""
 );
 
 #endif
index a0d1f3f0d1654e7f52a84fc5b1e4c1c35d5d4902..1d14611293e9c7dbc93abd72e2006f8be3cb2819 100644 (file)
@@ -109,6 +109,6 @@ int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        loadpci,        1,      1,      do_loadpci,
        "Wait for pci-image and boot it",
-       NULL
+       ""
 );
 #endif
index 8973f97095c507400eb8c3fc56d3b2689d39166b..56184caa8f406dd48c52cc1347cb25b802ac3ed5 100644 (file)
@@ -381,5 +381,5 @@ U_BOOT_CMD(
        "wpeeprom 1\n"
        "    - enable I2C EEPROM write protection\n"
        "wpeeprom 0\n"
-       "    - disable I2C EEPROM write protection\n"
-       );
+       "    - disable I2C EEPROM write protection"
+);
index f225f0e196400a4591ffd4f85b7709bfe44594ff..4e64e83bf65d752641f19fd10efaf908ccd1472b 100644 (file)
@@ -294,7 +294,7 @@ int do_poweroff(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        return (0);
 }
 
-U_BOOT_CMD(poweroff, 1, 1, do_poweroff, "Switch off power", NULL);
+U_BOOT_CMD(poweroff, 1, 1, do_poweroff, "Switch off power", "");
 
 int phypower(int flag)
 {
@@ -338,7 +338,7 @@ int do_phypower(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(phypower, 2, 2, do_phypower,
-          "Switch power of ethernet phy", NULL);
+          "Switch power of ethernet phy", "");
 
 int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 {
@@ -369,5 +369,7 @@ int do_writepci(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(writepci, 3, 1, do_writepci,
-          "Write some data to pcibus",
-          "<addr> <size>\n" "        - Write some data to pcibus.\n");
+       "Write some data to pcibus",
+       "<addr> <size>\n"
+       ""
+);
index a94604a2f2c0129d002c037745d32f592e88e6f7..fdacbf6f6b121be933bae800e2e1760be1be040a 100644 (file)
@@ -333,6 +333,7 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren,    2,      0,      do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
index 0fbc3dc239fdd4dd060b02c2a66d423d50d48b77..1af431bd7d135e342279bb634d692ce85c8861ae 100644 (file)
@@ -99,8 +99,8 @@ int do_waithci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        waithci,        1,      1,      do_waithci,
        "Wait for host control interrupt",
-       NULL
-       );
+       ""
+);
 
 void dump_fifo(pmc440_fpga_t *fpga, int f, int *n)
 {
@@ -266,8 +266,8 @@ U_BOOT_CMD(
        "  - with 'wait' argument: interrupt driven read from all fifos\n"
        "  - with 'read' argument: read current contents from all fifos\n"
        "  - with 'write' argument: write 'data' 'cnt' times to "
-       "'fifo' or 'address'\n"
-       );
+       "'fifo' or 'address'"
+);
 
 int do_setup_bootstrap_eeprom(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
@@ -338,7 +338,7 @@ U_BOOT_CMD(
        sbe, 4, 0, do_setup_bootstrap_eeprom,
        "setup bootstrap eeprom",
        "<cpufreq:400|533|667> [<console-uart:0|1> [<bringup delay (0..20s)>]]"
-       );
+);
 
 #if defined(CONFIG_PRAM)
 #include <environment.h>
@@ -400,8 +400,8 @@ int do_painit(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        painit, 1,      1,      do_painit,
        "prepare PciAccess system",
-       NULL
-       );
+       ""
+);
 #endif /* CONFIG_PRAM */
 
 int do_selfreset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -412,8 +412,8 @@ int do_selfreset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        selfreset,      1,      1,      do_selfreset,
        "assert self-reset# signal",
-       NULL
-       );
+       ""
+);
 
 int do_resetout(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
@@ -449,8 +449,8 @@ int do_resetout(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        resetout,       2,      1,      do_resetout,
        "assert PMC-RESETOUT# signal",
-       NULL
-       );
+       ""
+);
 
 int do_inta(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
@@ -481,8 +481,8 @@ int do_inta(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        inta,   2,      1,      do_inta,
        "Assert/Deassert or query INTA# state in non-monarch mode",
-       NULL
-       );
+       ""
+);
 
 /* test-only */
 int do_pmm(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -514,8 +514,8 @@ int do_pmm(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        pmm,    2,      1,      do_pmm,
        "Setup pmm[1] registers",
-       "<pciaddr> (pciaddr will be aligned to 256MB)\n"
-       );
+       "<pciaddr> (pciaddr will be aligned to 256MB)"
+);
 
 #if defined(CONFIG_SYS_EEPROM_WREN)
 int do_eep_wren(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -549,8 +549,9 @@ int do_eep_wren(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        return state;
 }
 U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
 
 #endif /* CONFIG_CMD_BSP */
index 9602ee59fdd5788c4f4d727461990546deefee07..18444427fedfe6358e5177c458882f371b14b1d6 100644 (file)
@@ -250,8 +250,8 @@ int do_iploop(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        iploop, 2,      1,      do_iploop,
        "i2c probe loop <addr>",
-       NULL
-       );
+       ""
+);
 
 /*
  */
@@ -303,8 +303,8 @@ int do_codec(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        codec,  1,      1,      do_codec,
        "Enable codec",
-       NULL
-       );
+       ""
+);
 
 /*
  */
@@ -336,8 +336,8 @@ int do_saa(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        saa,    5,      1,      do_saa,
        "Write to SAA1064 <addr> <instr> <cntrl> <data>",
-       NULL
-       );
+       ""
+);
 
 /*
  */
@@ -375,8 +375,8 @@ int do_iwrite(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        iwrite, 6,      1,      do_iwrite,
        "Write n bytes to I2C-device",
-       "addr cnt data0 ... datan\n"
-       );
+       "addr cnt data0 ... datan"
+);
 
 /*
  */
@@ -407,8 +407,8 @@ int do_iread(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        iread,  3,      1,      do_iread,
        "Read from I2C <addr> <cnt>",
-       NULL
-       );
+       ""
+);
 
 /*
  */
@@ -445,6 +445,6 @@ int do_ireadl(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        ireadl, 2,      1,      do_ireadl,
        "Read-loop from I2C <addr>",
-       NULL
-       );
+       ""
+);
 #endif
index 96a04b3ff8ee72f02455e73fdf54b266981f9adc..91275507e0f245f64c7f915b857a6bd87e6b64ef 100644 (file)
@@ -392,6 +392,7 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren,    2,      0,      do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
index aef9c27e79f50b93bb5b199bf61b8a39c8ddd3df..cab4fcae1748e323d11517e0a4f186584831d3a5 100644 (file)
@@ -204,19 +204,17 @@ U_BOOT_CMD(
        zinit,   1,      0,      do_zuma_init_pbb,
        "init zuma pbb",
        "\n"
-       "    - init zuma pbb\n"
 );
 U_BOOT_CMD(
        zdtest,   3,      1,      do_zuma_test_dma,
        "run dma test",
        "[cmd [count]]\n"
-       "    - run dma cmd (w=0,v=1,cp=2,cmp=3,wi=4,vi=5), count bytes\n"
+       "    - run dma cmd (w=0,v=1,cp=2,cmp=3,wi=4,vi=5), count bytes"
 );
 U_BOOT_CMD(
        zminit,   1,      0,      do_zuma_init_mbox,
        "init zuma mbox",
        "\n"
-       "    - init zuma mbox\n"
 );
 
 #endif
index eb76d937f8620ee84b63080bdd13dbfbc508b3b1..4851f066e72e786699a39f73a8126d6ba5f30438 100644 (file)
@@ -279,9 +279,10 @@ int pixis_disable_watchdog_cmd(cmd_tbl_t *cmdtp,
 }
 
 U_BOOT_CMD(
-          diswd, 1, 0, pixis_disable_watchdog_cmd,
-          "Disable watchdog timer",
-          NULL);
+       diswd, 1, 0, pixis_disable_watchdog_cmd,
+       "Disable watchdog timer",
+       ""
+);
 
 #ifdef CONFIG_PIXIS_SGMII_CMD
 int pixis_set_sgmii(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -343,14 +344,15 @@ int pixis_set_sgmii(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(
-               pixis_set_sgmii, CONFIG_SYS_MAXARGS, 1, pixis_set_sgmii,
-               "pixis_set_sgmii"
-               " - Enable or disable SGMII mode for a given TSEC \n",
-               "\npixis_set_sgmii [TSEC num] <on|off|switch>\n"
-               "    TSEC num: 1,2,3,4 or 'all'.  'all' is default.\n"
-               "    on - enables SGMII\n"
-               "    off - disables SGMII\n"
-               "    switch - use switch settings\n");
+       pixis_set_sgmii, CONFIG_SYS_MAXARGS, 1, pixis_set_sgmii,
+       "pixis_set_sgmii"
+       " - Enable or disable SGMII mode for a given TSEC \n",
+       "\npixis_set_sgmii [TSEC num] <on|off|switch>\n"
+       "    TSEC num: 1,2,3,4 or 'all'.  'all' is default.\n"
+       "    on - enables SGMII\n"
+       "    off - disables SGMII\n"
+       "    switch - use switch settings"
+);
 #endif
 
 /*
@@ -544,5 +546,5 @@ U_BOOT_CMD(
        "    pixis_reset [altbank]\n"
        "    pixis_reset altbank wd\n"
        "    pixis_reset altbank cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
-       "    pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>\n"
-       );
+       "    pixis_reset cf <SYSCLK freq> <COREPLL ratio> <MPXPLL ratio>"
+);
index 2b2d5d7ec2733b12a9b3812af2e5c0f796fc4121..0ad878c2934fe46cfc639cee01891be77a3b64b1 100644 (file)
@@ -140,8 +140,8 @@ U_BOOT_CMD(
        diufb, CONFIG_SYS_MAXARGS, 1, mpc8610diu_init_show_bmp,
        "Init or Display BMP file",
        "init\n    - initialize DIU\n"
-       "addr\n    - display bmp at address 'addr'\n"
-       );
+       "addr\n    - display bmp at address 'addr'"
+);
 
 
 #if defined(CONFIG_VIDEO) || defined(CONFIG_CFB_CONSOLE)
index b35038dc4372fba6311b391ce77c13805b3bcb2a..218f1bebf731e3190cf4a07cb035ad9e4344b552 100644 (file)
@@ -186,7 +186,7 @@ int do_dumpebc(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dumpebc,        1,      1,      do_dumpebc,
        "Dump all EBC registers",
-       NULL
+       ""
 );
 
 
@@ -208,7 +208,7 @@ int do_dumpdcr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dumpdcr,        1,      1,      do_dumpdcr,
        "Dump all DCR registers",
-       NULL
+       ""
 );
 
 
@@ -272,6 +272,6 @@ int do_dumpspr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dumpspr,        1,      1,      do_dumpspr,
        "Dump all SPR registers",
-       NULL
+       ""
 );
 #endif
index 092d3684402a2cb02b571c734160be0644ae569b..262070fdff7f4b0174a3790fe718496185578251 100644 (file)
@@ -297,7 +297,7 @@ U_BOOT_CMD(
        "fpga info\n"
        "  - print information about the Hymod FPGA, namely the\n"
        "    memory addresses at which the four FPGA local bus\n"
-       "    address spaces appear in the physical address space\n"
+       "    address spaces appear in the physical address space"
 );
 /* ------------------------------------------------------------------------- */
 int
@@ -340,7 +340,7 @@ U_BOOT_CMD(
        "[type]\n"
        "  - write zeroes into the EEPROM on the board of type `type'\n"
        "    (`type' is either `main' or `mezz' - default `main')\n"
-       "    Note: the EEPROM write enable jumper must be installed\n"
+       "    Note: the EEPROM write enable jumper must be installed"
 );
 
 /* ------------------------------------------------------------------------- */
index 12c0a85d6ec41da1898933c4dd37a138fecb15bd..3761ef66d417dfa7b8ce0bf4ecf06c80552bf8ca 100644 (file)
@@ -439,14 +439,14 @@ static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 
 cmd_tbl_t cmd_inkadiag_sub[] = {
        U_BOOT_CMD_MKENT(io, 1, 1, do_inkadiag_io, "read digital input",
-        "<drawer1|drawer2|other> [value] - get or set specified signal\n"),
+        "<drawer1|drawer2|other> [value] - get or set specified signal"),
        U_BOOT_CMD_MKENT(serial, 4, 1, do_inkadiag_serial, "test serial port",
         "<num> <mode> <baudrate> <msg>  - test uart num [0..11] in mode\n"
-        "and baudrate with msg\n"),
+        "and baudrate with msg"),
        U_BOOT_CMD_MKENT(buzzer, 2, 1, do_inkadiag_buzzer, "activate buzzer",
-        "<period> <freq> - turn buzzer on for period ms with freq hz\n"),
+        "<period> <freq> - turn buzzer on for period ms with freq hz"),
        U_BOOT_CMD_MKENT(help, 4, 1, do_inkadiag_help, "get help",
-        "[command] - get help for command\n"),
+        "[command] - get help for command"),
 };
 
 static int do_inkadiag_help(cmd_tbl_t *cmdtp, int flag,
@@ -483,7 +483,7 @@ U_BOOT_CMD(inkadiag, 6, 1, do_inkadiag,
           "inkadiag - inka diagnosis\n",
           "[inkadiag what ...]\n"
           "    - perform a diagnosis on inka hardware\n"
-          "'inkadiag' performs hardware tests.\n\n");
+          "'inkadiag' performs hardware tests.");
 
 /* Relocate the command table function pointers when running in RAM */
 int inkadiag_init_r (void) {
index 57978800f6917e2fb65d649b1cb45e0bda7e348c..2e913adc55d87d11a3cbb63454996409bb13bd2d 100644 (file)
@@ -591,7 +591,7 @@ int hdlc_enet_stest(struct cmd_tbl_s *a, int b, int c, char **d)
 U_BOOT_CMD(
        stest, 1, 1, hdlc_enet_stest,
        "simple send test for hdlc_enet",
-       "no arguments\n"
+       ""
 );
 /* simple receive test routine */
 int hdlc_enet_rtest(struct cmd_tbl_s *a, int b, int c, char **d)
@@ -613,7 +613,7 @@ int hdlc_enet_rtest(struct cmd_tbl_s *a, int b, int c, char **d)
 U_BOOT_CMD(
        rtest, 1, 1, hdlc_enet_rtest,
        "simple receive test for hdlc_enet",
-       "no arguments\n"
+       ""
 );
 #endif
 
index 1b665a91885f8553da359d44a14d61a1ba00fc5f..75b32090d1965ef7c1ec5ee45b7efea3789a93b9 100644 (file)
@@ -853,7 +853,7 @@ U_BOOT_CMD(
        pic,    4,      1,      do_pic,
        "read and write PIC registers",
        "read  reg      - read PIC register `reg'\n"
-       "pic write reg val  - write value `val' to PIC register `reg'\n"
+       "pic write reg val  - write value `val' to PIC register `reg'"
 );
 
 /***********************************************************************
@@ -911,7 +911,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        kbd,    1,      1,      do_kbd,
        "read keyboard status",
-       NULL
+       ""
 );
 
 /* Read and set LSB switch */
@@ -985,7 +985,7 @@ U_BOOT_CMD(
        "check and set LSB switch",
        "on  - switch LSB on\n"
        "lsb off - switch LSB off\n"
-       "lsb     - print current setting\n"
+       "lsb     - print current setting"
 );
 
 #endif
index bafd39c62ae4a6479c4941001079d227f5b61400..be1a1dfeb54d4b52816a681b68029fd671a7880b 100644 (file)
@@ -433,7 +433,7 @@ int do_kbd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        kbd,    1,      1,      do_kbd,
        "read keyboard status",
-       NULL
+       ""
 );
 
 /*----------------------------- Utilities -----------------------------*/
index 4c04b984193e12cd508cd9e1fc9e8386921484df..9b76e7663cc9db82c6c2d04c872f32f4b0842f30 100644 (file)
@@ -487,7 +487,7 @@ int do_eeprom_wp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        eepromwp,       2,      0,      do_eeprom_wp,
        "eeprom write protect off/on",
-       "<on|off> - enable (on) or disable (off) I2C EEPROM write protect\n"
+       "<on|off> - enable (on) or disable (off) I2C EEPROM write protect"
 );
 
 #if defined(CONFIG_VIDEO)
index 2bc7ad4c4b2af9e681c8f54a5e9b1b03142b78f8..6587f13e2f383f03bebd7f983ded93d676f92fbb 100644 (file)
@@ -384,11 +384,11 @@ static int do_eeprom_save_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]
 }
 
 U_BOOT_CMD(smcee, 1, 0, do_eeprom_erase_all,
-          "smcee   - Erase content of SMC EEPROM\n",);
+          "smcee   - Erase content of SMC EEPROM",);
 
 U_BOOT_CMD(smced, 1, 0, do_eeprom_dump,
-          "smced   - Dump content of SMC EEPROM\n",);
+          "smced   - Dump content of SMC EEPROM",);
 
 U_BOOT_CMD(smcew, 2, 0, do_eeprom_save_mac,
           "smcew   - Write MAC address to SMC EEPROM\n",
-          "aa:bb:cc:dd:ee:ff  new mac address\n");
+          "aa:bb:cc:dd:ee:ff  new mac address");
index dc1380445a0a570d0b789b855b677d900bf3bc46..cd93a7ca0b08d800fbdf37ecf172233aadebc242 100644 (file)
@@ -60,7 +60,7 @@ U_BOOT_CMD(
        "mip405 flash mps - updates U-Boot with image from MPS\n"
        "mip405 info      - displays board information\n"
        "mip405 led <on>  - switches LED on (on=1) or off (on=0)\n"
-       "mip405 mem [cnt] - Memory Test <cnt>-times, <cnt> = -1 loop forever\n"
+       "mip405 mem [cnt] - Memory Test <cnt>-times, <cnt> = -1 loop forever"
 );
 
 /* ------------------------------------------------------------------------- */
index 95bfdcc8c8e2a74bd32d842aeec874dd66a79e4b..0682323ae1f0c1eb323770794fe9f6d435bb38d9 100644 (file)
@@ -443,7 +443,7 @@ U_BOOT_CMD(
        "    era   - erase PCI EEPROM (write all word to 0xffff)\n"
        "    reload- Reload PCI Bridge with EEPROM Values\n"
        "    NOTE: <addr> must start on word boundary\n"
-       "          <offset> and <size> must be even byte values\n"
+       "          <offset> and <size> must be even byte values"
 );
 
 /* ------------------------------------------------------------------------- */
index ad5e0a1e18991df0b44028f8747d204b5a637a31..6bbae89e5d4f72a346c60ebc385d95b598584526 100644 (file)
@@ -63,7 +63,7 @@ U_BOOT_CMD(
        "PIP405 specific Cmds",
        "flash mem [SrcAddr] - updates U-Boot with image in memory\n"
        "pip405 flash floppy [SrcAddr] - updates U-Boot with image from floppy\n"
-       "pip405 flash mps - updates U-Boot with image from MPS\n"
+       "pip405 flash mps - updates U-Boot with image from MPS"
 );
 
 /* ------------------------------------------------------------------------- */
index cbe7fe256e4fb5413a7d255dce0a960077338eba..01607743952b88e22307b66da00f673a9eea2ed5 100644 (file)
@@ -174,5 +174,5 @@ int do_vcma9(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        vcma9, 6, 1, do_vcma9,
        "VCMA9 specific commands",
-       "flash mem [SrcAddr]\n    - updates U-Boot with image in memory\n"
+       "flash mem [SrcAddr]\n    - updates U-Boot with image in memory"
 );
index 80c2cb58e2d83a0e58f913ee59626c72649053c7..7985f7d711bf60e0d8d1c95dc255189a53ae66fe 100644 (file)
@@ -239,7 +239,7 @@ U_BOOT_CMD(
        "check and set watchdog",
        "on   - switch watchDog on\n"
        "wd off  - switch watchdog off\n"
-       "wd      - print current status\n"
+       "wd      - print current status"
 );
 
 #endif
index 9cc3f5b640583e5530d999a67e68f33ff8560b03..47d6391469ac38ee0756846964367fef51eac3e1 100644 (file)
@@ -763,7 +763,7 @@ U_BOOT_CMD(
        "              0x02 = DIAG 2 on\n"
        "              0x04 = DIAG 3 on\n"
        "              0x08 = DIAG 4 on\n"
-       "              > 0x100 set the LED, who are on, to state blinking\n"
+       "              > 0x100 set the LED, who are on, to state blinking"
 );
 
 #if defined(CONFIG_SHA1_CHECK_UB_IMG)
@@ -823,7 +823,7 @@ U_BOOT_CMD(
        "calculate the SHA1 Sum",
        "address len [addr]  calculate the SHA1 sum [save at addr]\n"
        "     -p calculate the SHA1 sum from the U-Boot image in flash and print\n"
-       "     -c check the U-Boot image in flash\n"
+       "     -c check the U-Boot image in flash"
 );
 #endif
 
index ff5d63ee121bb234f15c3409cd2458f6c7a2c795..a9893517224c5b945da80cb5d83851a3f3ccb375 100644 (file)
@@ -54,8 +54,8 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        led    ,        3,      1,      do_led,
        "set LED 0..11 on the PN62 board",
-       "i fun\n"
-       "    - set 'i'th LED to function 'fun'\n"
+       "i fun"
+       "    - set 'i'th LED to function 'fun'"
 );
 
 /*
@@ -177,7 +177,7 @@ U_BOOT_CMD(
        loadpci,        2,      1,      do_loadpci,
        "load binary file over PCI",
        "[addr]\n"
-       "    - load binary file over PCI to address 'addr'\n"
+       "    - load binary file over PCI to address 'addr'"
 );
 
 #endif
index 877728403fd105cefdb2283f76368cb1c7fbaefb..c323456d607ec1fe13e8fc8a59b1c78604c23b7c 100644 (file)
@@ -228,7 +228,7 @@ int do_fpga(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        fpga,     2,     0,      do_fpga,
        "boot FPGA",
-       "address size\n    - boot FPGA with gzipped image at <address>\n"
+       "address size\n    - boot FPGA with gzipped image at <address>"
 );
 
 #if defined(CONFIG_CMD_PCI) || defined(CONFIG_PCI)
index aa598aaa44d21a9360b6a35c4a5ea7a0fb40b6a5..e9e479c4bad50feca63da6aae222103b821d534f 100644 (file)
@@ -129,7 +129,7 @@ int do_idpcmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(idpcmd, CONFIG_SYS_MAXARGS, 0, do_idpcmd,
           "custom IDP command",
-          "no args at this time\n"
+          "no args at this time"
 );
 
 #endif
index 1871984a6992b9933b1c0cabdaeca8268ee60d62..703af73aadf063f2d2ac16553a0d78fee73c8dbc 100644 (file)
@@ -415,5 +415,5 @@ int do_kbd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        kbd,    1,      1,      do_kbd,
        "read keyboard status",
-       NULL
+       ""
 );
index 6d0bbc0c2f0ea49fb2996676c411300ac943d22f..634efb42a864be7361e7ea72376b091438310eb6 100644 (file)
@@ -325,7 +325,7 @@ U_BOOT_CMD(
        setmac, 2,      1,      do_set_mac,
        "write MAC address for RTL8110SCL",
        "\n"
-       "setmac <mac address> - write MAC address for RTL8110SCL\n"
+       "setmac <mac address> - write MAC address for RTL8110SCL"
 );
 
 int do_print_mac(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -344,5 +344,5 @@ U_BOOT_CMD(
        printmac,       1,      1,      do_print_mac,
        "print MAC address for RTL8110",
        "\n"
-       "    - print MAC address for RTL8110\n"
+       "    - print MAC address for RTL8110"
 );
index 6dbb7842e45e8b8baa116aa67f30e4a6b4f1ef7b..e803b3c9c1441d3c7e53f829680e87763d8fbc31 100644 (file)
@@ -168,5 +168,5 @@ U_BOOT_CMD(
        "hwtest sm107 - output SM107 version\n"
        "hwtest net   - check RTL8110 ID\n"
        "hwtest sata  - check SiI3512 ID\n"
-       "hwtest pci   - output PCI slot device ID\n"
+       "hwtest pci   - output PCI slot device ID"
 );
index 6bdf3c067a9b4b80ff98fe70ddc12559be90ce71..9948d04eae4c0d343054f622df0b9e22572c9e0d 100644 (file)
@@ -82,6 +82,6 @@ U_BOOT_CMD(
        pmb,    1,      1,      do_pmb,
        "pmb     - PMB setting\n",
        "\n"
-       "    - PMB setting for all SDRAM mapping\n"
+       "    - PMB setting for all SDRAM mapping"
 );
 #endif
index c1af70ceab32d80802ee5a0bcd171282753f6ab3..bc88e5a7eb362410a4301001dc00498a04b7db09 100644 (file)
@@ -501,7 +501,7 @@ int do_i2c1_probe(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        iprobe1,        1,      1,      do_i2c1_probe,
        "probe to discover valid I2C chip addresses",
-       "\n    -discover valid I2C chip addresses\n"
+       ""
 );
 
 #endif /* CONFIG_I2C_BUS1 */
index b8ae68fcd6166f35415df7af4d83e062eb876917..92f5247565260b62b5c65dfa871bee4751877365 100644 (file)
@@ -611,7 +611,7 @@ int karefRecover(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(kasetup, 1, 1, karefSetupVars,
-          "Set environment to factory defaults", NULL);
+          "Set environment to factory defaults", "");
 
 U_BOOT_CMD(karecover, 1, 1, karefRecover,
-          "Set environment to allow for fs recovery", NULL);
+          "Set environment to allow for fs recovery", "");
index fc136c89c400c89c6fa427fed5f223ca6a2e94ac..27d7f74088b06a47057044ba015970d0f5d534d7 100644 (file)
@@ -577,7 +577,7 @@ int metroboxRecover(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(mbsetup, 1, 1, metroboxSetupVars,
-          "Set environment to factory defaults", NULL);
+          "Set environment to factory defaults", "");
 
 U_BOOT_CMD(mbrecover, 1, 1, metroboxRecover,
-          "Set environment to allow for fs recovery", NULL);
+          "Set environment to allow for fs recovery", "");
index c9a93e1589247dcb3ea49e9835f3fb416d6663d9..4b45902aa262945ee0cfae1966be26e7130dca06 100644 (file)
@@ -295,7 +295,7 @@ U_BOOT_CMD(
        "access FPGA(s)",
        "fpga status [name] - print FPGA status\n"
        "fpga reset  [name] - reset FPGA\n"
-       "fpga load [name] addr - load FPGA configuration data\n"
+       "fpga load [name] addr - load FPGA configuration data"
 );
 
 #endif
index f87d6bc00f13e051bca2ca14f2ad062278226b5b..827578c3a972ed9728b4a0ff4a35e9093b0ec3d1 100644 (file)
@@ -404,10 +404,10 @@ int do_puma (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD (puma, 4, 1, do_puma,
-           "access PUMA FPGA",
-           "status - print PUMA status\n"
-           "puma load addr len - load PUMA configuration data\n");
-
+       "access PUMA FPGA",
+       "status - print PUMA status\n"
+       "puma load addr len - load PUMA configuration data"
+);
 #endif
 
 /* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
index 99ff507608486871fd4d138a99b53bcb16fc9984..449c1a4994947fb47a29d491d12eb2a6253c63e4 100644 (file)
@@ -157,6 +157,6 @@ int do_sled (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (sled, 3, 0, do_sled,
            "check and set status led",
-           "sled [name [state]]\n" __NAME_STR "    - state: on|off|blink\n");
+           "sled [name [state]]\n" __NAME_STR "    - state: on|off|blink");
 #endif
 #endif /* CONFIG_STATUS_LED */
index 9b384259e4b75646d3a66bd3de97648bf9ce0586..eaf1d2526c959eacc066213c2680cc36826099c0 100644 (file)
@@ -154,7 +154,7 @@ U_BOOT_CMD(
        "check and set watchdog",
        "on   - switch watchDog on\n"
        "wd off  - switch watchdog off\n"
-       "wd      - print current status\n"
+       "wd      - print current status"
 );
 #endif
 #endif /* CONFIG_HW_WATCHDOG */
index 20632a7f1eba64626e71d47b0bf02bbd8d114e26..e309beb1dc777570dae98f39197cd34460c67df0 100644 (file)
@@ -1201,21 +1201,21 @@ U_BOOT_CMD(
        "sound square [duration] [freq] [channel]\n"
        "    - generate squarewave for 'duration' ms with frequency 'freq'\n"
        "      on left \"l\" or right \"r\" channel\n"
-       "pcm1772 reg val\n"
+       "pcm1772 reg val"
 );
 
 U_BOOT_CMD(
        wav ,    3,    1,     cmd_wav,
        "play wav file",
        "[addr] [bytes]\n"
-       "    - play wav file at address 'addr' with length 'bytes'\n"
+       "    - play wav file at address 'addr' with length 'bytes'"
 );
 
 U_BOOT_CMD(
        beep ,    2,    1,     cmd_beep,
        "play short beep",
        "[channel]\n"
-       "    - play short beep on \"l\"eft or \"r\"ight channel\n"
+       "    - play short beep on \"l\"eft or \"r\"ight channel"
 );
 #endif /* CONFIG_STK52XX  || CONFIG_FO300 */
 
@@ -1228,10 +1228,11 @@ U_BOOT_CMD(
        "fkt can\n"
        "     - loopback plug for X83 required\n"
        "fkt rs232 number\n"
-       "     - loopback plug(s) for X2 required\n"
+       "     - loopback plug(s) for X2 required"
 #ifndef CONFIG_TQM5200S
+       "\n"
        "fkt backlight on/off\n"
-       "     - switch backlight on or off\n"
+       "     - switch backlight on or off"
 #endif /* !CONFIG_TQM5200S */
 );
 #elif defined(CONFIG_FO300)
@@ -1241,7 +1242,7 @@ U_BOOT_CMD(
        "fkt can\n"
        "     - loopback plug for X16/X29 required\n"
        "fkt rs232 number\n"
-       "     - loopback plug(s) for X21/X22 required\n"
+       "     - loopback plug(s) for X21/X22 required"
 );
 #endif
 #endif
index b9c9e7e194e3dfe468a2526397e0523798eb21c3..578e716e7a4bd783f75ac4df4c8bd62090d3f8e2 100644 (file)
@@ -91,13 +91,13 @@ int cmd_backlight(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        led ,   2,      1,      cmd_led,
        "switch status LED on or off",
-       "on/off\n"
+       "on/off"
 );
 
 U_BOOT_CMD(
        backlight ,     2,      1,      cmd_backlight,
        "switch backlight on or off",
-       "on/off\n"
+       "on/off"
        );
 
 #endif /* CONFIG_STK52XX */
index 5bc080ff81e422006247fe34d3ab2682365e6d5f..92f74a39cca9b2e8183e144923cc261011f29e59 100644 (file)
@@ -867,7 +867,7 @@ int do_hwib_dump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
          hwib, 1,      1,      do_hwib_dump,
          "dump HWIB'",
-         "\n"
+         ""
 );
 
 #ifdef CONFIG_SYS_UPDATE_FLASH_SIZE
index 7e2a6723480440acd383773e9fc10dc45afc4e4a..d0465fb7e6f580439774bb6f1647aee32304bc02 100644 (file)
@@ -262,7 +262,7 @@ U_BOOT_CMD(
        "\n"
        "    -  start burn-in test application\n"
        "       The burn-in test could took a while to finish!\n"
-       "       The content of the onboard EEPROM is modified!\n"
+       "       The content of the onboard EEPROM is modified!"
 );
 
 
@@ -295,7 +295,7 @@ U_BOOT_CMD(
        "read dip switch on TRAB",
        "\n"
        "    - read state of dip switch (S1) on TRAB board\n"
-       "      read sequence: 1-2-3-4; ON=1; OFF=0; e.g.: \"0100\"\n"
+       "      read sequence: 1-2-3-4; ON=1; OFF=0; e.g.: \"0100\""
 );
 
 
@@ -323,7 +323,7 @@ U_BOOT_CMD(
        vcc5v,  1,      1,      do_vcc5v,
        "read VCC5V on TRAB",
        "\n"
-       "    - read actual value of voltage VCC5V\n"
+       "    - read actual value of voltage VCC5V"
 );
 
 
@@ -347,7 +347,7 @@ int do_contact_temp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        c_temp, 1,      1,      do_contact_temp,
        "read contact temperature on TRAB",
-       "\n"
+       ""
        "    -  reads the onboard temperature (=contact temperature)\n"
 );
 
@@ -401,7 +401,7 @@ U_BOOT_CMD(
        "print burn in status on TRAB",
        "\n"
        "    -  prints the status variables of the last burn in test\n"
-       "       stored in the onboard EEPROM on TRAB board\n"
+       "       stored in the onboard EEPROM on TRAB board"
 );
 
 static int read_dip (void)
@@ -890,7 +890,7 @@ U_BOOT_CMD(
        "delay\n"
        "    - contact temperature [1/100 C] is printed endlessly to console\n"
        "      <delay> specifies the seconds to wait between two measurements\n"
-       "      For each measurment a timestamp is printeted\n"
+       "      For each measurment a timestamp is printeted"
 );
 
 #endif
index 53590650f13b9e79360098a928d813260243eb8f..ddf6abf7b4cafb5c36a9cd38741bb39dd06fdb84 100644 (file)
@@ -323,7 +323,7 @@ int do_kbd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        kbd,    1,      1,      do_kbd,
        "read keyboard status",
-       NULL
+       ""
 );
 
 #ifdef CONFIG_MODEM_SUPPORT
index 9fa7aef9a29864fa14a78df9fa32641801d9a046..b6b16bf680b2da04e6988306eeaba246b66c5fc5 100644 (file)
@@ -81,4 +81,5 @@ U_BOOT_CMD(
        "\tdm9000ee read \n"
        "\tword:\t\t00-02 : MAC Address\n"
        "\t\t\t03-07 : DM9000 Configuration\n"
-       "\t\t\t08-63 : User data\n");
+       "\t\t\t08-63 : User data"
+);
index eaec940e6796b4f743686e2ffc559f48e14a57da..013fc791f2764057e25aa1da8d2c641d669e6788 100644 (file)
@@ -60,7 +60,7 @@ U_BOOT_CMD(
          vpd,  2,      1,      do_vpd,
          "Read Vital Product Data",
          "[dev_addr]\n"
-         "        - Read VPD Data from default address, or device address 'dev_addr'.\n"
+         "        - Read VPD Data from default address, or device address 'dev_addr'."
 );
 
 #endif
index ce1f34fee2b968534d1726d665890f28c150f01b..c8487e58f8abfbf197ce21b9e3cd527c0a9b6960 100644 (file)
@@ -99,7 +99,7 @@ int do_update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char* argv[])
 U_BOOT_CMD (
        update_boot_eeprom, 1, 1, do_update_boot_eeprom,
        "update boot eeprom content",
-       NULL
+       ""
 );
 
 #endif
index 3f329c2fc99ab565f42889343255cdbbda34d052..9bc390f83796feaafe0c9bb2cc8ccb34ac201276 100644 (file)
@@ -328,7 +328,7 @@ int do_set_default(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        setdef, 4,      1,      do_set_default,
        "write board-specific values to EEPROM (ethaddr...)",
-       "ethaddr eth1addr serial#\n    - write board-specific values to EEPROM\n"
+       "ethaddr eth1addr serial#\n    - write board-specific values to EEPROM"
        );
 
 static inline int sw_reset_pressed(void)
@@ -419,7 +419,7 @@ int do_chkreset(cmd_tbl_t* cmdtp, int flag, int argc, char* argv[])
 U_BOOT_CMD (
        chkreset, 1, 1, do_chkreset,
        "Check for status of SW-reset button and act accordingly",
-       NULL
+       ""
 );
 
 #if defined(CONFIG_POST)
index 06531f12b32339ad9f514390920ee2e68ba084d0..bb20ab5149d54e3e97372082ee7f7c7a779a70e8 100644 (file)
@@ -273,6 +273,7 @@ int ambapp_init_reloc(void)
 }
 
 U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print,
-          "list AMBA Plug&Play information",
-          "ambapp\n"
-          "    - lists AMBA (AHB & APB) Plug&Play devices present on the system\n");
+       "list AMBA Plug&Play information",
+       "ambapp\n"
+       "    - lists AMBA (AHB & APB) Plug&Play devices present on the system"
+);
index b230924ee7db81afb863513a77c333883a31b8af..11c154731e3cc21d226657e1c3adb89bc9469c1b 100644 (file)
@@ -384,5 +384,5 @@ static void print_str(const char *name, const char *str)
 U_BOOT_CMD(
        bdinfo, 1,      1,      do_bdinfo,
        "print Board Info structure",
-       NULL
+       ""
 );
index cd9e720fc6279743cbfad4bb3988063e61a9ab40..8be1c25fd7a2006bc296bb525155cae4221f4ffc 100644 (file)
@@ -108,7 +108,7 @@ int do_bedbug_dis (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (ds, 3, 1, do_bedbug_dis,
            "disassemble memory",
-           "ds <address> [# instructions]\n");
+           "ds <address> [# instructions]");
 \f
 /* ======================================================================
  * Entry point from the interpreter to the assembler.  Assembles
@@ -160,7 +160,7 @@ int do_bedbug_asm (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }                              /* do_bedbug_asm */
 
 U_BOOT_CMD (as, 2, 0, do_bedbug_asm,
-           "assemble memory", "as <address>\n");
+           "assemble memory", "as <address>");
 \f
 /* ======================================================================
  * Used to set a break point from the interpreter.  Simply calls into the
@@ -181,7 +181,7 @@ U_BOOT_CMD (break, 3, 0, do_bedbug_break,
            " - Set or clear a breakpoint\n"
            "break <address> - Break at an address\n"
            "break off <bp#> - Disable breakpoint.\n"
-           "break show      - List breakpoints.\n");
+           "break show      - List breakpoints.");
 \f
 /* ======================================================================
  * Called from the debug interrupt routine.  Simply calls the CPU-specific
@@ -278,7 +278,7 @@ int do_bedbug_continue (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (continue, 1, 0, do_bedbug_continue,
            "continue from a breakpoint",
-           " - continue from a breakpoint.\n");
+           "");
 \f
 /* ======================================================================
  * Interpreter command to continue to the next instruction, stepping into
@@ -309,7 +309,7 @@ int do_bedbug_step (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (step, 1, 1, do_bedbug_step,
            "single step execution.",
-           " - single step execution.\n");
+           "");
 \f
 /* ======================================================================
  * Interpreter command to continue to the next instruction, stepping over
@@ -340,7 +340,7 @@ int do_bedbug_next (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (next, 1, 1, do_bedbug_next,
            "single step execution, stepping over subroutines.",
-           " - single step execution, stepping over subroutines.\n");
+           "");
 \f
 /* ======================================================================
  * Interpreter command to print the current stack.  This assumes an EABI
@@ -385,7 +385,7 @@ int do_bedbug_stack (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD (where, 1, 1, do_bedbug_stack,
            "Print the running stack.",
-           " - Print the running stack.\n");
+           "");
 \f
 /* ======================================================================
  * Interpreter command to dump the registers.  Calls the CPU-specific
@@ -405,7 +405,7 @@ int do_bedbug_rdump (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }                              /* do_bedbug_rdump */
 
 U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
-           "Show registers.", " - Show registers.\n");
+           "Show registers.", "");
 /* ====================================================================== */
 
 
index abbb0704fbe7e39eb53e7a9cb5c0aa51613a1852..fc8462ead1987f9775be4f4ab22a6a0b82e7ff75 100644 (file)
@@ -141,7 +141,7 @@ U_BOOT_CMD(
        bmp,    5,      1,      do_bmp,
        "manipulate BMP image data",
        "info <imageAddr>          - display image info\n"
-       "bmp display <imageAddr> [x y] - display image at x,y\n"
+       "bmp display <imageAddr> [x y] - display image at x,y"
 );
 
 /*
index efc1a0262f00786176410c5413281c692fb34841..bfc1db21d2306e09efd47bbacc13c28e357f4ca8 100644 (file)
@@ -66,7 +66,7 @@ U_BOOT_CMD(
        go, CONFIG_SYS_MAXARGS, 1,      do_go,
        "start application at address 'addr'",
        "addr [arg ...]\n    - start application at address 'addr'\n"
-       "      passing 'arg' as arguments\n"
+       "      passing 'arg' as arguments"
 );
 
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
@@ -74,5 +74,5 @@ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 U_BOOT_CMD(
        reset, 1, 0,    do_reset,
        "Perform RESET of the CPU",
-       NULL
+       ""
 );
index 48d113f1f12e988e4ab7d64085698fe253b53808..b2a8b0e190b180cc20bed9708579c59fdee8287f 100644 (file)
@@ -170,4 +170,5 @@ int do_bootldr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(bootldr, 2, 0, do_bootldr,
        "boot ldr image from memory",
        "[addr]\n"
-       "    - boot ldr image stored in memory\n");
+       ""
+);
index bd1813ad422a75261b67f7412692999ac5bcd7d2..367d5a7a94cc3c6bbfec8e61ba9e5a3f4629dfdc 100644 (file)
@@ -948,7 +948,7 @@ U_BOOT_CMD(
        "\tbdt     - OS specific bd_t processing\n"
        "\tcmdline - OS specific command line processing/setup\n"
        "\tprep    - OS specific prep before relocation or go\n"
-       "\tgo      - start OS\n"
+       "\tgo      - start OS"
 );
 
 /*******************************************************************/
@@ -973,14 +973,14 @@ int do_bootd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        boot,   1,      1,      do_bootd,
        "boot default, i.e., run 'bootcmd'",
-       NULL
+       ""
 );
 
 /* keep old command name "bootd" for backward compatibility */
 U_BOOT_CMD(
        bootd, 1,       1,      do_bootd,
        "boot default, i.e., run 'bootcmd'",
-       NULL
+       ""
 );
 
 #endif
@@ -1068,7 +1068,7 @@ U_BOOT_CMD(
        "addr [addr ...]\n"
        "    - print header information for application image starting at\n"
        "      address 'addr' in memory; this includes verification of the\n"
-       "      image contents (magic number, header and payload checksums)\n"
+       "      image contents (magic number, header and payload checksums)"
 );
 #endif
 
@@ -1135,7 +1135,7 @@ U_BOOT_CMD(
        "list all images found in flash",
        "\n"
        "    - Prints information about all images found at sector\n"
-       "      boundaries in flash.\n"
+       "      boundaries in flash."
 );
 #endif
 
index c0f2cbaf6742359edbc65a2ab3e26a0db93bf49a..0dfa3363bdd754e4dbac3ddadb339c497acffeb2 100644 (file)
@@ -99,14 +99,14 @@ U_BOOT_CMD(
        icache,   2,   1,     do_icache,
        "enable or disable instruction cache",
        "[on, off]\n"
-       "    - enable or disable instruction cache\n"
+       "    - enable or disable instruction cache"
 );
 
 U_BOOT_CMD(
        dcache,   2,   1,     do_dcache,
        "enable or disable data cache",
        "[on, off]\n"
-       "    - enable or disable data (writethrough) cache\n"
+       "    - enable or disable data (writethrough) cache"
 );
 
 #endif
index 56e70d6155a0917e7c6f69b081453f8f409884bb..1a044d29018ae4463bb2b06c06374e4b742ff04b 100644 (file)
@@ -55,5 +55,5 @@ int do_cplbinfo(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(cplbinfo, 1, 0, do_cplbinfo,
        "display current CPLB tables",
-       "\n"
-       "    - display current CPLB tables\n");
+       ""
+);
index 4b2cf1c2c2d84c5a0f52e7fb0160ea6cac87a19c..97e303e9431826660bed68ebb7e45c3babe41d35 100644 (file)
@@ -61,5 +61,5 @@ U_BOOT_CMD(
        dataflash_mmc_mux, 2, 1, do_dataflash_mmc_mux,
        "dataflash_mmc_mux\t- enable or disable MMC or SPI\n",
        "[mmc, spi]\n"
-       "    - enable or disable MMC or SPI\n"
+       "    - enable or disable MMC or SPI"
 );
index 3d78be2696d538079e5fceb5f0a6525ef401f152..b69e93508583be1e5ad0e426640ff6b64c324694 100644 (file)
@@ -218,5 +218,5 @@ U_BOOT_CMD(
        "[MMDDhhmm[[CC]YY][.ss]]\ndate reset\n"
        "  - without arguments: print date & time\n"
        "  - with numeric argument: set the system date & time\n"
-       "  - with 'reset' argument: reset the RTC\n"
+       "  - with 'reset' argument: reset the RTC"
 );
index 7aed06c1170102b270a4c53b57981c078b02c491..4f23b8d591120ee46a759340486cdf5c85320d2e 100644 (file)
@@ -224,22 +224,22 @@ int do_setidcr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        getdcr, 2,      1,      do_getdcr,
        "Get an AMCC PPC 4xx DCR's value",
-       "dcrn - return a DCR's value.\n"
+       "dcrn - return a DCR's value."
 );
 U_BOOT_CMD(
        setdcr, 2,      1,      do_setdcr,
        "Set an AMCC PPC 4xx DCR's value",
-       "dcrn - set a DCR's value.\n"
+       "dcrn - set a DCR's value."
 );
 
 U_BOOT_CMD(
        getidcr,        3,      1,      do_getidcr,
        "Get a register value via indirect DCR addressing",
-       "adr_dcrn[.dat_dcrn] offset - write offset to adr_dcrn, read value from dat_dcrn.\n"
+       "adr_dcrn[.dat_dcrn] offset - write offset to adr_dcrn, read value from dat_dcrn."
 );
 
 U_BOOT_CMD(
        setidcr,        4,      1,      do_setidcr,
        "Set a register value via indirect DCR addressing",
-       "adr_dcrn[.dat_dcrn] offset value - write offset to adr_dcrn, write value to dat_dcrn.\n"
+       "adr_dcrn[.dat_dcrn] offset value - write offset to adr_dcrn, write value to dat_dcrn."
 );
index d64f9009d7332b745a20a0d4978c774d58b88eba..7f957fed472b152cb779d62934407d22e0f8c936 100644 (file)
@@ -34,4 +34,4 @@ usage:
 U_BOOT_CMD(
        sf,     2,      1,      do_serial_flash,
        "Serial flash sub-system",
-       "probe [bus:]cs         - init flash device on given SPI bus and CS\n")
+       "probe [bus:]cs         - init flash device on given SPI bus and CS")
index c2a617547f152847932afc72f829db8bab11ccb2..0436c492f48b793a5cb84b6bf9e0b61db5bc9179 100644 (file)
@@ -72,5 +72,5 @@ U_BOOT_CMD(
        "         - print information about specified tests\n"
        "diag run - run all available tests\n"
        "diag run [test1 [test2]]\n"
-       "         - run specified tests\n"
+       "         - run specified tests"
 );
index 4102424d148d74e937dc243680a6c95e2578e127..34223952ee62b3089504955a75c398a5722eb81b 100644 (file)
@@ -74,5 +74,5 @@ U_BOOT_CMD(
        "display string on dot matrix display",
        "[<string>]\n"
        "    - with <string> argument: display <string> on dot matrix display\n"
-       "    - without arguments: clear dot matrix display\n"
+       "    - without arguments: clear dot matrix display"
 );
index 3385c6736fb15309ab74c161e92ddea2630d68b6..5cc90f064d925e21bbe570fe17e33de0de37fb42 100644 (file)
@@ -202,7 +202,7 @@ U_BOOT_CMD(
        "doc write addr off size - read/write `size'"
        " bytes starting at offset `off'\n"
        "    to/from memory address `addr'\n"
-       "doc erase off size - erase `size' bytes of DOC from offset `off'\n"
+       "doc erase off size - erase `size' bytes of DOC from offset `off'"
 );
 
 int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -342,7 +342,7 @@ int do_docboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        docboot,        4,      1,      do_docboot,
        "boot from DOC device",
-       "loadAddr dev\n"
+       "loadAddr dev"
 );
 
 int doc_rw (struct DiskOnChip* this, int cmd,
index 7783c880ba444f49d7993b84e8d8a8f6c7a68acb..3cfd36ef7389bf8f2c5cfad5feea95e41d95762c 100644 (file)
@@ -55,6 +55,6 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(
          dtt,  1,      1,      do_dtt,
-         "Digital Thermometer and Thermostat",
-         "        - Read temperature from digital thermometer and thermostat.\n"
+         "Read temperature from Digital Thermometer and Thermostat",
+         ""
 );
index f749087ebc707544f80391f953cdbab48b0cd696..102efaf5b66e758f5415bfdbe50c7e588ca9809b 100644 (file)
@@ -424,7 +424,7 @@ U_BOOT_CMD(
        "EEPROM sub-system",
        "read  devaddr addr off cnt\n"
        "eeprom write devaddr addr off cnt\n"
-       "       - read/write `cnt' bytes from `devaddr` EEPROM at offset `off'\n"
+       "       - read/write `cnt' bytes from `devaddr` EEPROM at offset `off'"
 );
 #else /* One EEPROM */
 U_BOOT_CMD(
@@ -432,7 +432,7 @@ U_BOOT_CMD(
        "EEPROM sub-system",
        "read  addr off cnt\n"
        "eeprom write addr off cnt\n"
-       "       - read/write `cnt' bytes at EEPROM offset `off'\n"
+       "       - read/write `cnt' bytes at EEPROM offset `off'"
 );
 #endif /* CONFIG_SYS_I2C_MULTI_EEPROMS */
 
index 83e758999a6caee2de7f1bbdee79e220e10f0134..abec7ddc9a592a35bcd965639f7e7311beb88b27 100644 (file)
@@ -313,11 +313,11 @@ unsigned long load_elf_image (unsigned long addr)
 U_BOOT_CMD(
        bootelf,      2,      0,      do_bootelf,
        "Boot from an ELF image in memory",
-       " [address] - load address of ELF image.\n"
+       " [address] - load address of ELF image."
 );
 
 U_BOOT_CMD(
        bootvx,      2,      0,      do_bootvx,
        "Boot vxWorks from an ELF image",
-       " [address] - load address of vxWorks ELF image.\n"
+       " [address] - load address of vxWorks ELF image."
 );
index 923b355673d276bc42fd921c69533d4475fd4b2a..6ee60c66f2169b672c3e9ffd8d2f4310d2351552 100644 (file)
@@ -118,7 +118,7 @@ U_BOOT_CMD(
        ext2ls, 4,      1,      do_ext2ls,
        "list files in a directory (default /)",
        "<interface> <dev[:part]> [directory]\n"
-       "    - list files from 'dev' on 'interface' in a 'directory'\n"
+       "    - list files from 'dev' on 'interface' in a 'directory'"
 );
 
 /******************************************************************************
@@ -256,5 +256,5 @@ U_BOOT_CMD(
        "load binary file from a Ext2 filesystem",
        "<interface> <dev[:part]> [addr] [filename] [bytes]\n"
        "    - load binary file 'filename' from 'dev' on 'interface'\n"
-       "      to address 'addr' from ext2 filesystem\n"
+       "      to address 'addr' from ext2 filesystem"
 );
index 4a26b8072ec2ec2adc2b9904f4f996d1a38f78e5..f3089a296e05e5743446c7be395a688198488a3d 100644 (file)
@@ -91,7 +91,7 @@ U_BOOT_CMD(
        "load binary file from a dos filesystem",
        "<interface> <dev[:part]>  <addr> <filename> [bytes]\n"
        "    - load binary file 'filename' from 'dev' on 'interface'\n"
-       "      to address 'addr' from dos filesystem\n"
+       "      to address 'addr' from dos filesystem"
 );
 
 int do_fat_ls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -138,7 +138,7 @@ U_BOOT_CMD(
        fatls,  4,      1,      do_fat_ls,
        "list files in a directory (default /)",
        "<interface> <dev[:part]> [directory]\n"
-       "    - list files from 'dev' on 'interface' in a 'directory'\n"
+       "    - list files from 'dev' on 'interface' in a 'directory'"
 );
 
 int do_fat_fsinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -176,7 +176,7 @@ U_BOOT_CMD(
        fatinfo,        3,      1,      do_fat_fsinfo,
        "print information about filesystem",
        "<interface> <dev[:part]>\n"
-       "    - print information about filesystem from 'dev' on 'interface'\n"
+       "    - print information about filesystem from 'dev' on 'interface'"
 );
 
 #ifdef NOT_IMPLEMENTED_YET
index c043b9765002292c3592d8c0b6df618a1cdf6675..8e18c71bf40fbd7ee467a6af6db91cf858146bb6 100644 (file)
@@ -903,6 +903,6 @@ int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        fdcboot,        3,      1,      do_fdcboot,
        "boot from floppy device",
-       "loadAddr drive\n"
+       "loadAddr drive"
 );
 #endif
index bcf98d9e4b9dbc432af75fd3ef26260bedcac6d0..3cc658624d672c46dce6a8a59a8679f32756d728 100644 (file)
@@ -143,11 +143,11 @@ int do_fdosls(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        fdosboot,       3,      0,      do_fdosboot,
        "boot from a dos floppy file",
-       "[loadAddr] [filename]\n"
+       "[loadAddr] [filename]"
 );
 
 U_BOOT_CMD(
        fdosls, 2,      0,      do_fdosls,
        "list files in a directory",
-       "[directory]\n"
+       "[directory]"
 );
index 0947b72d20c8b8dcc631f43bc77661d0efab3ca4..86837723b55dab1be00f6aa8305f78bef882fa71 100644 (file)
@@ -840,5 +840,5 @@ U_BOOT_CMD(
        "fdt chosen [<start> <end>]          - Add/update the /chosen branch in the tree\n"
        "                                        <start>/<end> - initrd start/end addr\n"
        "NOTE: Dereference aliases by omiting the leading '/', "
-               "e.g. fdt print ethernet0.\n"
+               "e.g. fdt print ethernet0."
 );
index f1f3517b12fd0f6fbc5cf25672783c9f9f66c5f0..9f27ab0dd94df253472f412dc1c7671b4a940cf3 100644 (file)
@@ -712,7 +712,7 @@ U_BOOT_CMD(
        flinfo,    2,    1,    do_flinfo,
        "print FLASH memory information",
        "\n    - print information for all FLASH memory banks\n"
-       "flinfo N\n    - print information for FLASH memory bank # N\n"
+       "flinfo N\n    - print information for FLASH memory bank # N"
 );
 
 U_BOOT_CMD(
@@ -726,7 +726,7 @@ U_BOOT_CMD(
        "erase N:SF[-SL]\n    - erase sectors SF-SL in FLASH bank # N\n"
        "erase bank N\n    - erase FLASH bank # N\n"
        TMP_ERASE
-       "erase all\n    - erase all FLASH banks\n"
+       "erase all\n    - erase all FLASH banks"
 );
 
 U_BOOT_CMD(
@@ -751,7 +751,7 @@ U_BOOT_CMD(
        "    - make sectors SF-SL writable in FLASH bank # N\n"
        "protect off bank N\n    - make FLASH bank # N writable\n"
        TMP_PROT_OFF
-       "protect off all\n    - make all FLASH banks writable\n"
+       "protect off all\n    - make all FLASH banks writable"
 );
 
 #undef TMP_ERASE
index 362bffdcd5750e1b724b45e80e03f1dc1da02fac..2e017b84d892d73df80203dfd26d224f62b45050 100644 (file)
@@ -357,9 +357,10 @@ U_BOOT_CMD (fpga, 6, 1, do_fpga,
            "\tload\tLoad device from memory buffer\n"
            "\tloadb\tLoad device from bitstream buffer (Xilinx devices only)\n"
            "\tloadmk\tLoad device generated with mkimage\n"
-           "\tdump\tLoad device to memory buffer\n"
+           "\tdump\tLoad device to memory buffer"
 #if defined(CONFIG_FIT)
+           "\n"
            "\tFor loadmk operating on FIT format uImage address must include\n"
-           "\tsubimage unit name in the form of addr:<subimg_uname>\n"
+           "\tsubimage unit name in the form of addr:<subimg_uname>"
 #endif
 );
index b922b966afadd1937b1f01deefea23aa3104aa94..ae26845161e38b3eeee0f4a7b9aeaa696130a854 100644 (file)
@@ -1315,9 +1315,10 @@ U_BOOT_CMD(
        "i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum\n"
        "i2c probe - show devices on the I2C bus\n"
        "i2c reset - re-init the I2C Controller\n"
-       "i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device\n"
+       "i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device"
 #if defined(CONFIG_CMD_SDRAM)
-       "i2c sdram chip - print SDRAM configuration information\n"
+       "\n"
+       "i2c sdram chip - print SDRAM configuration information"
 #endif
 );
 
index d86bf370302bf7ad1a760ac2019b7e33fc99a21a..feda773beef999f57a654bea60e8e32666accd55 100644 (file)
@@ -2108,11 +2108,11 @@ U_BOOT_CMD(
        "ide read  addr blk# cnt\n"
        "ide write addr blk# cnt - read/write `cnt'"
        " blocks starting at block `blk#'\n"
-       "    to/from memory address `addr'\n"
+       "    to/from memory address `addr'"
 );
 
 U_BOOT_CMD(
        diskboot,       3,      1,      do_diskboot,
        "boot from IDE device",
-       "loadAddr dev:part\n"
+       "loadAddr dev:part"
 );
index c8367f0fb371787d0f93ab7df591212e381aee29..37e60582f60076a45523ecdf3d5313b432aaf982 100644 (file)
@@ -615,39 +615,39 @@ do_mccinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        siuinfo,        1,      1,      do_siuinfo,
        "print System Interface Unit (SIU) registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        memcinfo,       1,      1,      do_memcinfo,
        "print Memory Controller registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        sitinfo,        1,      1,      do_sitinfo,
        "print System Integration Timers (SIT) registers",
-       NULL
+       ""
 );
 
 #ifdef CONFIG_8260
 U_BOOT_CMD(
        icinfo, 1,      1,      do_icinfo,
        "print Interrupt Controller registers",
-       NULL
+       ""
 );
 #endif
 
 U_BOOT_CMD(
        carinfo,        1,      1,      do_carinfo,
        "print Clocks and Reset registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        iopinfo,        1,      1,      do_iopinfo,
        "print I/O Port registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
@@ -659,62 +659,61 @@ U_BOOT_CMD(
 U_BOOT_CMD(
        dmainfo,        1,      1,      do_dmainfo,
        "print SDMA/IDMA registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        fccinfo,        1,      1,      do_fccinfo,
        "print FCC registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        brginfo,        1,      1,      do_brginfo,
        "print Baud Rate Generator (BRG) registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        i2cinfo,        1,      1,      do_i2cinfo,
        "print I2C registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        sccinfo,        1,      1,      do_sccinfo,
        "print SCC registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        smcinfo,        1,      1,      do_smcinfo,
        "print SMC registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        spiinfo,        1,      1,      do_spiinfo,
        "print Serial Peripheral Interface (SPI) registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        muxinfo,        1,      1,      do_muxinfo,
        "print CPM Multiplexing registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        siinfo, 1,      1,      do_siinfo,
        "print Serial Interface (SI) registers",
-       NULL
+       ""
 );
 
 U_BOOT_CMD(
        mccinfo,        1,      1,      do_mccinfo,
        "print MCC registers",
-       NULL
+       ""
 );
 
-
 #endif
index a21aedea40cc5e64ff494b89952a7d746e51c21c..4604a5a31effa61a4b85606bd7ae83f674795a08 100644 (file)
@@ -45,6 +45,5 @@ int do_interrupts(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        interrupts, 5, 0, do_interrupts,
        "enable or disable interrupts",
-       "[on, off]\n"
-       "    - enable or disable interrupts\n"
+       "[on, off]"
 );
index 309b08bb03a5121adae34dfd825c16e1c772c4ab..5b301bf5a52821e91430ae458ae1d51e0ca2bb95 100644 (file)
@@ -191,5 +191,5 @@ int do_itest ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] )
 U_BOOT_CMD(
        itest, 4, 0, do_itest,
        "return true/false on integer compare",
-       "[.b, .w, .l, .s] [*]value1 <op> [*]value2\n"
+       "[.b, .w, .l, .s] [*]value1 <op> [*]value2"
 );
index 3bb6c3cb158cce08515b99204b6ffba3244c5c7e..4db4a83aa82b41e7ee1feecbdc010c267c7af73b 100644 (file)
@@ -636,18 +636,17 @@ U_BOOT_CMD(
        "load binary file from a filesystem image",
        "[ off ] [ filename ]\n"
        "    - load binary file from flash bank\n"
-       "      with offset 'off'\n"
+       "      with offset 'off'"
 );
 U_BOOT_CMD(
        ls,     2,      1,      do_jffs2_ls,
        "list files in a directory (default /)",
-       "[ directory ]\n"
-       "    - list files in a directory.\n"
+       "[ directory ]"
 );
 
 U_BOOT_CMD(
        fsinfo, 1,      1,      do_jffs2_fsinfo,
        "print information about filesystems",
-       "    - print information about filesystems\n"
+       ""
 );
 /***************************************************/
index c3c34967db0bf4a44161f718704c78832bb6d20c..141215b3a58f2bec90629cd2d3712e7f296e2fa0 100644 (file)
@@ -53,7 +53,8 @@ int do_license(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(license, 1, 1, do_license,
-          "print GPL license text",
-          NULL);
+       "print GPL license text",
+       ""
+);
 
 #endif /* CONFIG_CMD_LICENSE */
index 2b5a66dd6fb543ff97580c022ca867493d570f89..73fbf743c9b7097116cf31bf59f06e628cd7b26f 100644 (file)
@@ -1049,7 +1049,7 @@ U_BOOT_CMD(
        "load S-Record file over serial line",
        "[ off ] [ baud ]\n"
        "    - load S-Record file over serial line"
-       " with offset 'off' and baudrate 'baud'\n"
+       " with offset 'off' and baudrate 'baud'"
 );
 
 #else  /* ! CONFIG_SYS_LOADS_BAUD_CHANGE */
@@ -1057,7 +1057,7 @@ U_BOOT_CMD(
        loads, 2, 0,    do_load_serial,
        "load S-Record file over serial line",
        "[ off ]\n"
-       "    - load S-Record file over serial line with offset 'off'\n"
+       "    - load S-Record file over serial line with offset 'off'"
 );
 #endif /* CONFIG_SYS_LOADS_BAUD_CHANGE */
 
@@ -1073,14 +1073,14 @@ U_BOOT_CMD(
        "save S-Record file over serial line",
        "[ off ] [size] [ baud ]\n"
        "    - save S-Record file over serial line"
-       " with offset 'off', size 'size' and baudrate 'baud'\n"
+       " with offset 'off', size 'size' and baudrate 'baud'"
 );
 #else  /* ! CONFIG_SYS_LOADS_BAUD_CHANGE */
 U_BOOT_CMD(
        saves, 3, 0,    do_save_serial,
        "save S-Record file over serial line",
        "[ off ] [size]\n"
-       "    - save S-Record file over serial line with offset 'off' and size 'size'\n"
+       "    - save S-Record file over serial line with offset 'off' and size 'size'"
 );
 #endif /* CONFIG_SYS_LOADS_BAUD_CHANGE */
 #endif
@@ -1093,7 +1093,7 @@ U_BOOT_CMD(
        "load binary file over serial line (kermit mode)",
        "[ off ] [ baud ]\n"
        "    - load binary file over serial line"
-       " with offset 'off' and baudrate 'baud'\n"
+       " with offset 'off' and baudrate 'baud'"
 );
 
 U_BOOT_CMD(
@@ -1101,7 +1101,7 @@ U_BOOT_CMD(
        "load binary file over serial line (ymodem mode)",
        "[ off ] [ baud ]\n"
        "    - load binary file over serial line"
-       " with offset 'off' and baudrate 'baud'\n"
+       " with offset 'off' and baudrate 'baud'"
 );
 
 #endif
@@ -1130,8 +1130,8 @@ int do_hwflow (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(
        hwflow, 2, 0,   do_hwflow,
-       "turn the harwdare flow control on/off",
-       "[on|off]\n - change RTS/CTS hardware flow control over serial line\n"
+       "turn RTS/CTS hardware flow control in serial line on/off",
+       "[on|off]"
 );
 
 #endif
index a03835d021611e2c4af2a06acb754143953b4fd6..d422d9f924645c78dcee351406b0f6cb0cd1bda2 100644 (file)
@@ -256,7 +256,7 @@ U_BOOT_CMD(
        "info   - show pointer details\n"
        "log reset  - clear contents\n"
        "log show   - show contents\n"
-       "log append <msg> - append <msg> to the logbuffer\n"
+       "log append <msg> - append <msg> to the logbuffer"
 );
 
 static int logbuff_printk(const char *line)
index cf601e4e60221c66279c607e4b7e90c9631f88f5..20403da39d91632dfde781df56fb39570eca4d34 100644 (file)
@@ -44,20 +44,6 @@ U_BOOT_CMD(
        "    - program date\n"
        "mac ports\n"
        "    - program the number of ports\n"
-       "mac 0\n"
-       "    - program the MAC address for port 0\n"
-       "mac 1\n"
-       "    - program the MAC address for port 1\n"
-       "mac 2\n"
-       "    - program the MAC address for port 2\n"
-       "mac 3\n"
-       "    - program the MAC address for port 3\n"
-       "mac 4\n"
-       "    - program the MAC address for port 4\n"
-       "mac 5\n"
-       "    - program the MAC address for port 5\n"
-       "mac 6\n"
-       "    - program the MAC address for port 6\n"
-       "mac 7\n"
-       "    - program the MAC address for port 7\n"
+       "mac X\n"
+       "    - program the MAC address for port X [X=0...7]"
 );
index 2d4fc2a419eb4702ea61d954b5bb9f4f9bc292df..cdf8c798ddadaa8ec3fab859e6611af09ef5a06d 100644 (file)
@@ -1172,39 +1172,39 @@ int do_unzip ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        md,     3,      1,      do_mem_md,
        "memory display",
-       "[.b, .w, .l] address [# of objects]\n    - memory display\n"
+       "[.b, .w, .l] address [# of objects]"
 );
 
 
 U_BOOT_CMD(
        mm,     2,      1,      do_mem_mm,
-       "memory modify (auto-incrementing)",
-       "[.b, .w, .l] address\n" "    - memory modify, auto increment address\n"
+       "memory modify (auto-incrementing address)",
+       "[.b, .w, .l] address"
 );
 
 
 U_BOOT_CMD(
        nm,     2,      1,      do_mem_nm,
        "memory modify (constant address)",
-       "[.b, .w, .l] address\n    - memory modify, read and keep address\n"
+       "[.b, .w, .l] address"
 );
 
 U_BOOT_CMD(
        mw,     4,      1,      do_mem_mw,
        "memory write (fill)",
-       "[.b, .w, .l] address value [count]\n   - write memory\n"
+       "[.b, .w, .l] address value [count]"
 );
 
 U_BOOT_CMD(
        cp,     4,      1,      do_mem_cp,
        "memory copy",
-       "[.b, .w, .l] source target count\n    - copy memory\n"
+       "[.b, .w, .l] source target count"
 );
 
 U_BOOT_CMD(
        cmp,    4,      1,      do_mem_cmp,
        "memory compare",
-       "[.b, .w, .l] addr1 addr2 count\n    - compare memory\n"
+       "[.b, .w, .l] addr1 addr2 count"
 );
 
 #ifndef CONFIG_CRC32_VERIFY
@@ -1212,7 +1212,7 @@ U_BOOT_CMD(
 U_BOOT_CMD(
        crc32,  4,      1,      do_mem_crc,
        "checksum calculation",
-       "address count [addr]\n    - compute CRC32 checksum [save at addr]\n"
+       "address count [addr]\n    - compute CRC32 checksum [save at addr]"
 );
 
 #else  /* CONFIG_CRC32_VERIFY */
@@ -1221,7 +1221,7 @@ U_BOOT_CMD(
        crc32,  5,      1,      do_mem_crc,
        "checksum calculation",
        "address count [addr]\n    - compute CRC32 checksum [save at addr]\n"
-       "-v address count crc\n    - verify crc of memory area\n"
+       "-v address count crc\n    - verify crc of memory area"
 );
 
 #endif /* CONFIG_CRC32_VERIFY */
@@ -1230,43 +1230,40 @@ U_BOOT_CMD(
        base,   2,      1,      do_mem_base,
        "print or set address offset",
        "\n    - print address offset for memory commands\n"
-       "base off\n    - set address offset for memory commands to 'off'\n"
+       "base off\n    - set address offset for memory commands to 'off'"
 );
 
 U_BOOT_CMD(
        loop,   3,      1,      do_mem_loop,
        "infinite loop on address range",
-       "[.b, .w, .l] address number_of_objects\n"
-       "    - loop on a set of addresses\n"
+       "[.b, .w, .l] address number_of_objects"
 );
 
 #ifdef CONFIG_LOOPW
 U_BOOT_CMD(
        loopw,  4,      1,      do_mem_loopw,
        "infinite write loop on address range",
-       "[.b, .w, .l] address number_of_objects data_to_write\n"
-       "    - loop on a set of addresses\n"
+       "[.b, .w, .l] address number_of_objects data_to_write"
 );
 #endif /* CONFIG_LOOPW */
 
 U_BOOT_CMD(
        mtest,  5,      1,      do_mem_mtest,
-       "simple RAM test",
-       "[start [end [pattern [iterations]]]]\n"
-       "    - simple RAM read/write test\n"
+       "simple RAM read/write test",
+       "[start [end [pattern [iterations]]]]"
 );
 
 #ifdef CONFIG_MX_CYCLIC
 U_BOOT_CMD(
        mdc,    4,      1,      do_mem_mdc,
        "memory display cyclic",
-       "[.b, .w, .l] address count delay(ms)\n    - memory display cyclic\n"
+       "[.b, .w, .l] address count delay(ms)"
 );
 
 U_BOOT_CMD(
        mwc,    4,      1,      do_mem_mwc,
        "memory write cyclic",
-       "[.b, .w, .l] address value delay(ms)\n    - memory write cyclic\n"
+       "[.b, .w, .l] address value delay(ms)"
 );
 #endif /* CONFIG_MX_CYCLIC */
 
@@ -1274,6 +1271,6 @@ U_BOOT_CMD(
 U_BOOT_CMD(
        unzip,  4,      1,      do_unzip,
        "unzip a memory region",
-       "srcaddr dstaddr [dstsize]\n"
+       "srcaddr dstaddr [dstsize]"
 );
 #endif /* CONFIG_CMD_UNZIP */
index 6470baceb877c1b7524b6a33d62ec745ee965bf0..b19ad0e6381d61b607145f6daa15a81883760acf 100644 (file)
@@ -394,8 +394,7 @@ U_BOOT_CMD (frd, 3, 1, do_frd,
                " 0 - non blocking data read\n"
                " 1 - non blocking control read\n"
                " 2 - blocking data read\n"
-               " 3 - blocking control read\n");
-
+               " 3 - blocking control read");
 
 U_BOOT_CMD (fwr, 4, 1, do_fwr,
                "write data to FSL",
@@ -403,11 +402,11 @@ U_BOOT_CMD (fwr, 4, 1, do_fwr,
                " 0 - non blocking data write\n"
                " 1 - non blocking control write\n"
                " 2 - blocking data write\n"
-               " 3 - blocking control write\n");
+               " 3 - blocking control write");
 
 U_BOOT_CMD (rspr, 3, 1, do_rspr,
                "read/write special purpose register",
                "- reg_num [write value] read/write special purpose register\n"
                " 1 - MSR - Machine status register\n"
                " 3 - EAR - Exception address register\n"
-               " 5 - ESR - Exception status register\n");
+               " 5 - ESR - Exception status register");
index 48323d45befbc69c367631141d95c1f9f582f7dd..aadc3356362fb45b8ad6310194e69e422c8df3a5 100644 (file)
@@ -70,7 +70,7 @@ U_BOOT_CMD(
        "    - random read : mgd read [from] [to] [size]\n"
        "    - random write : mgd write [from] [to] [size]\n"
        "    - sector read : mgd readsec [sector] [to] [counts]\n"
-       "    - sector write : mgd writesec [from] [sector] [counts]\n"
+       "    - sector write : mgd writesec [from] [sector] [counts]"
 );
 
 #endif
index d70031aaa5d07f04e54c1160e7a1bd44b441c38e..65e13c3eb220d9f131b5a57468a2b700a874cd26 100644 (file)
@@ -460,5 +460,5 @@ U_BOOT_CMD(
        "mii read   <addr> <reg>        - read  MII PHY <addr> register <reg>\n"
        "mii write  <addr> <reg> <data> - write MII PHY <addr> register <reg>\n"
        "mii dump   <addr> <reg>        - pretty-print <addr> <reg> (0-5 only)\n"
-       "Addr and/or reg may be ranges, e.g. 2-7.\n"
+       "Addr and/or reg may be ranges, e.g. 2-7."
 );
index 024299a877ec6a018d533dd353330689126ce939..b97537ecd005b959731d9b6529029ef8c16f3ee7 100644 (file)
@@ -56,7 +56,7 @@ int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 U_BOOT_CMD(
        irqinfo,    1,    1,     do_irqinfo,
        "print information about IRQs",
-       NULL
+       ""
 );
 #endif
 
@@ -64,5 +64,5 @@ U_BOOT_CMD(
        sleep ,    2,    1,     do_sleep,
        "delay execution for some time",
        "N\n"
-       "    - delay execution for N seconds (N is _decimal_ !!!)\n"
+       "    - delay execution for N seconds (N is _decimal_ !!!)"
 );
index 039fe59c75410d79ae430e5cf7fdba5ae1625e1c..32fe49b775e0570737037f27d7f6d97a3e61fffb 100644 (file)
@@ -89,7 +89,7 @@ U_BOOT_CMD(
        mmc, 3, 1, do_mmc,
        "MMC sub-system",
        "init [dev] - init MMC sub system\n"
-       "mmc device [dev] - show or set current device\n"
+       "mmc device [dev] - show or set current device"
 );
 #else /* !CONFIG_GENERIC_MMC */
 
@@ -135,9 +135,10 @@ int do_mmcinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        return 0;
 }
 
-U_BOOT_CMD(mmcinfo,    2,      0,      do_mmcinfo,
-       "print MMC information",
-       "<dev num>\n");
+U_BOOT_CMD(mmcinfo, 2, 0, do_mmcinfo,
+       "mmcinfo <dev num>-- display MMC info\n",
+       ""
+);
 
 int do_mmcops(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 {
@@ -231,5 +232,5 @@ U_BOOT_CMD(
        "read <device num> addr blk# cnt\n"
        "mmc write <device num> addr blk# cnt\n"
        "mmc rescan <device num>\n"
-       "mmc list - list available devices\n");
+       "mmc list - lists available devices");
 #endif
index a0839c2fbb43f78d538dcebc92b6d3165093ccd5..faa87001329013a95257d360ce193dba2663ada2 100644 (file)
@@ -78,7 +78,7 @@ cpu_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        "     Default for r3 is <num> and r6 is 0\n" \
        "\n" \
        "     When cpu <num> is released r4 and r5 = 0.\n" \
-       "     r7 will contain the size of the initial mapped area\n"
+       "     r7 will contain the size of the initial mapped area"
 #endif
 
 U_BOOT_CMD(
@@ -86,8 +86,9 @@ U_BOOT_CMD(
        "Multiprocessor CPU boot manipulation and release",
            "<num> reset                 - Reset cpu <num>\n"
        "cpu <num> status                - Status of cpu <num>\n"
-       "cpu <num> release <addr> [args] - Release cpu <num> at <addr> with [args]\n"
+       "cpu <num> release <addr> [args] - Release cpu <num> at <addr> with [args]"
 #ifdef CPU_ARCH_HELP
+       "\n"
        CPU_ARCH_HELP
 #endif
-       );
+);
index 8bd1db7d2765065732ee3a0b1135018502ce0d0e..2d1446ecb8d5ea9784da8f08e36c4a321dbe8490 100644 (file)
@@ -1863,7 +1863,7 @@ U_BOOT_CMD(
        chpart, 2,      0,      do_chpart,
        "change active partition",
        "part-id\n"
-       "    - change active partition (e.g. part-id = nand0,1)\n"
+       "    - change active partition (e.g. part-id = nand0,1)"
 );
 
 U_BOOT_CMD(
@@ -1898,6 +1898,6 @@ U_BOOT_CMD(
        "<size>     := standard linux memsize OR '-' to denote all remaining space\n"
        "<offset>   := partition start offset within the device\n"
        "<name>     := '(' NAME ')'\n"
-       "<ro-flag>  := when set to 'ro' makes partition read-only (not used, passed to kernel)\n"
+       "<ro-flag>  := when set to 'ro' makes partition read-only (not used, passed to kernel)"
 );
 /***************************************************/
index 1992531f44bd1a07e25639d5200ebdfbe7b34236..94514160b5e547823b279f484361a8ca61aa5e5c 100644 (file)
@@ -476,25 +476,26 @@ usage:
        return 1;
 }
 
-U_BOOT_CMD(nand, 5, 1, do_nand,
-          "NAND sub-system",
-          "info - show available NAND devices\n"
-          "nand device [dev] - show or set current device\n"
-          "nand read - addr off|partition size\n"
-          "nand write - addr off|partition size\n"
-          "    read/write 'size' bytes starting at offset 'off'\n"
-          "    to/from memory address 'addr', skipping bad blocks.\n"
-          "nand erase [clean] [off size] - erase 'size' bytes from\n"
-          "    offset 'off' (entire device if not specified)\n"
-          "nand bad - show bad blocks\n"
-          "nand dump[.oob] off - dump page\n"
-          "nand scrub - really clean NAND erasing bad blocks (UNSAFE)\n"
-          "nand markbad off - mark bad block at offset (UNSAFE)\n"
-          "nand biterr off - make a bit error at offset (UNSAFE)\n"
+U_BOOT_CMD(nand, CONFIG_SYS_MAXARGS, 1, do_nand,
+       "NAND sub-system",
+       "info - show available NAND devices\n"
+       "nand device [dev] - show or set current device\n"
+       "nand read - addr off|partition size\n"
+       "nand write - addr off|partition size\n"
+       "    read/write 'size' bytes starting at offset 'off'\n"
+       "    to/from memory address 'addr', skipping bad blocks.\n"
+       "nand erase [clean] [off size] - erase 'size' bytes from\n"
+       "    offset 'off' (entire device if not specified)\n"
+       "nand bad - show bad blocks\n"
+       "nand dump[.oob] off - dump page\n"
+       "nand scrub - really clean NAND erasing bad blocks (UNSAFE)\n"
+       "nand markbad off [...] - mark bad block(s) at offset (UNSAFE)\n"
+       "nand biterr off - make a bit error at offset (UNSAFE)"
 #ifdef CONFIG_CMD_NAND_LOCK_UNLOCK
-          "nand lock [tight] [status]\n"
-          "    bring nand to lock state or display locked pages\n"
-          "nand unlock [offset] [size] - unlock section\n"
+       "\n"
+       "nand lock [tight] [status]\n"
+       "    bring nand to lock state or display locked pages\n"
+       "nand unlock [offset] [size] - unlock section"
 #endif
 );
 
@@ -673,8 +674,8 @@ usage:
 
 U_BOOT_CMD(nboot, 4, 1, do_nandboot,
        "boot from NAND device",
-       "[partition] | [[[loadAddr] dev] offset]\n");
-
+       "[partition] | [[[loadAddr] dev] offset]"
+);
 #endif
 
 #else /* CONFIG_NAND_LEGACY */
@@ -941,7 +942,7 @@ U_BOOT_CMD(
        "    offset `off' (entire device if not specified)\n"
        "nand bad - show bad blocks\n"
        "nand read.oob addr off size - read out-of-band data\n"
-       "nand write.oob addr off size - read out-of-band data\n"
+       "nand write.oob addr off size - read out-of-band data"
 );
 
 int do_nandboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -1081,7 +1082,7 @@ int do_nandboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        nboot,  4,      1,      do_nandboot,
        "boot from NAND device",
-       "loadAddr dev\n"
+       "loadAddr dev"
 );
 
 #endif
index 92bbf85d1139a4acdf2df3670070a0d6059bec63..68183c49af9233666705f2025fad4ec0ccebb84b 100644 (file)
@@ -40,7 +40,7 @@ int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        bootp,  3,      1,      do_bootp,
        "boot image via network using BOOTP/TFTP protocol",
-       "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+       "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
 
 int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -51,7 +51,7 @@ int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        tftpboot,       3,      1,      do_tftpb,
        "boot image via network using TFTP protocol",
-       "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+       "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
 
 int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -62,7 +62,7 @@ int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        rarpboot,       3,      1,      do_rarpb,
        "boot image via network using RARP/TFTP protocol",
-       "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+       "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
 
 #if defined(CONFIG_CMD_DHCP)
@@ -74,7 +74,7 @@ int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        dhcp,   3,      1,      do_dhcp,
        "boot image via network using DHCP/TFTP protocol",
-       "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+       "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
 #endif
 
@@ -87,7 +87,7 @@ int do_nfs (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        nfs,    3,      1,      do_nfs,
        "boot image via network using NFS protocol",
-       "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+       "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
 #endif
 
@@ -269,7 +269,7 @@ int do_ping (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        ping,   2,      1,      do_ping,
        "send ICMP ECHO_REQUEST to network host",
-       "pingAddress\n"
+       "pingAddress"
 );
 #endif
 
index ac9e5cfc3205797de41d3d0bba9e26bc3982e827..2186205a1a591e8303dcc6a1881b3fcd709eb02b 100644 (file)
@@ -569,7 +569,7 @@ int do_saveenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        saveenv, 1, 0,  do_saveenv,
        "save environment variables to persistent storage",
-       NULL
+       ""
 );
 
 #endif
@@ -602,7 +602,7 @@ U_BOOT_CMD(
        "print environment variables",
        "\n    - print values of all environment variables\n"
        "printenv name ...\n"
-       "    - print value of environment variable 'name'\n"
+       "    - print value of environment variable 'name'"
 );
 
 U_BOOT_CMD(
@@ -611,7 +611,7 @@ U_BOOT_CMD(
        "name value ...\n"
        "    - set environment variable 'name' to 'value ...'\n"
        "setenv name\n"
-       "    - delete environment variable 'name'\n"
+       "    - delete environment variable 'name'"
 );
 
 #if defined(CONFIG_CMD_ASKENV)
@@ -627,7 +627,7 @@ U_BOOT_CMD(
        "    - get environment variable 'name' from stdin (max 'size' chars)\n"
        "askenv name [message] size\n"
        "    - display 'message' string and get environment variable 'name'"
-       "from stdin (max 'size' chars)\n"
+       "from stdin (max 'size' chars)"
 );
 #endif
 
@@ -637,6 +637,6 @@ U_BOOT_CMD(
        run,    CONFIG_SYS_MAXARGS,     1,      do_run,
        "run commands in an environment variable",
        "var [...]\n"
-       "    - run the commands in the environment variable(s) 'var'\n"
+       "    - run the commands in the environment variable(s) 'var'"
 );
 #endif
index e8f06d7f433bad70f62648fc7cf96ea5cc596fec..85bd2cb68e2b4e9c74e830824c5d3ba0310fb0a3 100644 (file)
@@ -486,5 +486,5 @@ U_BOOT_CMD(
        "onenand test [off size] - test 'size' bytes from\n"
        "    offset 'off' (entire device if not specified)\n"
        "onenand dump[.oob] off - dump page\n"
-       "onenand markbad off - mark bad block at offset (UNSAFE)\n"
+       "onenand markbad off [...] - mark bad block(s) at offset (UNSAFE)"
 );
index 4be43448a8945ed3b31e8dace5d34194f823e04b..30af5a31a843ffcc62782c76b376ddb890d472ff 100644 (file)
@@ -233,4 +233,5 @@ U_BOOT_CMD(otp, 7, 0, do_otp,
        "otp write [--force] <addr> <page> [count] [half]\n"
        " - write 'count' half-pages starting at 'page' (offset 'half') from 'addr'\n"
        "otp lock <page> <count>\n"
-       " - lock 'count' pages starting at 'page'\n");
+       " - lock 'count' pages starting at 'page'"
+);
index 4a9317f16c5694d968702833e549901d16cccbf5..8a260df8bb1d7b07c216482fe326abed472aeae3 100644 (file)
@@ -555,5 +555,5 @@ U_BOOT_CMD(
        "pci modify[.b, .w, .l] b.d.f address\n"
        "    -  modify, auto increment CFG address\n"
        "pci write[.b, .w, .l] b.d.f address value\n"
-       "    - write to CFG address\n"
+       "    - write to CFG address"
 );
index e448456971de91a237e976080417647ae499d990..e576b0c5979ced71173a689be88cbe41883270d1 100644 (file)
@@ -90,8 +90,8 @@ U_BOOT_CMD(
        pinit,  2,      0,      do_pinit,
        "PCMCIA sub-system",
        "on  - power on PCMCIA socket\n"
-                       "pinit off - power off PCMCIA socket\n"
-         );
+       "pinit off - power off PCMCIA socket"
+);
 
 #endif
 
index 41b1991a275b4153cc56120324142c0c089186cc..f8befee296c94f874b0af95faf6d0479e36f72a7 100644 (file)
@@ -94,7 +94,7 @@ int do_portio_out (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        out,    3,      1,      do_portio_out,
        "write datum to IO port",
-       "[.b, .w, .l] port value\n    - output to IO port\n"
+       "[.b, .w, .l] port value\n    - output to IO port"
 );
 
 int do_portio_in (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
@@ -159,5 +159,5 @@ U_BOOT_CMD(
        in,     2,      1,      do_portio_in,
        "read data from an IO port",
        "[.b, .w, .l] port\n"
-       "    - read datum from IO port\n"
+       "    - read datum from IO port"
 );
index 0e28c05b850e0a92d69ebe512dc478bbeb90234b..abb9941afbdd8819905434364dcf4566d393c234 100644 (file)
@@ -383,5 +383,6 @@ int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        reginfo,        2,      1,      do_reginfo,
        "print register information",
+       ""
 );
 #endif
index 14e4bd40e3612f564eb4d15242267c2572bb730e..8ede78231652c3a15f2ed8af72d80de74311548a 100644 (file)
@@ -104,7 +104,7 @@ U_BOOT_CMD(
        reiserls,       4,      1,      do_reiserls,
        "list files in a directory (default /)",
        "<interface> <dev[:part]> [directory]\n"
-       "    - list files from 'dev' on 'interface' in a 'directory'\n"
+       "    - list files from 'dev' on 'interface' in a 'directory'"
 );
 
 /******************************************************************************
@@ -235,5 +235,5 @@ U_BOOT_CMD(
        "load binary file from a Reiser filesystem",
        "<interface> <dev[:part]> [addr] [filename] [bytes]\n"
        "    - load binary file 'filename' from 'dev' on 'interface'\n"
-       "      to address 'addr' from dos filesystem\n"
+       "      to address 'addr' from dos filesystem"
 );
index e84977870ab7b96a17635b01b45f2c2bbbde3a48..a8147e0e0fe672349ff476e88c04783d0b333f78 100644 (file)
@@ -200,4 +200,5 @@ U_BOOT_CMD(
        "sata device [dev] - show or set current device\n"
        "sata part [dev] - print partition table\n"
        "sata read addr blk# cnt\n"
-       "sata write addr blk# cnt\n");
+       "sata write addr blk# cnt"
+);
index dd2c1ae73d6f9e20695be9c08aa5386c34778f63..f89492fe2287c57d6f20ccb00282161a9c5382a1 100644 (file)
@@ -623,11 +623,11 @@ U_BOOT_CMD(
        "scsi device [dev] - show or set current device\n"
        "scsi part [dev] - print partition table of one or all SCSI devices\n"
        "scsi read addr blk# cnt - read `cnt' blocks starting at block `blk#'\n"
-       "     to memory address `addr'\n"
+       "     to memory address `addr'"
 );
 
 U_BOOT_CMD(
        scsiboot, 3, 1, do_scsiboot,
        "boot from SCSI device",
-       "loadAddr dev:part\n"
+       "loadAddr dev:part"
 );
index 9a5e720d68bcfb41158d2574c33501391f3c3853..f8b5d4dcfe8cc2f2208a6a59641d5bfb1da519f1 100644 (file)
@@ -66,5 +66,5 @@ U_BOOT_CMD(
        "set environment variable as the result of eval expression",
        "name value1 <op> value2\n"
        "    - set environment variable 'name' to the result of the evaluated\n"
-       "      express specified by <op>.  <op> can be &, |, ^, +, -, *, /, %\n"
+       "      express specified by <op>.  <op> can be &, |, ^, +, -, *, /, %"
 );
index 6a60b16805b261013bd21722d1821cb92d174524..2d463a8c978d628914821313818d3a3816f94144 100644 (file)
@@ -188,4 +188,5 @@ U_BOOT_CMD(
        "                                 `offset' to memory at `addr'\n"
        "sf write addr offset len       - write `len' bytes from memory\n"
        "                                 at `addr' to flash at `offset'\n"
-       "sf erase offset len            - erase `len' bytes from `offset'\n");
+       "sf erase offset len            - erase `len' bytes from `offset'"
+);
index 43e131592933346b0a36f53c014583b2ea526862..965b8b1b04534483e869812282753d962b492af2 100644 (file)
@@ -229,10 +229,11 @@ U_BOOT_CMD(
        "run script from memory",
        "[addr]\n"
        "\t- run script starting at addr\n"
-       "\t- A valid image header must be present\n"
+       "\t- A valid image header must be present"
 #if defined(CONFIG_FIT)
+       "\n"
        "For FIT format uImage addr must include subimage\n"
-       "unit name in the form of addr:<subimg_uname>\n"
+       "unit name in the form of addr:<subimg_uname>"
 #endif
 );
 
@@ -251,6 +252,6 @@ do_autoscr (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        autoscr, 2, 0,  do_autoscr,
        "DEPRECATED - use \"source\" command instead",
-       "DEPRECATED - use \"source\" command instead\n"
+       ""
 );
 #endif
index 746d14f21ac3bb31b08d34d8cbe7dac2a0e98b15..ab7aac780dbd85999ccf8cc65d01c226e7de247b 100644 (file)
@@ -142,5 +142,5 @@ U_BOOT_CMD(
        "<device> <bit_len> <dout> - Send <bit_len> bits from <dout> out the SPI\n"
        "<device>  - Identifies the chip select of the device\n"
        "<bit_len> - Number of bits to send (base 10)\n"
-       "<dout>    - Hexadecimal string that gets sent\n"
+       "<dout>    - Hexadecimal string that gets sent"
 );
index 4517ba29e715b4a522318d073ae475be747ca565..3a0d8ff43adbaa3e8a6fdb38023c4ea9a927fa61 100644 (file)
@@ -43,4 +43,5 @@ int do_strings(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(strings, 3, 1, do_strings,
        "display strings",
        "<addr> [byte count]\n"
-       "    - display strings at <addr> for at least [byte count] or first double NUL\n");
+       "    - display strings at <addr> for at least [byte count] or first double NUL"
+);
index 64a730724c6e9cd3af24885bf9dfa33032b10e99..bbca3892c93830b8a5cbf101ef77ca05355d398d 100644 (file)
@@ -609,5 +609,5 @@ U_BOOT_CMD(ubi, 6, 1, do_ubi,
        "[Legends]\n"
        " volume: charater name\n"
        " size: KiB, MiB, GiB, and bytes\n"
-       " type: s[tatic] or d[ynamic] (default=dynamic)\n"
+       " type: s[tatic] or d[ynamic] (default=dynamic)"
 );
index 4767aa4b6061287aeab08f8692c5656f5988a738..d9f60d51edb0a83b3ec69d96b96ff440e3d6996d 100644 (file)
@@ -119,14 +119,17 @@ int do_ubifs_load(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        ubifsmount, 2, 0, do_ubifs_mount,
        "mount UBIFS volume",
-       "\n");
+       ""
+);
 
 U_BOOT_CMD(ubifsls, 2, 0, do_ubifs_ls,
-          "list files in a directory",
-          "[directory]\n"
-          "    - list files in a 'directory' (default '/')\n");
+       "list files in a directory",
+       "[directory]\n"
+       "    - list files in a 'directory' (default '/')"
+);
 
 U_BOOT_CMD(ubifsload, 4, 0, do_ubifs_load,
-          "load file from an UBIFS filesystem",
-          "<addr> <filename> [bytes]\n"
-          "    - load file 'filename' to address 'addr'\n");
+       "load file from an UBIFS filesystem",
+       "<addr> <filename> [bytes]\n"
+       "    - load file 'filename' to address 'addr'"
+);
index bfb91b58c60e114a9a1aefdafb2c31927ab399a2..0a6d722a0ece8fc5219319577246150d61991731 100644 (file)
@@ -382,5 +382,5 @@ U_BOOT_CMD(
        "                                      03 -> Configuration Space\n"
        "    [vdw] = VMEbus Maximum Datawidth: 01 -> D8 Data Width\n"
        "                                      02 -> D16 Data Width\n"
-       "                                      03 -> D32 Data Width\n"
+       "                                      03 -> D32 Data Width"
 );
index a18e16e1004444e618843802828ad6be356ebf93..7b8ee6b48e7c007ce7d79266dc0fa9737bb157a1 100644 (file)
@@ -686,14 +686,14 @@ U_BOOT_CMD(
        "usb part [dev] - print partition table of one or all USB storage"
        " devices\n"
        "usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'\n"
-       "    to memory address `addr'\n"
+       "    to memory address `addr'"
 );
 
 
 U_BOOT_CMD(
        usbboot,        3,      1,      do_usbboot,
        "boot from USB device",
-       "loadAddr dev:part\n"
+       "loadAddr dev:part"
 );
 
 #else
@@ -702,6 +702,6 @@ U_BOOT_CMD(
        "USB sub-system",
        "reset - reset (rescan) USB controller\n"
        "usb  tree  - show USB device tree\n"
-       "usb  info [dev] - show available USB devices\n"
+       "usb  info [dev] - show available USB devices"
 );
 #endif
index 84d9530aa994801130a4c6fc18ef30917a5ac5c8..9c5b0385b5a2484c0623df91a592540e90992210 100644 (file)
@@ -71,7 +71,7 @@ U_BOOT_CMD(
        "/N\n"
        "    - load bitmap N to the VFDs (N is _decimal_ !!!)\n"
        "vfd ADDR\n"
-       "    - load bitmap at address ADDR\n"
+       "    - load bitmap at address ADDR"
 );
 #endif
 
index a45d2480e29af8684a6bc4c085abb218706f1da7..5593b2d24b7ab8f417cea3f4dc511320df9e5240 100644 (file)
@@ -180,11 +180,12 @@ do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(imxtract, 4, 1, do_imgextract,
-          "extract a part of a multi-image",
-          "addr part [dest]\n"
-          "    - extract <part> from legacy image at <addr> and copy to <dest>\n"
+       "extract a part of a multi-image",
+       "addr part [dest]\n"
+       "    - extract <part> from legacy image at <addr> and copy to <dest>"
 #if defined(CONFIG_FIT)
-          "addr uname [dest]\n"
-          "    - extract <uname> subimage from FIT image at <addr> and copy to <dest>\n"
+       "\n"
+       "addr uname [dest]\n"
+       "    - extract <uname> subimage from FIT image at <addr> and copy to <dest>"
 #endif
 );
index c47ea769feaaa18da773f26211673c1e46ac68b5..d448d04831d305c768f9c0eb1b414dc2ca477809 100644 (file)
@@ -143,71 +143,71 @@ int do_ydump (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
     ymount, 3,  0,  do_ymount,
     "mount yaffs",
-    "\n"
+    ""
 );
 
 U_BOOT_CMD(
     yumount, 3,  0,  do_yumount,
     "unmount yaffs",
-    "\n"
+    ""
 );
 
 U_BOOT_CMD(
     yls,    4,  0,  do_yls,
     "yaffs ls",
-    "[-l] name\n"
+    "[-l] name"
 );
 
 U_BOOT_CMD(
     yrd,    2,  0,  do_yrd,
     "read file from yaffs",
-    "filename\n"
+    "filename"
 );
 
 U_BOOT_CMD(
     ywr,    4,  0,  do_ywr,
     "write file to yaffs",
-    "filename value num_vlues\n"
+    "filename value num_vlues"
 );
 
 U_BOOT_CMD(
     yrdm,   3,  0,  do_yrdm,
     "read file to memory from yaffs",
-    "filename offset\n"
+    "filename offset"
 );
 
 U_BOOT_CMD(
     ywrm,   4,  0,  do_ywrm,
     "write file from memory to yaffs",
-    "filename offset size\n"
+    "filename offset size"
 );
 
 U_BOOT_CMD(
     ymkdir, 2,  0,  do_ymkdir,
     "YAFFS mkdir",
-    "dirname\n"
+    "dirname"
 );
 
 U_BOOT_CMD(
     yrmdir, 2,  0,  do_yrmdir,
     "YAFFS rmdir",
-    "dirname\n"
+    "dirname"
 );
 
 U_BOOT_CMD(
     yrm,    2,  0,  do_yrm,
     "YAFFS rm",
-    "path\n"
+    "path"
 );
 
 U_BOOT_CMD(
     ymv,    4,  0,  do_ymv,
     "YAFFS mv",
-    "oldPath newPath\n"
+    "oldPath newPath"
 );
 
 U_BOOT_CMD(
     ydump,  2,  0,  do_ydump,
     "YAFFS device struct",
-    "dirname\n"
+    "dirname"
 );
index 16f3afe3947ef608b00f78665d8974700399b2b1..b57f8dfc81f5d40e8686208d8b2613c7dc95fb25 100644 (file)
@@ -39,7 +39,7 @@ do_version (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        version,        1,              1,      do_version,
        "print monitor version",
-       NULL
+       ""
 );
 
 #if defined(CONFIG_CMD_ECHO)
@@ -73,7 +73,7 @@ U_BOOT_CMD(
        echo,   CONFIG_SYS_MAXARGS,     1,      do_echo,
        "echo args to console",
        "[args..]\n"
-       "    - echo args to console; \\c suppresses newline\n"
+       "    - echo args to console; \\c suppresses newline"
 );
 
 #endif
@@ -204,8 +204,7 @@ do_test (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        test,   CONFIG_SYS_MAXARGS,     1,      do_test,
        "minimal test like /bin/sh",
-       "[args..]\n"
-       "    - test functionality\n"
+       "[args..]"
 );
 
 int
@@ -223,7 +222,7 @@ do_exit (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        exit,   2,      1,      do_exit,
        "exit script",
-       "    - exit functionality\n"
+       ""
 );
 
 
@@ -314,15 +313,15 @@ U_BOOT_CMD(
        "'help' prints online help for the monitor commands.\n\n"
        "Without arguments, it prints a short usage message for all commands.\n\n"
        "To get detailed help information for specific commands you can type\n"
-  "'help' with one or more command names as arguments.\n"
+       "'help' with one or more command names as arguments."
 );
 
-/* This do not ust the U_BOOT_CMD macro as ? can't be used in symbol names */
+/* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */
 #ifdef  CONFIG_SYS_LONGHELP
 cmd_tbl_t __u_boot_cmd_question_mark Struct_Section = {
        "?",    CONFIG_SYS_MAXARGS,     1,      do_help,
        "alias for 'help'",
-       NULL
+       ""
 };
 #else
 cmd_tbl_t __u_boot_cmd_question_mark Struct_Section = {
index cf5782a7cdb8f4d80d8e95606bc7e431107d72c5..97fd07067ea7bf770e33faacfc18d5afe2fea514 100644 (file)
@@ -3627,7 +3627,7 @@ U_BOOT_CMD(
        "print local hushshell variables",
        "\n    - print values of all hushshell variables\n"
        "showvar name ...\n"
-       "    - print value of hushshell variable 'name'\n"
+       "    - print value of hushshell variable 'name'"
 );
 
 #endif
index 41551707dd97f68307dd1cf093c65faabed8b97c..74a5c77693f8b09e5e12d99645faac3188738881 100644 (file)
@@ -427,7 +427,7 @@ static int lcd_clear (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        cls,    1,      1,      lcd_clear,
        "clear screen",
-       NULL
+       ""
 );
 
 /*----------------------------------------------------------------------*/
index 51d5cf636feb9eeb04793dfc97f2d5c108d262fe..6e295994ab5dccd25b7991efd6b5f8f7a952f4c3 100644 (file)
@@ -335,8 +335,8 @@ usage:
 U_BOOT_CMD(
        nandecc, 2, 1,  do_switch_ecc,
        "nandecc - switch OMAP3 NAND ECC calculation algorithm\n",
-       "[hw/sw] - Switch between NAND hardware (hw) or software (sw) ecc algorithm\n"
-       );
+       "[hw/sw] - Switch between NAND hardware (hw) or software (sw) ecc algorithm"
+);
 
 #endif /* CONFIG_NAND_OMAP_GPMC */
 
index 6cdc422594926a525c1bf0b81ae6e4956dfbbdc7..8f2eb37e17e867eb0af560133b7fe0a54640abf7 100644 (file)
@@ -389,6 +389,6 @@ U_BOOT_CMD(
        "                           no args for entire bank\n"
        "fuse prog <frow_bit>   - program fuse at row <frow>, bit <_bit>\n"
        "                           <frow> is 0-31, <bit> is 0-7; eg. 13_2 \n"
-       "                         WARNING - this is permanent\n"
-       );
+       "                         WARNING - this is permanent"
+);
 #endif /* CONFIG_CMD_FUSE */
index 5992111c1d4d885286551944335eb8dafd2b15b4..1f908624249834c82b48fc27d1cb5772a606e60a 100644 (file)
@@ -138,7 +138,7 @@ int do_clocks (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(clocks, 1, 0, do_clocks,
        "print clock configuration",
-       "    clocks\n"
+       "    clocks"
 );
 
 int prt_mpc512x_clks (void)
index 9b7e7b576e04e241515c7c74b89d0176183b7b3d..95b558f926f24ec3d5bf7ac15cb643185baa762a 100644 (file)
@@ -545,5 +545,5 @@ int do_clocks (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(clocks, 1, 0, do_clocks,
        "print clock configuration",
-       "    clocks\n"
+       "    clocks"
 );
index 2c2e838de84c22f7e394107592ad1fae82231a85..33553b7ca6dd0ed29635b4eca4734748e699a242 100644 (file)
@@ -48,7 +48,7 @@
        "asmi write addr offset count\n"\
        "    - write count bytes to offset from addr.\n"\
        "asmi verify addr offset count\n"\
-       "    - verify count bytes at offset from addr.\n"
+       "    - verify count bytes at offset from addr."
 
 
 /*-----------------------------------------------------------------------*/
index 968b50f3d8c357c18049e778e77e5b235cccb8e0..483b249cd5c10dde685f57067a8a7215f7a30a4b 100644 (file)
@@ -47,7 +47,7 @@
        "epcs write addr offset count\n"\
        "    - write count bytes to offset from addr.\n"\
        "epcs verify addr offset count\n"\
-       "    - verify count bytes at offset from addr.\n"
+       "    - verify count bytes at offset from addr."
 
 
 /*-----------------------------------------------------------------------*/
index 251204beb7b14e5e80512c8ec2745ea3d7466dd6..77bc8b5690376cf2892c1332e986619b0030be30 100644 (file)
@@ -53,6 +53,6 @@ int do_sysid (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
        sysid,  1,      1,      do_sysid,
        "display Nios-II system id",
-       "\n    - display Nios-II system id\n"
+       ""
 );
 #endif /* CONFIG_SYS_NIOS_SYSID_BASE */
index 1c5e314d9d51e0d13f3d1fd1895299dcf37c6dab..e8273ee363dcfedf34c6be5b26048dadd48a26b1 100644 (file)
@@ -221,7 +221,7 @@ U_BOOT_CMD(
        "pca953x invert pin 0|1\n"
        "       - disable/enable polarity inversion for reads\n"
        "pca953x intput pin\n"
-       "       - set pin as input and read value\n"
+       "       - set pin as input and read value"
 );
 
 #endif /* CONFIG_CMD_PCA953X */
index 8b5fbbc45651a262c825517835e9e9f11d95df23..f2510a38fd07c51f04139839548163480d982429 100644 (file)
@@ -404,12 +404,14 @@ U_BOOT_CMD(
        "ds4510 pullup pin 0|1\n"
        "       - disable/enable pullup on specified pin\n"
        "ds4510 nv 0|1\n"
-       "       - make gpio and seeprom writes volatile/non-volatile\n"
+       "       - make gpio and seeprom writes volatile/non-volatile"
 #ifdef CONFIG_CMD_DS4510_RST
+       "\n"
        "ds4510 rstdelay 0-3\n"
-       "       - set reset output delay\n"
+       "       - set reset output delay"
 #endif
 #ifdef CONFIG_CMD_DS4510_MEM
+       "\n"
        "ds4510 eeprom read addr off cnt\n"
        "ds4510 eeprom write addr off cnt\n"
        "       - read/write 'cnt' bytes at EEPROM offset 'off'\n"
@@ -418,7 +420,7 @@ U_BOOT_CMD(
        "       - read/write 'cnt' bytes at SRAM-shadowed EEPROM offset 'off'\n"
        "ds4510 sram read addr off cnt\n"
        "ds4510 sram write addr off cnt\n"
-       "       - read/write 'cnt' bytes at SRAM offset 'off'\n"
+       "       - read/write 'cnt' bytes at SRAM offset 'off'"
 #endif
 );
 #endif /* CONFIG_CMD_DS4510 */
index f114fe06a42b5523eec38471fe6a2a76b28ec0e0..918bfa748e0932cc73c96d164f3f1cfe342b10c3 100644 (file)
@@ -473,5 +473,6 @@ U_BOOT_CMD(
        qe, 4, 0, qe_cmd,
        "QUICC Engine commands",
        "fw <addr> [<length>] - Upload firmware binary at address <addr> to "
-               "the QE,\n\twith optional length <length> verification.\n"
-       );
+               "the QE,\n"
+       "\twith optional length <length> verification."
+);