summaryrefslogtreecommitdiff
path: root/drivers/cfb_console.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 17:30:01 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 17:30:23 -0500
commit07d38a17e964aec4c7827f0ee9a583bc8cc1ad6b (patch)
treee4535601a24564fe1ee0cd1b9ecd08f0b40ada11 /drivers/cfb_console.c
parentcde5c64d17cf4834aa7b5c373f288bc7dad27b29 (diff)
drivers/[a-m]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'drivers/cfb_console.c')
-rw-r--r--drivers/cfb_console.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c
index d9568b5c79..617361e405 100644
--- a/drivers/cfb_console.c
+++ b/drivers/cfb_console.c
@@ -180,10 +180,10 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the hardware cursor capability of the
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
+#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#include <watchdog.h>
#include <bmp_layout.h>
-#endif /* (CONFIG_COMMANDS & CFG_CMD_BMP) || CONFIG_SPLASH_SCREEN */
+#endif
/*****************************************************************************/
/* Cursor definition: */
@@ -709,7 +709,7 @@ void video_puts (const char *s)
/*****************************************************************************/
-#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
+#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#define FILL_8BIT_332RGB(r,g,b) { \
*fb = ((r>>5)<<5) | ((g>>5)<<2) | (b>>6); \
@@ -1004,7 +1004,7 @@ int video_display_bitmap (ulong bmp_image, int x, int y)
return (0);
}
-#endif /* (CONFIG_COMMANDS & CFG_CMD_BMP) || CONFIG_SPLASH_SCREEN */
+#endif
/*****************************************************************************/