summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/mal10/Kconfig
blob: 42004761650bdcc3bbb3c992ef4b0bb0410c52ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## SPDX-License-Identifier: GPL-2.0-only

if BOARD_KONTRON_COME_MAL10

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select BOARD_ROMSIZE_KB_16384
	select DRIVERS_I2C_NCT7802Y
	select EC_KONTRON_KEMPLD
	select HAVE_ACPI_TABLES
	select HAVE_ACPI_RESUME
	select HAVE_CMOS_DEFAULT
	select HAVE_OPTION_TABLE
	select INTEL_GMA_HAVE_VBT
	select CRB_TPM
	select MAINBOARD_HAS_LIBGFXINIT
	select ONBOARD_VGA_IS_PRIMARY
	select SOC_INTEL_APOLLOLAKE

config MAINBOARD_DIR
	default "kontron/mal10"

# TODO: Add a new carrier boards here
choice
	prompt "Carrier board"
	default BOARD_KONTRON_T10_TNI
	help
	  This option sets the type of carrier board to be used with
	  the Kontron mAL10 COMe module.

config BOARD_KONTRON_T10_TNI
	bool "Kontron i-T10-TNIx"
	help
	  By selecting this option, the target ROM image will be built for
	  the Kontron Ref.Carrier-i T10-TNI carrier board.

endchoice

config VARIANT_DIR
	default "mal10"

config CARRIER_DIR
	string
	default "t10-tni" if BOARD_KONTRON_T10_TNI

config MAINBOARD_PART_NUMBER
	default "COMe-mAL10"

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

config OVERRIDE_DEVICETREE
	default "carriers/\$(CONFIG_CARRIER_DIR)/overridetree.cb"

endif