U_BOOT_CMD(
vcimage, 2, 0, do_vcimage,
"loads an image to Display",
- "vcimage addr\n"
+ "vcimage addr"
);
/* EOF EB+MCF-EV123c */
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'"
);
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"
+);
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"
+);
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"
+);
RCONF: Read current eeprom configuration. \n\
-----------------------------------------------\n\
WTEST: Test EEPROM write with predefined values\n\
- -----------------------------------------------\n"
- );
+ -----------------------------------------------"
+);
#endif /* CONFIG_CMD_EEPROM */
l2cache, 2, 1, do_l2cache,
"enable or disable L2 cache",
"[on, off]\n"
- " - enable or disable L2 cache\n"
- );
+ " - enable or disable L2 cache"
+);
RCONF: Read current eeprom configuration. \n\
-----------------------------------------------\n\
WTEST: Test EEPROM write with predefined values\n\
- -----------------------------------------------\n"
- );
+ -----------------------------------------------"
+);
#endif /* CONFIG_CMD_EEPROM */
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"
+);
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"
+);
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[])
{
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
U_BOOT_CMD (
update_boot_eeprom, 1, 1, update_boot_eeprom,
"update boot eeprom content",
- NULL
- );
+ ""
+);
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)
}
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
}
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
}
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);
}
U_BOOT_CMD(resetinfo, 1, 1, do_show_reset_reg_info,
- "Show Reset REG info", NULL);
+ "Show Reset REG info", "");
}
U_BOOT_CMD(update_boot_eeprom, 1, 1, do_update_boot_eeprom,
- "update bootstrap eeprom content", NULL);
+ "update bootstrap eeprom content", "");
#endif
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"
);
" - 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,
"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)
{
" - 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)
{
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
"\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");
/*
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 */
"\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
*/
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
/*
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
"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
/* 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 */
"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 */
U_BOOT_CMD(
kbd, 1, 1, do_kbd,
"read keyboard status",
- NULL
+ ""
);
#endif /* DELTA_CHECK_KEYBD */
U_BOOT_CMD(
digtest, 3, 1, do_digtest,
"Test digital in-/output",
- NULL
- );
-
+ ""
+);
#define ERROR_DELTA 256
U_BOOT_CMD(
anatest, 2, 1, do_anatest,
"Test analog in-/output",
- NULL
- );
+ ""
+);
int counter = 0;
U_BOOT_CMD(
inctest, 3, 1, do_inctest,
"Test incremental encoder inputs",
- NULL
- );
+ ""
+);
#endif
}
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) */
/* ------------------------------------------------------------------------- */
U_BOOT_CMD(
autoupd, 1, 1, auto_update,
"Automatically update images",
- NULL
+ ""
);
#endif /* CONFIG_AUTO_UPDATE */
U_BOOT_CMD(
loadpci, 1, 1, do_loadpci,
"Wait for pci bootcmd and boot it",
- NULL
- );
+ ""
+);
#endif
U_BOOT_CMD(
esdbmp, 2, 1, do_esdbmp,
"display BMP image",
- "<imageAddr> - display image\n"
+ "<imageAddr> - display image"
);
cpld, 2, 1, do_cpld,
"program onboard CPLD",
"<xsvf-addr>"
- );
+);
U_BOOT_CMD(
eepwren, 2, 0, do_eep_wren,
"Enable / disable / query EEPROM write access",
- NULL
- );
+ ""
+);
#endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
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 */
U_BOOT_CMD(
getbpip, 1, 1, do_get_bpip,
"Update IP-Address with Backplane IP-Address",
- NULL
- );
+ ""
+);
/*
* Set and print backplane ip...
U_BOOT_CMD(
setbpip, 2, 1, do_set_bpip,
"Write Backplane IP-Address",
- NULL
- );
+ ""
+);
#endif /* CONFIG_CPCI405AB */
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"
+ ""
+);
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)"
+);
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"
);
/* ------------------------------------------------------------------------- */
U_BOOT_CMD(
dcf77, 1, 1, do_dcf77,
"Check DCF77 receiver",
- NULL
- );
+ ""
+);
/*
* initialize USB hub via I2C1
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
U_BOOT_CMD(
sbe, 2, 0, do_setup_boot_eeprom,
"setup boot eeprom",
- NULL
- );
+ ""
+);
#if defined(CONFIG_SYS_EEPROM_WREN)
/*
}
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;
U_BOOT_CMD(
wpi, 1, 1, do_waitpwrirq,
"Wait for power change interrupt",
- NULL
- );
+ ""
+);
/*
* initialize DVI panellink transmitter
U_BOOT_CMD(
dviinit, 1, 1, do_dviinit,
"Initialize DVI Panellink transmitter",
- NULL
- );
+ ""
+);
/*
* TODO: 'time' command might be useful for others as well.
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 */
U_BOOT_CMD(
gfxdemo, CONFIG_SYS_MAXARGS, 1, do_gfxdemo,
"demo",
- NULL
- );
+ ""
+);
}
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) */
U_BOOT_CMD(
setdevice, 1, 1, do_setdevice,
"Set device number on pci adapter boards",
- NULL
+ ""
);
U_BOOT_CMD(
getdevice, 1, 1, do_getdevice,
"Get device number and set slot env variable",
- NULL
+ ""
);
#endif
U_BOOT_CMD(
loadpci, 1, 1, do_loadpci,
"Wait for pci-image and boot it",
- NULL
+ ""
);
#endif
"wpeeprom 1\n"
" - enable I2C EEPROM write protection\n"
"wpeeprom 0\n"
- " - disable I2C EEPROM write protection\n"
- );
+ " - disable I2C EEPROM write protection"
+);
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)
{
}
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[])
{
}
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"
+ ""
+);
}
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) */
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)
{
" - 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[])
{
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>
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[])
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[])
{
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[])
{
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[])
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[])
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 */
U_BOOT_CMD(
iploop, 2, 1, do_iploop,
"i2c probe loop <addr>",
- NULL
- );
+ ""
+);
/*
*/
U_BOOT_CMD(
codec, 1, 1, do_codec,
"Enable codec",
- NULL
- );
+ ""
+);
/*
*/
U_BOOT_CMD(
saa, 5, 1, do_saa,
"Write to SAA1064 <addr> <instr> <cntrl> <data>",
- NULL
- );
+ ""
+);
/*
*/
U_BOOT_CMD(
iwrite, 6, 1, do_iwrite,
"Write n bytes to I2C-device",
- "addr cnt data0 ... datan\n"
- );
+ "addr cnt data0 ... datan"
+);
/*
*/
U_BOOT_CMD(
iread, 3, 1, do_iread,
"Read from I2C <addr> <cnt>",
- NULL
- );
+ ""
+);
/*
*/
U_BOOT_CMD(
ireadl, 2, 1, do_ireadl,
"Read-loop from I2C <addr>",
- NULL
- );
+ ""
+);
#endif
}
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) */
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
}
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[])
}
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
/*
" 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>"
+);
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)
U_BOOT_CMD(
dumpebc, 1, 1, do_dumpebc,
"Dump all EBC registers",
- NULL
+ ""
);
U_BOOT_CMD(
dumpdcr, 1, 1, do_dumpdcr,
"Dump all DCR registers",
- NULL
+ ""
);
U_BOOT_CMD(
dumpspr, 1, 1, do_dumpspr,
"Dump all SPR registers",
- NULL
+ ""
);
#endif
"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
"[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"
);
/* ------------------------------------------------------------------------- */
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,
"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) {
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)
U_BOOT_CMD(
rtest, 1, 1, hdlc_enet_rtest,
"simple receive test for hdlc_enet",
- "no arguments\n"
+ ""
);
#endif
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'"
);
/***********************************************************************
U_BOOT_CMD(
kbd, 1, 1, do_kbd,
"read keyboard status",
- NULL
+ ""
);
/* Read and set LSB switch */
"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
U_BOOT_CMD(
kbd, 1, 1, do_kbd,
"read keyboard status",
- NULL
+ ""
);
/*----------------------------- Utilities -----------------------------*/
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)
}
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");
"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"
);
/* ------------------------------------------------------------------------- */
" 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"
);
/* ------------------------------------------------------------------------- */
"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"
);
/* ------------------------------------------------------------------------- */
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"
);
"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
" 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)
"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
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'"
);
/*
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
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)
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
U_BOOT_CMD(
kbd, 1, 1, do_kbd,
"read keyboard status",
- NULL
+ ""
);
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[])
printmac, 1, 1, do_print_mac,
"print MAC address for RTL8110",
"\n"
- " - print MAC address for RTL8110\n"
+ " - print MAC address for RTL8110"
);
"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"
);
pmb, 1, 1, do_pmb,
"pmb - PMB setting\n",
"\n"
- " - PMB setting for all SDRAM mapping\n"
+ " - PMB setting for all SDRAM mapping"
);
#endif
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 */
}
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", "");
}
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", "");
"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
}
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
/* . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */
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 */
"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 */
"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 */
"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)
"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
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 */
U_BOOT_CMD(
hwib, 1, 1, do_hwib_dump,
"dump HWIB'",
- "\n"
+ ""
);
#ifdef CONFIG_SYS_UPDATE_FLASH_SIZE
"\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!"
);
"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\""
);
vcc5v, 1, 1, do_vcc5v,
"read VCC5V on TRAB",
"\n"
- " - read actual value of voltage VCC5V\n"
+ " - read actual value of voltage VCC5V"
);
U_BOOT_CMD(
c_temp, 1, 1, do_contact_temp,
"read contact temperature on TRAB",
- "\n"
+ ""
" - reads the onboard temperature (=contact temperature)\n"
);
"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)
"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
U_BOOT_CMD(
kbd, 1, 1, do_kbd,
"read keyboard status",
- NULL
+ ""
);
#ifdef CONFIG_MODEM_SUPPORT
"\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"
+);
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
U_BOOT_CMD (
update_boot_eeprom, 1, 1, do_update_boot_eeprom,
"update boot eeprom content",
- NULL
+ ""
);
#endif
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)
U_BOOT_CMD (
chkreset, 1, 1, do_chkreset,
"Check for status of SW-reset button and act accordingly",
- NULL
+ ""
);
#if defined(CONFIG_POST)
}
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"
+);
U_BOOT_CMD(
bdinfo, 1, 1, do_bdinfo,
"print Board Info structure",
- NULL
+ ""
);
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
} /* 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
" - 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
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
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
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
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
} /* do_bedbug_rdump */
U_BOOT_CMD (rdump, 1, 1, do_bedbug_rdump,
- "Show registers.", " - Show registers.\n");
+ "Show registers.", "");
/* ====================================================================== */
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"
);
/*
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[]);
U_BOOT_CMD(
reset, 1, 0, do_reset,
"Perform RESET of the CPU",
- NULL
+ ""
);
U_BOOT_CMD(bootldr, 2, 0, do_bootldr,
"boot ldr image from memory",
"[addr]\n"
- " - boot ldr image stored in memory\n");
+ ""
+);
"\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"
);
/*******************************************************************/
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
"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
"list all images found in flash",
"\n"
" - Prints information about all images found at sector\n"
- " boundaries in flash.\n"
+ " boundaries in flash."
);
#endif
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
U_BOOT_CMD(cplbinfo, 1, 0, do_cplbinfo,
"display current CPLB tables",
- "\n"
- " - display current CPLB tables\n");
+ ""
+);
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"
);
"[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"
);
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."
);
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")
" - 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"
);
"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"
);
"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[])
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,
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",
+ ""
);
"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(
"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 */
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."
);
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'"
);
/******************************************************************************
"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"
);
"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[])
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[])
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
U_BOOT_CMD(
fdcboot, 3, 1, do_fdcboot,
"boot from floppy device",
- "loadAddr drive\n"
+ "loadAddr drive"
);
#endif
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]"
);
"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."
);
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(
"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(
" - 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
"\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
);
"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
);
"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"
);
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(
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
U_BOOT_CMD(
interrupts, 5, 0, do_interrupts,
"enable or disable interrupts",
- "[on, off]\n"
- " - enable or disable interrupts\n"
+ "[on, off]"
);
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"
);
"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"
+ ""
);
/***************************************************/
}
U_BOOT_CMD(license, 1, 1, do_license,
- "print GPL license text",
- NULL);
+ "print GPL license text",
+ ""
+);
#endif /* CONFIG_CMD_LICENSE */
"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 */
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 */
"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
"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(
"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
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
"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)
" - 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]"
);
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
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 */
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 */
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 */
U_BOOT_CMD(
unzip, 4, 1, do_unzip,
"unzip a memory region",
- "srcaddr dstaddr [dstsize]\n"
+ "srcaddr dstaddr [dstsize]"
);
#endif /* CONFIG_CMD_UNZIP */
" 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",
" 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");
" - 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
"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."
);
U_BOOT_CMD(
irqinfo, 1, 1, do_irqinfo,
"print information about IRQs",
- NULL
+ ""
);
#endif
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_ !!!)"
);
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 */
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[])
{
"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
" 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(
"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
- );
+);
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(
"<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)"
);
/***************************************************/
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
);
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 */
" 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[])
U_BOOT_CMD(
nboot, 4, 1, do_nandboot,
"boot from NAND device",
- "loadAddr dev\n"
+ "loadAddr dev"
);
#endif
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[])
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[])
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)
U_BOOT_CMD(
dhcp, 3, 1, do_dhcp,
"boot image via network using DHCP/TFTP protocol",
- "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+ "[loadAddress] [[hostIPaddr:]bootfilename]"
);
#endif
U_BOOT_CMD(
nfs, 3, 1, do_nfs,
"boot image via network using NFS protocol",
- "[loadAddress] [[hostIPaddr:]bootfilename]\n"
+ "[loadAddress] [[hostIPaddr:]bootfilename]"
);
#endif
U_BOOT_CMD(
ping, 2, 1, do_ping,
"send ICMP ECHO_REQUEST to network host",
- "pingAddress\n"
+ "pingAddress"
);
#endif
U_BOOT_CMD(
saveenv, 1, 0, do_saveenv,
"save environment variables to persistent storage",
- NULL
+ ""
);
#endif
"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(
"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)
" - 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
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
"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)"
);
"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'"
+);
"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"
);
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
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[])
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"
);
U_BOOT_CMD(
reginfo, 2, 1, do_reginfo,
"print register information",
+ ""
);
#endif
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'"
);
/******************************************************************************
"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"
);
"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"
+);
"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"
);
"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 &, |, ^, +, -, *, /, %"
);
" `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'"
+);
"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
);
U_BOOT_CMD(
autoscr, 2, 0, do_autoscr,
"DEPRECATED - use \"source\" command instead",
- "DEPRECATED - use \"source\" command instead\n"
+ ""
);
#endif
"<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"
);
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"
+);
"[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)"
);
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'"
+);
" 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"
);
"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
"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
"/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
}
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
);
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"
);
U_BOOT_CMD(
version, 1, 1, do_version,
"print monitor version",
- NULL
+ ""
);
#if defined(CONFIG_CMD_ECHO)
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
U_BOOT_CMD(
test, CONFIG_SYS_MAXARGS, 1, do_test,
"minimal test like /bin/sh",
- "[args..]\n"
- " - test functionality\n"
+ "[args..]"
);
int
U_BOOT_CMD(
exit, 2, 1, do_exit,
"exit script",
- " - exit functionality\n"
+ ""
);
"'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 = {
"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
U_BOOT_CMD(
cls, 1, 1, lcd_clear,
"clear screen",
- NULL
+ ""
);
/*----------------------------------------------------------------------*/
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 */
" 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 */
U_BOOT_CMD(clocks, 1, 0, do_clocks,
"print clock configuration",
- " clocks\n"
+ " clocks"
);
int prt_mpc512x_clks (void)
U_BOOT_CMD(clocks, 1, 0, do_clocks,
"print clock configuration",
- " clocks\n"
+ " clocks"
);
"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."
/*-----------------------------------------------------------------------*/
"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."
/*-----------------------------------------------------------------------*/
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 */
"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 */
"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"
" - 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 */
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."
+);