x86: Gracefully disable the vesa driver when running from EFI
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:34:04 +0000 (12:34 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:08 +0000 (08:44 -0600)
commitad11dbff741ffa6587f6f06a13872ffc3cc15846
treec02465425a1921926cb4badbe4f64de5c65f3c29
parenteeae5100071465f67d203dd78ceb5a35de1b5717
x86: Gracefully disable the vesa driver when running from EFI

We cannot use this driver when running from EFI as we have no direct hardware
access. In fact coreboot uses a different driver which uses tables provided
by coreboot. So far it does not seem possible to use a normal video driver
when booting from EFI.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/video/vesa_fb.c