diff options
author | Nico Huber <nico.huber@secunet.com> | 2017-05-18 18:07:34 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-05-30 18:32:44 +0200 |
commit | 3db7653aabb98b02b9dbea0231fa68eacbbb5991 (patch) | |
tree | 5b8b905147049550099a1533c092492e75f2236c /src/device | |
parent | e801fcb4211650b81008a2741a20edcfa5b37c51 (diff) | |
download | coreboot-3db7653aabb98b02b9dbea0231fa68eacbbb5991.tar.xz |
lib/edid: Split out fill_lb_framebuffer()
Place it into new edid_fill_fb.c, and invert the logic of the Kconfig
guard (NATIVE_VGA_INIT_USE_EDID is now !NO_EDID_FILL_FB). It has to be
selected by all drivers that use MAINBOARD_DO_NATIVE_VGA_INIT but pro-
vide their own fill_lb_framebuffer() implementation.
Change-Id: I90634b835bd8e2d150b1c714328a5b2774d891bd
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/19764
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/Kconfig | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig index 3dfc507490..778ab88821 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -21,13 +21,6 @@ config MAINBOARD_HAS_NATIVE_VGA_INIT bool default n -# FIXME Ugly hack to allow Z9s driver native framebuffer configuration -config NATIVE_VGA_INIT_USE_EDID - bool - depends on MAINBOARD_DO_NATIVE_VGA_INIT - default n if DRIVERS_XGI_Z9S || MAINBOARD_USE_LIBGFXINIT - default y if !DRIVERS_XGI_Z9S - config MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG bool default n @@ -57,6 +50,7 @@ config MAINBOARD_USE_LIBGFXINIT select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG select RAMSTAGE_LIBHWBASE select VGA if !FRAMEBUFFER_KEEP_VESA_MODE + select NO_EDID_FILL_FB default n help Use the SPARK library `libgfxinit` for the native graphics |