Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 3 | if BOARD_GIGABYTE_GA_945GCM_S2L || BOARD_GIGABYTE_GA_945GCM_S2C |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 4 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 5 | config BOARD_SPECIFIC_OPTIONS |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 6 | def_bool y |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 7 | select CPU_INTEL_SOCKET_LGA775 |
| 8 | select NORTHBRIDGE_INTEL_I945 |
| 9 | select NORTHBRIDGE_INTEL_SUBTYPE_I945GC |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 10 | select SOUTHBRIDGE_INTEL_I82801GX |
| 11 | select SUPERIO_ITE_IT8718F |
| 12 | select HAVE_OPTION_TABLE |
| 13 | select HAVE_CMOS_DEFAULT |
| 14 | select HAVE_MP_TABLE |
| 15 | select HAVE_ACPI_TABLES |
| 16 | select HAVE_ACPI_RESUME |
| 17 | select BOARD_ROMSIZE_KB_512 |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 18 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 19 | select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 20 | select INTEL_GMA_HAVE_VBT |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 21 | |
| 22 | config MAINBOARD_DIR |
| 23 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 24 | default "gigabyte/ga-945gcm-s2l" |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 25 | |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 26 | config VARIANT_DIR |
| 27 | string |
| 28 | default "ga-945gcm-s2l" if BOARD_GIGABYTE_GA_945GCM_S2L |
| 29 | default "ga-945gcm-s2c" if BOARD_GIGABYTE_GA_945GCM_S2C |
| 30 | |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 31 | config MAINBOARD_PART_NUMBER |
| 32 | string |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 33 | default "GA-945GCM-S2L" if BOARD_GIGABYTE_GA_945GCM_S2L |
| 34 | default "GA-945GCM-S2C" if BOARD_GIGABYTE_GA_945GCM_S2C |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 35 | |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 36 | config IRQ_SLOT_COUNT |
| 37 | int |
| 38 | default 18 |
| 39 | |
| 40 | config MAX_CPUS |
| 41 | int |
| 42 | default 2 |
| 43 | |
Arthur Heymans | 8af4fff | 2018-05-28 21:40:08 +0200 | [diff] [blame] | 44 | # Override the default variant behavior, since the data.vbt is the same |
| 45 | config INTEL_GMA_VBT_FILE |
| 46 | default "src/mainboard/$(MAINBOARDDIR)/data.vbt" |
| 47 | |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 48 | endif |