X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_vfd.c;h=5e623a2705377af48f1ee4d2c5d9b0c4b1c550b3;hb=c95c4280d751ca078c2ff58228d2f2b44ccf0600;hp=61ebe1c45df6323759c46bf7eafdf31c3f242460;hpb=8bde7f776c77b343aca29b8c7b58464d915ac245;p=u-boot diff --git a/common/cmd_vfd.c b/common/cmd_vfd.c index 61ebe1c45d..5e623a2705 100644 --- a/common/cmd_vfd.c +++ b/common/cmd_vfd.c @@ -54,7 +54,7 @@ int do_vfd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 1; } - if (argv[1][0] == '#') { /* select bitmap by number */ + if (argv[1][0] == '/') { /* select bitmap by number */ bitmap = simple_strtoul(argv[1]+1, NULL, 10); return (trab_vfd(bitmap)); } @@ -65,11 +65,13 @@ int do_vfd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 0; } -cmd_tbl_t U_BOOT_CMD(VFD) = MK_CMD_ENTRY( - "vfd", 2, 0, do_vfd, +U_BOOT_CMD( + vfd, 2, 0, do_vfd, "vfd - load a bitmap to the VFDs on TRAB\n", - "N\n" + "/N\n" " - load bitmap N to the VFDs (N is _decimal_ !!!)\n" + "vfd ADDR\n" + " - load bitmap at address ADDR\n" ); #endif /* CFG_CMD_VFD */ @@ -88,8 +90,6 @@ int trab_vfd (ulong bitmap) } break; case VFD_REMOTE_LOGO_BMPNR: - transfer_pic(3, &vfd_remote_logo_bitmap[0], - VFD_LOGO_HEIGHT, VFD_LOGO_WIDTH); if ((s = getenv ("bitmap1")) != NULL) { addr = (uchar *)simple_strtoul (s, NULL, 16); } else {