/*
* Command led: controls the various LEDs 0..11 on the PN62 card.
*/
-int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
unsigned int number, function;
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'"
);
/*
#define CMD_MOVE_WINDOW 0x1
#define CMD_BOOT_IMAGE 0x2
-int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_loadpci (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
char *s;
ulong addr = 0, count = 0;
rcode = do_bootm (cmdtp, 0, 1, local_args);
}
-#ifdef CONFIG_AUTOSCRIPT
- if (load_addr) {
- char *s;
-
- if (((s = getenv("autoscript")) != NULL) && (strcmp(s,"yes") == 0)) {
- printf ("Running autoscript at addr 0x%08lX", load_addr);
-
- s = getenv ("autoscript_uname");
- if (s)
- printf (":%s ...\n", s);
- else
- puts (" ...\n");
-
- rcode = autoscript (load_addr, s);
- }
- }
-#endif
return rcode;
}
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