summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-11 20:04:51 +0000
committerwdenk <wdenk>2004-07-11 20:04:51 +0000
commit810509266fba83fb73f28842fc99268e761bd43c (patch)
tree37ea11c82b46a77116b115a72d0009c116b6581d /drivers
parent6c7a14084ae5f7dde3819e4ab43fd78ea82805fe (diff)
* Cleanup
* Patch by Mark Jonas, 05 Jul 2004: add support for the Total5100's and Total5200's LCD screen * Patches by Dan Eisenhut, 01 Jul 2004: - README fixes. - Move doc2000.h include to prevent compiler warning on some boards
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cfb_console.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c
index fee0386ae10..138b9689b56 100644
--- a/drivers/cfb_console.c
+++ b/drivers/cfb_console.c
@@ -1173,14 +1173,15 @@ int drv_video_init (void)
skip_dev_init = 0;
+ /* Init video chip - returns with framebuffer cleared */
+ if (video_init () == -1)
+ skip_dev_init = 1;
+
/* Force console i/o to serial ? */
if ((penv = getenv ("console")) != NULL)
if (strcmp (penv, "serial") == 0)
return 0;
- /* Init video chip - returns with framebuffer cleared */
- if (video_init () == -1)
- skip_dev_init = 1;
#ifdef CONFIG_VGA_AS_SINGLE_DEVICE
/* Devices VGA and Keyboard will be assigned seperately */
/* Init vga device */