Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69758 )
Change subject: [DONOTMERGE] Force VGA_TEXT_FRAMEBUFFER ......................................................................
[DONOTMERGE] Force VGA_TEXT_FRAMEBUFFER
Signed-off-by: Jeremy Compostella jeremy.compostella@intel.com Change-Id: Ia148f43264611ba66854f8d39a511dea227ba06c --- M src/device/Kconfig M src/soc/intel/common/block/graphics/graphics.c 2 files changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/69758/1
diff --git a/src/device/Kconfig b/src/device/Kconfig index 34600ad..25e8cb9 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -425,9 +425,9 @@
choice prompt "Framebuffer mode" + default VGA_TEXT_FRAMEBUFFER default VBE_LINEAR_FRAMEBUFFER if HAVE_VBE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER default GENERIC_LINEAR_FRAMEBUFFER if HAVE_LINEAR_FRAMEBUFFER && WANT_LINEAR_FRAMEBUFFER - default VGA_TEXT_FRAMEBUFFER
config VGA_TEXT_FRAMEBUFFER bool "Legacy VGA text mode" diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index 36ec61e..3206072 100644 --- a/src/soc/intel/common/block/graphics/graphics.c +++ b/src/soc/intel/common/block/graphics/graphics.c @@ -15,6 +15,11 @@ #include <fsp/graphics.h> #include <soc/pci_devs.h> #include <types.h> +#include <delay.h> +#include <pc80/vga.h> +#include <pc80/vga_io.h> +#include <device/pci_ops.h> +#include <device/pci_type.h>
/* SoC Overrides */ __weak void graphics_soc_panel_init(struct device *dev)