summaryrefslogtreecommitdiffstats
path: root/drivers/cfb_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cfb_console.c')
-rw-r--r--drivers/cfb_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c
index 9727aebbcb..d9568b5c79 100644
--- a/drivers/cfb_console.c
+++ b/drivers/cfb_console.c
@@ -180,7 +180,7 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the hardware cursor capability of the
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
+#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#include <watchdog.h>
#include <bmp_layout.h>
#endif /* (CONFIG_COMMANDS & CFG_CMD_BMP) || CONFIG_SPLASH_SCREEN */
@@ -709,7 +709,7 @@ void video_puts (const char *s)
/*****************************************************************************/
-#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
+#if (CONFIG_COMMANDS & CFG_CMD_BMP) || defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#define FILL_8BIT_332RGB(r,g,b) { \
*fb = ((r>>5)<<5) | ((g>>5)<<2) | (b>>6); \
OpenPOWER on IntegriCloud