## SPDX-License-Identifier: GPL-2.0-only

if BOARD_GIGABYTE_GA_945GCM_S2L || BOARD_GIGABYTE_GA_945GCM_S2C

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	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_ACPI_TABLES
	select HAVE_ACPI_RESUME
	select BOARD_ROMSIZE_KB_512
	select MAINBOARD_HAS_NATIVE_VGA_INIT
	select REALTEK_8168_RESET if BOARD_GIGABYTE_GA_945GCM_S2L
	select INTEL_GMA_HAVE_VBT

config MAINBOARD_DIR
	default "gigabyte/ga-945gcm-s2l"

config VARIANT_DIR
	default "ga-945gcm-s2l" if BOARD_GIGABYTE_GA_945GCM_S2L
	default "ga-945gcm-s2c" if BOARD_GIGABYTE_GA_945GCM_S2C

config MAINBOARD_PART_NUMBER
	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