diff options
author | Nico Huber <nico.huber@secunet.com> | 2016-11-07 17:24:47 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2016-12-19 16:00:22 +0100 |
commit | 66203df660ad2230389597a942f5252074a33aac (patch) | |
tree | f31617883aa0d7e18d9cc705cde37d28c6ffa58a /src/drivers/intel/gma/Makefile.inc | |
parent | dcd2f17ff47cc1a4b26f253fb11a991cfe4ff6f5 (diff) | |
download | coreboot-66203df660ad2230389597a942f5252074a33aac.tar.xz |
drivers/intel/gma: Add textmode support with libgfxinit
Add an alternative gfxinit implementation for textmode. The legacy VGA
plane and textmode is configured through coreboot provided functions.
libgfxinit uses this plane as alternative to the usual high resolution
plane.
Change-Id: Iad0754c50fc6faec35f49583fe1c7cb50ac6c0c5
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17279
Tested-by: build bot (Jenkins)
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/drivers/intel/gma/Makefile.inc')
-rw-r--r-- | src/drivers/intel/gma/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/Makefile.inc b/src/drivers/intel/gma/Makefile.inc index a4e007c373..d4d6c08842 100644 --- a/src/drivers/intel/gma/Makefile.inc +++ b/src/drivers/intel/gma/Makefile.inc @@ -40,6 +40,10 @@ CONFIG_GFX_GMA_DEFAULT_MMIO := 0 # dummy, will be overwritten at runtime subdirs-y += ../../../../3rdparty/libgfxinit ramstage-y += gma.ads -ramstage-y += gma.adb +ifeq ($(CONFIG_FRAMEBUFFER_KEEP_VESA_MODE),y) +ramstage-y += hires_fb/gma.adb +else +ramstage-y += text_fb/gma.adb +endif endif # CONFIG_MAINBOARD_USE_LIBGFXINIT |