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

config BOARD_KONTRON_BSL6_COMMON
	def_bool n
	select BOARD_ROMSIZE_KB_16384
	select SOC_INTEL_SKYLAKE
	select SKYLAKE_SOC_PCH_H
	select EXCLUDE_NATIVE_SD_INTERFACE
	select NO_FADT_8042
	select HAVE_ACPI_TABLES
	select HAVE_OPTION_TABLE
	select HAVE_CMOS_DEFAULT
	select MEMORY_MAPPED_TPM
	select EC_KONTRON_KEMPLD
	select MAINBOARD_HAS_LIBGFXINIT
	select DRIVERS_I2C_NCT7802Y

config BOARD_KONTRON_BSL6
	select BOARD_KONTRON_BSL6_COMMON
	select HAVE_ACPI_RESUME

config BOARD_SIEMENS_BOXER26
	select BOARD_KONTRON_BSL6_COMMON
	select DRIVERS_I2C_LM96000
	select SECUNET_DMI

if BOARD_KONTRON_BSL6_COMMON

config DISABLE_HECI1_AT_PRE_BOOT
	default y

config MAINBOARD_DIR
	default "kontron/bsl6"

config MAINBOARD_VENDOR
	string
	default "Siemens" if BOARD_SIEMENS_BOXER26

config MAINBOARD_PART_NUMBER
	default "bSL6" if BOARD_KONTRON_BSL6
	default "Boxer26" if BOARD_SIEMENS_BOXER26

config VARIANT_DIR
	default "bsl6" if BOARD_KONTRON_BSL6
	default "boxer26" if BOARD_SIEMENS_BOXER26

config OVERRIDE_DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"

config CBFS_SIZE
	default 0x600000 if BOARD_SIEMENS_BOXER26

config DIMM_MAX
	default 2

config DIMM_SPD_SIZE
	default 512

endif