summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-07-29 09:55:28 +0000
committerWolfgang Denk <wd@denx.de>2011-08-01 14:58:55 +0200
commit72c65f6f6dab7a0a46d5e7db03c20bc18865181f (patch)
treed6ce28035a84c37e1f7e031a67c0fe1c232b6f35 /drivers/video
parent64e40d72eade798fdc4766af80702aeae0e726cb (diff)
downloadu-boot-imx-72c65f6f6dab7a0a46d5e7db03c20bc18865181f.zip
u-boot-imx-72c65f6f6dab7a0a46d5e7db03c20bc18865181f.tar.gz
u-boot-imx-72c65f6f6dab7a0a46d5e7db03c20bc18865181f.tar.bz2
cfb_console.c: drop custom PRINTD() and use debug() instead
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/cfb_console.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 917bba6..d2dd421 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -348,13 +348,6 @@ void console_cursor(int state);
#endif
#endif
-#if defined(DEBUG) || defined(DEBUG_CFB_CONSOLE)
-#define PRINTD(x) printf(x)
-#else
-#define PRINTD(x)
-#endif
-
-
#ifdef CONFIG_CONSOLE_EXTRA_INFO
/*
* setup a board string: type, speed, etc.
@@ -1736,7 +1729,7 @@ static int video_init(void)
#ifdef CONFIG_VIDEO_LOGO
/* Plot the logo and get start point of console */
- PRINTD("Video: Drawing the logo ...\n");
+ debug("Video: Drawing the logo ...\n");
video_console_address = video_logo();
#else
video_console_address = video_fb_address;
@@ -1775,7 +1768,7 @@ int drv_video_init(void)
skip_dev_init = (video_init() == -1);
#if !defined(CONFIG_VGA_AS_SINGLE_DEVICE)
- PRINTD("KBD: Keyboard init ...\n");
+ debug("KBD: Keyboard init ...\n");
skip_dev_init |= (VIDEO_KBD_INIT_FCT == -1);
#endif