[coreboot-gerrit] Patch set updated for coreboot: mb/google/slippy: Hook up libgfxinit

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Sun Dec 18 23:01:06 CET 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17916

-gerrit

commit e6b8724ca04f750df2a316038c779c17a1dfcb3b
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Sun Dec 18 16:05:15 2016 +0100

    mb/google/slippy: Hook up libgfxinit
    
    Both HDMI and eDP work (simultaneously).
    
    TESTED on Acer C720 (peppy).
    
    Change-Id: Ifc4e3c187bcabd8965d9586237a52b440bfa7f20
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/mainboard/google/slippy/Kconfig           |  1 +
 src/mainboard/google/slippy/Makefile.inc      |  3 +++
 src/mainboard/google/slippy/gma-mainboard.ads | 12 ++++++++++++
 3 files changed, 16 insertions(+)

diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig
index 045d6a8..0413cd8 100644
--- a/src/mainboard/google/slippy/Kconfig
+++ b/src/mainboard/google/slippy/Kconfig
@@ -17,6 +17,7 @@ config BOARD_GOOGLE_BASEBOARD_SLIPPY
 	select INTEL_DP if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
 	select INTEL_DDI if (BOARD_GOOGLE_FALCO || BOARD_GOOGLE_PEPPY)
 	select INTEL_INT15
+	select MAINBOARD_HAS_LIBGFXINIT
 
 if BOARD_GOOGLE_BASEBOARD_SLIPPY
 
diff --git a/src/mainboard/google/slippy/Makefile.inc b/src/mainboard/google/slippy/Makefile.inc
index 8c95ba1..53e8dff 100644
--- a/src/mainboard/google/slippy/Makefile.inc
+++ b/src/mainboard/google/slippy/Makefile.inc
@@ -23,4 +23,7 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
 romstage-y += variants/$(VARIANT_DIR)/romstage.c
 
 subdirs-y += variants/$(VARIANT_DIR)
+
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
+
 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
diff --git a/src/mainboard/google/slippy/gma-mainboard.ads b/src/mainboard/google/slippy/gma-mainboard.ads
new file mode 100644
index 0000000..c27bbfb
--- /dev/null
+++ b/src/mainboard/google/slippy/gma-mainboard.ads
@@ -0,0 +1,12 @@
+with HW.GFX.GMA;
+
+use HW.GFX.GMA;
+
+private package GMA.Mainboard is
+
+   ports : constant Port_List :=
+      (Digital1,
+      Internal,
+      others => Disabled);
+
+end GMA.Mainboard;



More information about the coreboot-gerrit mailing list