diff options
author | wdenk <wdenk> | 2004-07-11 20:04:51 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-07-11 20:04:51 +0000 |
commit | 810509266fba83fb73f28842fc99268e761bd43c (patch) | |
tree | 37ea11c82b46a77116b115a72d0009c116b6581d /drivers | |
parent | 6c7a14084ae5f7dde3819e4ab43fd78ea82805fe (diff) | |
download | u-boot-imx-810509266fba83fb73f28842fc99268e761bd43c.zip u-boot-imx-810509266fba83fb73f28842fc99268e761bd43c.tar.gz u-boot-imx-810509266fba83fb73f28842fc99268e761bd43c.tar.bz2 |
* 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.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 */ |