ulong bitmap;
if (argc != 2) {
- printf ("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}
}
U_BOOT_CMD(
- vfd, 2, 0, do_vfd,
- "vfd - load a bitmap to the VFDs on TRAB\n",
- "/N\n"
- " - load bitmap N to the VFDs (N is _decimal_ !!!)\n"
+ vfd, 2, 0, do_vfd,
+ "load a bitmap to the VFDs on TRAB",
+ "/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 /* CFG_CMD_VFD */
+#endif
-#ifdef CONFIG_VFD
int trab_vfd (ulong bitmap)
{
uchar *addr;
transfer_pic(3, addr, VFD_LOGO_HEIGHT, VFD_LOGO_WIDTH);
return 0;
}
-#endif /* CONFIG_VFD */