]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_vfd.c
ColdFire 54455: Fix correct boot location for atmel and intel
[u-boot] / common / cmd_vfd.c
index 118c50dcbc0591e48d45967bdb468db7781b836e..29c349dab9c5d21e59dcb084c15cf7e505803b02 100644 (file)
@@ -35,7 +35,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_VFD)
+#if defined(CONFIG_CMD_VFD)
 
 #include <vfd_logo.h>
 #define VFD_TEST_LOGO_BMPNR 0
@@ -73,7 +73,7 @@ U_BOOT_CMD(
        "vfd ADDR\n"
        "    - load bitmap at address ADDR\n"
 );
-#endif /* CFG_CMD_VFD */
+#endif
 
 #ifdef CONFIG_VFD
 int trab_vfd (ulong bitmap)
@@ -90,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 {