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

config BOARD_GOOGLE_BASEBOARD_AURON
	def_bool n
	select ACPI_GNVS_USB_CHARGECTL
	select BOARD_ROMSIZE_KB_8192
	select BROADWELL_LPDDR3 if BOARD_GOOGLE_SAMUS
	select EC_GOOGLE_CHROMEEC
	select EC_GOOGLE_CHROMEEC_LPC
	select HAVE_ACPI_RESUME
	select HAVE_ACPI_TABLES
	select HAVE_OPTION_TABLE
	select INTEL_GMA_HAVE_VBT
	select INTEL_INT15
	select MAINBOARD_HAS_CHROMEOS
	select MAINBOARD_HAS_LIBGFXINIT
	select MEMORY_MAPPED_TPM
	select MAINBOARD_HAS_TPM1
	select SOC_INTEL_BROADWELL

config BOARD_GOOGLE_AURON_PAINE
	select BOARD_GOOGLE_BASEBOARD_AURON
	select HAVE_SPD_IN_CBFS
	select SYSTEM_TYPE_LAPTOP

config BOARD_GOOGLE_AURON_YUNA
	select BOARD_GOOGLE_BASEBOARD_AURON
	select HAVE_SPD_IN_CBFS
	select SYSTEM_TYPE_LAPTOP

config BOARD_GOOGLE_BUDDY
	select BOARD_GOOGLE_BASEBOARD_AURON

config BOARD_GOOGLE_GANDOF
	select BOARD_GOOGLE_BASEBOARD_AURON
	select HAVE_SPD_IN_CBFS
	select SYSTEM_TYPE_LAPTOP

config BOARD_GOOGLE_LULU
	select BOARD_GOOGLE_BASEBOARD_AURON
	select HAVE_SPD_IN_CBFS
	select SYSTEM_TYPE_LAPTOP

config BOARD_GOOGLE_SAMUS
	select BOARD_GOOGLE_BASEBOARD_AURON
	select HAVE_SPD_IN_CBFS
	select SYSTEM_TYPE_LAPTOP

if BOARD_GOOGLE_BASEBOARD_AURON

config VBOOT
	select EC_GOOGLE_CHROMEEC_SWITCHES
	select VBOOT_LID_SWITCH
	select VBOOT_VBNV_CMOS

config MAINBOARD_DIR
	default "google/auron"

config VARIANT_DIR
	default "auron_paine" if BOARD_GOOGLE_AURON_PAINE
	default "auron_yuna" if BOARD_GOOGLE_AURON_YUNA
	default "buddy" if BOARD_GOOGLE_BUDDY
	default "gandof" if BOARD_GOOGLE_GANDOF
	default "lulu" if BOARD_GOOGLE_LULU
	default "samus" if BOARD_GOOGLE_SAMUS

config MAINBOARD_PART_NUMBER
	default "Auron_Paine" if BOARD_GOOGLE_AURON_PAINE
	default "Auron_Yuna" if BOARD_GOOGLE_AURON_YUNA
	default "Buddy" if BOARD_GOOGLE_BUDDY
	default "Gandof" if BOARD_GOOGLE_GANDOF
	default "Lulu" if BOARD_GOOGLE_LULU
	default "Samus" if BOARD_GOOGLE_SAMUS

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

config MAINBOARD_SMBIOS_MANUFACTURER
	string
	default "GOOGLE"

endif