summaryrefslogtreecommitdiffstats
path: root/src/lib/Kconfig
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2017-05-18 18:07:34 +0200
committerMartin Roth <martinroth@google.com>2017-05-30 18:32:44 +0200
commit3db7653aabb98b02b9dbea0231fa68eacbbb5991 (patch)
tree5b8b905147049550099a1533c092492e75f2236c /src/lib/Kconfig
parente801fcb4211650b81008a2741a20edcfa5b37c51 (diff)
downloadcoreboot-3db7653aabb98b02b9dbea0231fa68eacbbb5991.tar.gz
coreboot-3db7653aabb98b02b9dbea0231fa68eacbbb5991.tar.bz2
coreboot-3db7653aabb98b02b9dbea0231fa68eacbbb5991.zip
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/lib/Kconfig')
-rw-r--r--src/lib/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig
new file mode 100644
index 000000000000..6d5f0344f0af
--- /dev/null
+++ b/src/lib/Kconfig
@@ -0,0 +1,7 @@
+config NO_EDID_FILL_FB
+ bool
+ default y if !MAINBOARD_DO_NATIVE_VGA_INIT
+ help
+ Don't include default fill_lb_framebuffer() implementation. Select
+ this if your drivers uses MAINBOARD_DO_NATIVE_VGA_INIT but provides
+ its own fill_lb_framebuffer() implementation.