ati_radeon: return with error when emulator fails
authorEd Swarthout <Ed.Swarthout@freescale.com>
Wed, 31 Mar 2010 14:54:28 +0000 (09:54 -0500)
committerAnatolij Gustschin <agust@denx.de>
Thu, 8 Apr 2010 13:26:29 +0000 (15:26 +0200)
commit9624f6d9eb4b7223e97a27844ec4489ab953a2e2
treee4ee3bbf6241a5035418dd60eec87d00b32c9300
parentd5011762f53ada9cc7cdf1f89f3a722f887af577
ati_radeon: return with error when emulator fails

Console was being switched to video even if emulator fails and
causing this hang:

               Scanning PCI bus 04
        04  00  1095  3132  0104  00
    PCIE3 on bus 03 - 04
Video: ATI Radeon video card (1002, 5b60) found @(2:0:0)
videoboot: Booting PCI video card bus 2, function 0, device 0
videoboot: Video ROM failed to map!
640x480x8 31kHz 59Hz
radeonfb: FIFO Timeout !

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Tested-by: Anatolij Gustschin <agust@denx.de>
drivers/bios_emulator/atibios.c
drivers/video/ati_radeon_fb.c