| ## |
| ## This file is part of the coreboot project. |
| ## |
| ## Copyright (C) 2009 coresystems GmbH |
| ## Copyright (C) 2016 Arthur Heymans <arthur@ahemans.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; version 2 of the License. |
| ## |
| ## 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. |
| ## |
| if BOARD_GIGABYTE_GA_945GCM_S2L || BOARD_GIGABYTE_GA_945GCM_S2C |
| |
| config BOARD_SPECIFIC_OPTIONS # dummy |
| def_bool y |
| select ARCH_X86 |
| select CPU_INTEL_SOCKET_LGA775 |
| select NORTHBRIDGE_INTEL_I945 |
| select NORTHBRIDGE_INTEL_SUBTYPE_I945GC |
| select SOUTHBRIDGE_INTEL_I82801GX |
| select SUPERIO_ITE_IT8718F |
| select HAVE_OPTION_TABLE |
| select HAVE_CMOS_DEFAULT |
| select HAVE_MP_TABLE |
| select HAVE_ACPI_TABLES |
| select HAVE_ACPI_RESUME |
| select BOARD_ROMSIZE_KB_512 |
| select CHANNEL_XOR_RANDOMIZATION |
| select MAINBOARD_HAS_NATIVE_VGA_INIT |
| select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L |
| select INTEL_GMA_VBT_HAVE_DATA_FILE |
| |
| config MAINBOARD_DIR |
| string |
| default gigabyte/ga-945gcm-s2l |
| |
| config VARIANT_DIR |
| string |
| default "ga-945gcm-s2l" if BOARD_GIGABYTE_GA_945GCM_S2L |
| default "ga-945gcm-s2c" if BOARD_GIGABYTE_GA_945GCM_S2C |
| |
| config MAINBOARD_PART_NUMBER |
| string |
| default "GA-945GCM-S2L" if BOARD_GIGABYTE_GA_945GCM_S2L |
| default "GA-945GCM-S2C" if BOARD_GIGABYTE_GA_945GCM_S2C |
| |
| config IRQ_SLOT_COUNT |
| int |
| default 18 |
| |
| config MAX_CPUS |
| int |
| default 2 |
| |
| # Override the default variant behavior, since the data.vbt is the same |
| config INTEL_GMA_VBT_FILE |
| default "src/mainboard/$(MAINBOARDDIR)/data.vbt" |
| |
| endif |