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

config BOARD_SIEMENS_BASEBOARD_MC_EHL
	def_bool n
	select SOC_INTEL_ELKHARTLAKE
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_I2C_GENERIC
	select HAVE_ACPI_TABLES
	select DRIVER_SIEMENS_NC_FPGA
	select NC_FPGA_NOTIFY_CB_READY
	select USE_SIEMENS_HWILIB
	select SOC_INTEL_DISABLE_POWER_LIMITS

config BOARD_SIEMENS_MC_EHL1
	select BOARD_SIEMENS_BASEBOARD_MC_EHL

config BOARD_SIEMENS_MC_EHL2
	select BOARD_SIEMENS_BASEBOARD_MC_EHL

config BOARD_SIEMENS_MC_EHL3
	select BOARD_SIEMENS_BASEBOARD_MC_EHL

config BOARD_SIEMENS_MC_EHL4
	select BOARD_SIEMENS_BASEBOARD_MC_EHL

config BOARD_SIEMENS_MC_EHL5
	select BOARD_SIEMENS_BASEBOARD_MC_EHL

source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig"

if BOARD_SIEMENS_BASEBOARD_MC_EHL

config MAINBOARD_DIR
	default "siemens/mc_ehl"

config VARIANT_DIR
	default "mc_ehl1" if BOARD_SIEMENS_MC_EHL1
	default "mc_ehl2" if BOARD_SIEMENS_MC_EHL2
	default "mc_ehl3" if BOARD_SIEMENS_MC_EHL3
	default "mc_ehl4" if BOARD_SIEMENS_MC_EHL4
	default "mc_ehl5" if BOARD_SIEMENS_MC_EHL5

config MAINBOARD_PART_NUMBER
	default "MC EHL1" if BOARD_SIEMENS_MC_EHL1
	default "MC EHL2" if BOARD_SIEMENS_MC_EHL2
	default "MC EHL3" if BOARD_SIEMENS_MC_EHL3
	default "MC EHL4" if BOARD_SIEMENS_MC_EHL4
	default "MC EHL5" if BOARD_SIEMENS_MC_EHL5

config DEVICETREE
	default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"

config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN
	default y

endif # BOARD_SIEMENS_BASEBOARD_MC_EHL