diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2016-12-18 16:05:15 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-12-20 23:57:12 +0100 |
commit | 1b3a6e4b1489af477cfff1b1df4a37ccdb75f20d (patch) | |
tree | eedf43fc0d354a1e2dbb058ece65dd465fb58488 | |
parent | 23cda34782c69b70c23f04dbe5618727874cd394 (diff) | |
download | coreboot-1b3a6e4b1489af477cfff1b1df4a37ccdb75f20d.tar.xz |
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>
Reviewed-on: https://review.coreboot.org/17916
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/mainboard/google/slippy/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/slippy/Makefile.inc | 3 | ||||
-rw-r--r-- | src/mainboard/google/slippy/gma-mainboard.ads | 26 |
3 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/Kconfig b/src/mainboard/google/slippy/Kconfig index 045d6a8c0b..0413cd846a 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 8c95ba115e..53e8dffd85 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 0000000000..1fc3906fed --- /dev/null +++ b/src/mainboard/google/slippy/gma-mainboard.ads @@ -0,0 +1,26 @@ +-- +-- 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; |