Debian Codegraph @

src/mainboard/kontron/mal10/Kconfig

raw
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 if BOARD_KONTRON_COME_MAL10
4
5 config BOARD_SPECIFIC_OPTIONS
6 def_bool y
7 select BOARD_ROMSIZE_KB_16384
8 select DRIVERS_I2C_NCT7802Y
9 select EC_KONTRON_KEMPLD
10 select HAVE_ACPI_TABLES
11 select HAVE_ACPI_RESUME
12 select HAVE_CMOS_DEFAULT
13 select HAVE_OPTION_TABLE
14 select INTEL_GMA_HAVE_VBT
15 select CRB_TPM
16 select MAINBOARD_HAS_LIBGFXINIT
17 select ONBOARD_VGA_IS_PRIMARY
18 select SOC_INTEL_APOLLOLAKE
19
20 config MAINBOARD_DIR
21 default "kontron/mal10"
22
23 # TODO: Add a new carrier boards here
24 choice
25 prompt "Carrier board"
26 default BOARD_KONTRON_T10_TNI
27 help
28 This option sets the type of carrier board to be used with
29 the Kontron mAL10 COMe module.
30
31 config BOARD_KONTRON_T10_TNI
32 bool "Kontron i-T10-TNIx"
33 help
34 By selecting this option, the target ROM image will be built for
35 the Kontron Ref.Carrier-i T10-TNI carrier board.
36
37 endchoice
38
39 config VARIANT_DIR
40 default "mal10"
41
42 config CARRIER_DIR
43 string
44 default "t10-tni" if BOARD_KONTRON_T10_TNI
45
46 config MAINBOARD_PART_NUMBER
47 default "COMe-mAL10"
48
49 config DEVICETREE
50 default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
51
52 config OVERRIDE_DEVICETREE
53 default "carriers/\$(CONFIG_CARRIER_DIR)/overridetree.cb"
54
55 endif