summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-h61m-series/Kconfig
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-02-02 00:27:05 +0100
committerAngel Pons <th3fanbus@gmail.com>2022-10-21 19:05:40 +0000
commit669a7676354cab322873683868ff19d34c0cd302 (patch)
tree9c8d86f0fc95638bff56008d6ac423895618ead5 /src/mainboard/gigabyte/ga-h61m-series/Kconfig
parent66f1a98e7fa9f7e4139096c20c15126e2b0cd3b5 (diff)
mb/gigabyte/ga-h61m-series: Add GA-H61M-DS2
Built from a mixture of autoport output, other variants, schematics and expert guesswork. I don't have this board, but the code has been tested by someone else and boots successfully (first try) with TianoCore. It's reasonable to assume most things work, as this board is very similar to the already-supported variants. Change-Id: I3d8df483e5573f77782b7d18b1410b391bfe387d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61541 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/gigabyte/ga-h61m-series/Kconfig')
-rw-r--r--src/mainboard/gigabyte/ga-h61m-series/Kconfig12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ga-h61m-series/Kconfig b/src/mainboard/gigabyte/ga-h61m-series/Kconfig
index cec2c61d89..8f4366b90d 100644
--- a/src/mainboard/gigabyte/ga-h61m-series/Kconfig
+++ b/src/mainboard/gigabyte/ga-h61m-series/Kconfig
@@ -1,9 +1,7 @@
## SPDX-License-Identifier: GPL-2.0-only
-if BOARD_GIGABYTE_GA_H61M_S2PV || BOARD_GIGABYTE_GA_H61M_DS2V || BOARD_GIGABYTE_GA_H61MA_D3V
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_GIGABYTE_GA_H61M_SERIES
+ def_bool n
select BOARD_ROMSIZE_KB_4096
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
@@ -18,6 +16,8 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
+if BOARD_GIGABYTE_GA_H61M_SERIES
+
config MAINBOARD_DIR
default "gigabyte/ga-h61m-series"
@@ -25,11 +25,13 @@ config VARIANT_DIR
default "ga-h61m-s2pv" if BOARD_GIGABYTE_GA_H61M_S2PV
default "ga-h61m-ds2v" if BOARD_GIGABYTE_GA_H61M_DS2V
default "ga-h61ma-d3v" if BOARD_GIGABYTE_GA_H61MA_D3V
+ default "ga-h61m-ds2" if BOARD_GIGABYTE_GA_H61M_DS2
config MAINBOARD_PART_NUMBER
default "GA-H61M-S2PV" if BOARD_GIGABYTE_GA_H61M_S2PV
default "GA-H61M-DS2V" if BOARD_GIGABYTE_GA_H61M_DS2V
default "GA-H61MA-D3V" if BOARD_GIGABYTE_GA_H61MA_D3V
+ default "GA-H61M-DS2" if BOARD_GIGABYTE_GA_H61M_DS2
config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
@@ -42,4 +44,4 @@ config USBDEBUG_HCD_INDEX # Bottom left port seen from rear
int
default 2
-endif # BOARD_GIGABYTE_GA_H61M*
+endif # BOARD_GIGABYTE_GA_H61M_SERIES