Arthur Heymans (arthur@aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17916
-gerrit
commit aa534ac8408c02b0ce8970975757abe5db2dda65 Author: Arthur Heymans arthur@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@aheymans.xyz --- src/mainboard/google/slippy/Kconfig | 1 + src/mainboard/google/slippy/Makefile.inc | 3 +++ src/mainboard/google/slippy/gma-mainboard.ads | 27 +++++++++++++++++++++++++++ 3 files changed, 31 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..c204153 --- /dev/null +++ b/src/mainboard/google/slippy/gma-mainboard.ads @@ -0,0 +1,27 @@ +-- +-- Copyright (C) 2015-2016 secunet Security Networks AG +-- Copyright (C) 2016 Arthur Heymans arthur@aheymans.xyz +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- + +with HW.GFX.GMA; + +use HW.GFX.GMA; + +private package GMA.Mainboard is + + ports : constant Port_List := + (Digital1, + Internal, + others => Disabled); + +end GMA.Mainboard;