diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfb_console.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c index fee0386..138b968 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 */ |