]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_vfd.c
* Patch by Martin Krause, 11 Sep 2003:
[karo-tx-uboot.git] / common / cmd_vfd.c
index f04714981a8d626b2acb444b0d75cd996ae346d3..118c50dcbc0591e48d45967bdb468db7781b836e 100644 (file)
@@ -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));
        }
@@ -68,8 +68,10 @@ int do_vfd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 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 */