x86: video: Allow coreboot video to be used on any x86 board
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:27 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:30 +0000 (15:04 +1300)
commit19987c9834bfd854ff27ae0382ce18511b84c6ea
tree4f6b517aa418078623789e0f439123d1aaa884bc
parentbcac36185b49eaaab437a8db196d804380872c5c
x86: video: Allow coreboot video to be used on any x86 board

When booting from coreboot we need this driver for the video to work.
Update the driver to be usable on any board.

The driver disables itself if it sees that is not booted from coreboot.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/Kconfig
drivers/video/coreboot.c