diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:02:10 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:23:11 +0200 |
commit | d5be43de93ff905c465e509d45a3164ef48d26e7 (patch) | |
tree | 8adf5e095118afadc4b2f770daad386df1da3f4e /drivers/cfb_console.c | |
parent | b453960d4fdb87b3970d96119b90df2ed024fc4a (diff) | |
download | u-boot-imx-d5be43de93ff905c465e509d45a3164ef48d26e7.zip u-boot-imx-d5be43de93ff905c465e509d45a3164ef48d26e7.tar.gz u-boot-imx-d5be43de93ff905c465e509d45a3164ef48d26e7.tar.bz2 |
drivers/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.
All transformations are of the form:
Before:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
#if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'drivers/cfb_console.c')
-rw-r--r-- | drivers/cfb_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c index 9727aeb..d9568b5 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); \ |