diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2019-09-30 11:02:04 +0200 |
---|---|---|
committer | Patrick Rudolph <siro@das-labor.org> | 2019-12-12 12:49:01 +0000 |
commit | f1a4ae0a48e90de2a8a029c38c4583506b02a676 (patch) | |
tree | 1aa0739c6af8df97746f2bfc420cb94201cf458d /src/drivers/aspeed/common/Makefile.inc | |
parent | 199f98bc433f36fd0f91edd2495ecc3fd23afdbf (diff) | |
download | coreboot-f1a4ae0a48e90de2a8a029c38c4583506b02a676.tar.xz |
drivers/aspeed/common: Add support for high resolution framebuffer
* Implement reading EDID over software I2C.
* Fall back to VGA if no monitor connected for BMC KVM
* Copy the linux kernel code and add a bunch of wrapper structs to make it
compile.
* Convert the EDID to a drm_display_mode, which is understood by the
driver.
* Properly select HAVE_LINEAR_FRAMEBUFFER and HAVE_VGA_TEXT_FRAMEBUFFER
Tested on Supermicro X11SSH-TF using FullHD VGA monitor.
Initializes the graphics in about 1 second, which is twice as fast as the
VGA Option ROM.
The framebuffer is advertised and working in tianocore.
Change-Id: I7803566b64158405efc04a39f80a0ec98b44e646
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35726
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/aspeed/common/Makefile.inc')
-rw-r--r-- | src/drivers/aspeed/common/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/aspeed/common/Makefile.inc b/src/drivers/aspeed/common/Makefile.inc index 75f8b4899b..1f4b858a5a 100644 --- a/src/drivers/aspeed/common/Makefile.inc +++ b/src/drivers/aspeed/common/Makefile.inc @@ -1 +1,4 @@ -ramstage-$(CONFIG_DRIVERS_ASPEED_AST_COMMON) += ast_dp501.c ast_main.c ast_post.c +ifeq ($(CONFIG_DRIVERS_ASPEED_AST_COMMON),y) +ramstage-y += ast_dp501.c ast_main.c ast_post.c +ramstage-$(CONFIG_GENERIC_LINEAR_FRAMEBUFFER) += ast_mode.c ast_i2c.c ast_mode_corebootfb.c +endif |