]> git.sur5r.net Git - u-boot/commit
x86: pci: Don't return a vesa mode when there is not video
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:00 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:24:58 +0000 (07:24 -0800)
commit23609c71dc0c4a433b7189308cda25d1b9e70c43
treef912b2cef7508d59abae0b31fcad123feb3d8512
parent6dcc8159849a88610205d5d2e67107a76ac2189d
x86: pci: Don't return a vesa mode when there is not video

If the video has not been set up, we should not return a success code. This
can be detected by seeing if any of the variables are non-zero.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_rom.c