## SPDX-License-Identifier: GPL-2.0-or-later

if VENDOR_FRAMEWORK

choice
	prompt "Mainboard model"

source "src/mainboard/framework/*/Kconfig.name"

endchoice

source "src/mainboard/framework/*/Kconfig"

config MAINBOARD_VENDOR
	default "Framework"

config EC_GOOGLE_CHROMEEC_ACPI_HID
	default "FRMWC004"

config FRAMEWORK_COMMON_CFR
	def_bool y
	select DRIVERS_OPTION_CFR_ENABLED if PAYLOAD_EDK2 && SMMSTORE

config FRAMEWORK_TOUCHSCREEN_STYLUS
	bool
	help
	  Selected by boards that have a touchscreen stylus protocol switch GPIO
	  (stylus_sw_r), i.e. the Framework Laptop 12. Exposes a CFR option to
	  choose between the MPP and USI stylus protocols.

config FRAMEWORK_INPUT_DECK
	bool
	default n
	help
	  Selected by boards that have detectable input deck, to enable the Input
	  Deck Mode CFR option.

endif # VENDOR_FRAMEWORK
