]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_vfd.c
NAND: move board_nand_init to nand.h
[people/ms/u-boot.git] / common / cmd_vfd.c
index 29c349dab9c5d21e59dcb084c15cf7e505803b02..45f427126da27cf774c4bfceeba126980041829c 100644 (file)
@@ -66,16 +66,15 @@ 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"
-       "    - load bitmap N to the VFDs (N is _decimal_ !!!)\n"
+       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 ADDR\n"
        "    - load bitmap at address ADDR\n"
 );
 #endif
 
-#ifdef CONFIG_VFD
 int trab_vfd (ulong bitmap)
 {
        uchar *addr;
@@ -103,4 +102,3 @@ int trab_vfd (ulong bitmap)
        transfer_pic(3, addr, VFD_LOGO_HEIGHT, VFD_LOGO_WIDTH);
        return 0;
 }
-#endif /* CONFIG_VFD */