From 3db7653aabb98b02b9dbea0231fa68eacbbb5991 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Thu, 18 May 2017 18:07:34 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/19764 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Julius Werner --- src/lib/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/lib/Kconfig (limited to 'src/lib/Kconfig') diff --git a/src/lib/Kconfig b/src/lib/Kconfig new file mode 100644 index 0000000000..6d5f0344f0 --- /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. -- cgit v1.2.3