From 810509266fba83fb73f28842fc99268e761bd43c Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 11 Jul 2004 20:04:51 +0000 Subject: * 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 --- drivers/cfb_console.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'drivers/cfb_console.c') 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 */ -- cgit v1.1