summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-03-10 13:21:12 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-06-24 12:13:46 +0000
commitc6b44cd7ce93979b35b57eb95432cf598f46685a (patch)
treedb8aaf5abe81b567155c280af00d5cc9e2a93dd1 /src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig
parent741000d31b9870b529c6911b55981f24976ce7f4 (diff)
mb/gigabyte/ga-h61ma-d3v: Add new mainboard as variant
Tested with SeaBIOS as a payload, booting Arch Linux with a Linux kernel. The new code is based on autoport and the existing GA-H61M-S2PV code. The GA-H61M-S2PV has been boot-tested too, it still boots. Working: - S3 suspend/resume - USB ports and headers (Intel USB2 and EtronTech USB3) - Gigabit Ethernet - Integrated DVI/VGA graphics (libgfxinit) - PCIe x16 graphics - PCIe x1 ports - PS/2 port with a keyboard - SATA controllers (Intel SATA2 and Marvell SATA3) - User-space fan control (fancontrol on Linux) - Native raminit (4+4GB DDR3-1333) - flashrom, using the internal programmer. Tested with coreboot, as well as with the vendor firmware. Backup chip is untested. Untested: - VGA BIOS for integrated graphics init - Audio: Only front/read outputs has been tested. - Non-Linux OSes - ACPI thermal zone and OS-independent fan control Not working: - Default IFD defines the BIOS region as the entire flash chip. Using 'flashrom --ifd -i bios' is asking for a failed flash! Change-Id: I37928de158bb8fbb47fbda5d1ccd4efba7edab26 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31832 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig')
-rw-r--r--src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig b/src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig
index 5e46365bba..62d7f40117 100644
--- a/src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig
+++ b/src/mainboard/gigabyte/ga-h61m-s2pv/Kconfig
@@ -13,7 +13,7 @@
## GNU General Public License for more details.
##
-if BOARD_GIGABYTE_GA_H61M_S2PV
+if BOARD_GIGABYTE_GA_H61M_S2PV || BOARD_GIGABYTE_GA_H61MA_D3V
config BOARD_SPECIFIC_OPTIONS
def_bool y
@@ -31,21 +31,36 @@ config BOARD_SPECIFIC_OPTIONS
select INTEL_GMA_HAVE_VBT
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
+ select NO_UART_ON_SUPERIO if BOARD_GIGABYTE_GA_H61MA_D3V
config MAINBOARD_DIR
string
default "gigabyte/ga-h61m-s2pv"
+config VARIANT_DIR
+ string
+ default "ga-h61m-s2pv" if BOARD_GIGABYTE_GA_H61M_S2PV
+ default "ga-h61ma-d3v" if BOARD_GIGABYTE_GA_H61MA_D3V
+
config MAINBOARD_PART_NUMBER
string
- default "GA-H61M-S2PV"
+ default "GA-H61M-S2PV" if BOARD_GIGABYTE_GA_H61M_S2PV
+ default "GA-H61MA-D3V" if BOARD_GIGABYTE_GA_H61MA_D3V
+
+config DEVICETREE
+ string
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
config MAX_CPUS
int
default 8
+# Override the default variant behavior, since the data.vbt is the same
+config INTEL_GMA_VBT_FILE
+ default "src/mainboard/$(MAINBOARDDIR)/data.vbt"
+
config USBDEBUG_HCD_INDEX # Bottom left port seen from rear
int
default 2
-endif # BOARD_GIGABYTE_GA_H61M_S2PV
+endif # BOARD_GIGABYTE_GA_H61M_S2PV || BOARD_GIGABYTE_GA_H61MA_D3V