X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fbarco%2Fbarco.c;h=c5fe8c470849c8d47166e4abaf403fbbedd45b04;hb=39ddd10b046fb791f47281ffb2100be01909ad72;hp=ed3557219506741f229cbe00784ceabebfae3f7d;hpb=6d0f6bcf337c5261c08fabe12982178c2c489d76;p=u-boot diff --git a/board/barco/barco.c b/board/barco/barco.c index ed35572195..c5fe8c4708 100644 --- a/board/barco/barco.c +++ b/board/barco/barco.c @@ -292,7 +292,7 @@ int barcobcd_boot_image (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { #if 0 if (argc > 1) { - printf ("Usage:\n (%d) %s\n", argc, cmdtp->usage); + cmd_usage(cmdtp); return 1; } #endif @@ -306,20 +306,20 @@ int barcobcd_boot_image (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD ( try_working, 1, 1, barcobcd_boot_image, - " try_working - check flash value and boot the appropriate image\n", - "\n" + "check flash value and boot the appropriate image", + "" ); U_BOOT_CMD ( boot_working, 1, 1, barcobcd_boot_image, - " boot_working - check flash value and boot the appropriate image\n", - "\n" + "check flash value and boot the appropriate image", + "" ); U_BOOT_CMD ( boot_default, 1, 1, barcobcd_boot_image, - " boot_default - check flash value and boot the appropriate image\n", - "\n" + "check flash value and boot the appropriate image", + "" ); /* * We are not using serial communication, so just provide empty functions @@ -340,10 +340,6 @@ void serial_puts (const char *c) { return; } -void serial_addr (unsigned int i) -{ - return; -} int serial_getc (void) { return 0;