Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2009 coresystems GmbH |
| 5 | ## Copyright (C) 2016 Arthur Heymans <arthur@ahemans.xyz |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation; version 2 of the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 16 | if BOARD_GIGABYTE_GA_945GCM_S2L || BOARD_GIGABYTE_GA_945GCM_S2C |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 17 | |
| 18 | config BOARD_SPECIFIC_OPTIONS # dummy |
| 19 | def_bool y |
| 20 | select ARCH_X86 |
| 21 | select CPU_INTEL_SOCKET_LGA775 |
| 22 | select NORTHBRIDGE_INTEL_I945 |
| 23 | select NORTHBRIDGE_INTEL_SUBTYPE_I945GC |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 24 | select SOUTHBRIDGE_INTEL_I82801GX |
| 25 | select SUPERIO_ITE_IT8718F |
| 26 | select HAVE_OPTION_TABLE |
| 27 | select HAVE_CMOS_DEFAULT |
| 28 | select HAVE_MP_TABLE |
| 29 | select HAVE_ACPI_TABLES |
| 30 | select HAVE_ACPI_RESUME |
| 31 | select BOARD_ROMSIZE_KB_512 |
| 32 | select CHANNEL_XOR_RANDOMIZATION |
| 33 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 34 | select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L |
Arthur Heymans | 8af4fff | 2018-05-28 21:40:08 +0200 | [diff] [blame] | 35 | select INTEL_GMA_VBT_HAVE_DATA_FILE |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 36 | |
| 37 | config MAINBOARD_DIR |
| 38 | string |
| 39 | default gigabyte/ga-945gcm-s2l |
| 40 | |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 41 | config VARIANT_DIR |
| 42 | string |
| 43 | default "ga-945gcm-s2l" if BOARD_GIGABYTE_GA_945GCM_S2L |
| 44 | default "ga-945gcm-s2c" if BOARD_GIGABYTE_GA_945GCM_S2C |
| 45 | |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 46 | config MAINBOARD_PART_NUMBER |
| 47 | string |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 48 | default "GA-945GCM-S2L" if BOARD_GIGABYTE_GA_945GCM_S2L |
| 49 | default "GA-945GCM-S2C" if BOARD_GIGABYTE_GA_945GCM_S2C |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 50 | |
Arthur Heymans | be91398 | 2016-10-15 18:00:22 +0200 | [diff] [blame] | 51 | config IRQ_SLOT_COUNT |
| 52 | int |
| 53 | default 18 |
| 54 | |
| 55 | config MAX_CPUS |
| 56 | int |
| 57 | default 2 |
| 58 | |
Arthur Heymans | 8af4fff | 2018-05-28 21:40:08 +0200 | [diff] [blame] | 59 | # Override the default variant behavior, since the data.vbt is the same |
| 60 | config INTEL_GMA_VBT_FILE |
| 61 | default "src/mainboard/$(MAINBOARDDIR)/data.vbt" |
| 62 | |
Arthur Heymans | 46fef01 | 2016-11-14 09:58:20 +0100 | [diff] [blame] | 63 | endif |