diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-30 23:29:57 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-09-10 21:09:37 +0200 |
commit | 0d92d4a699fb1a39381d98571dc51fb97e5bcf9e (patch) | |
tree | 6f35b1762ee40b525d167c43cdcfcb7d7a57b476 | |
parent | 0b7c5639891f4103a0e31ec7ae0beb3e97ed3836 (diff) | |
download | u-boot-imx-0d92d4a699fb1a39381d98571dc51fb97e5bcf9e.zip u-boot-imx-0d92d4a699fb1a39381d98571dc51fb97e5bcf9e.tar.gz u-boot-imx-0d92d4a699fb1a39381d98571dc51fb97e5bcf9e.tar.bz2 |
cmd_vfd: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r-- | common/Makefile | 2 | ||||
-rw-r--r-- | common/cmd_vfd.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/common/Makefile b/common/Makefile index 8d4a426..3547766 100644 --- a/common/Makefile +++ b/common/Makefile @@ -144,7 +144,7 @@ COBJS-$(CONFIG_USB_STORAGE) += usb_storage.o endif COBJS-$(CONFIG_CMD_XIMG) += cmd_ximg.o COBJS-$(CONFIG_YAFFS2) += cmd_yaffs2.o -COBJS-y += cmd_vfd.o +COBJS-$(CONFIG_VFD) += cmd_vfd.o COBJS-$(CONFIG_CMD_DOC) += docecc.o COBJS-y += flash.o COBJS-y += kgdb.o diff --git a/common/cmd_vfd.c b/common/cmd_vfd.c index 104c310..45f4271 100644 --- a/common/cmd_vfd.c +++ b/common/cmd_vfd.c @@ -75,7 +75,6 @@ U_BOOT_CMD( ); #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 */ |