blob: f53746d7a99442adfdc6e2aa1a9b4340f578e479 [file] [log] [blame]
Maxim Polyakov0fcd3712020-06-20 17:26:21 +03001if BOARD_KONTRON_COME_MAL10
2
3config BOARD_SPECIFIC_OPTIONS
4 def_bool y
Felix Singerfee69742020-11-30 07:57:06 +01005 select BOARD_ROMSIZE_KB_16384
6 select DRIVERS_I2C_NCT7802Y
7 select EC_KONTRON_KEMPLD
Maxim Polyakov0fcd3712020-06-20 17:26:21 +03008 select HAVE_ACPI_TABLES
9 select HAVE_ACPI_RESUME
Maxim Polyakov0fcd3712020-06-20 17:26:21 +030010 select HAVE_CMOS_DEFAULT
Felix Singerfee69742020-11-30 07:57:06 +010011 select HAVE_OPTION_TABLE
Maxim Polyakov0fcd3712020-06-20 17:26:21 +030012 select INTEL_GMA_HAVE_VBT
Maxim Polyakov0fcd3712020-06-20 17:26:21 +030013 select MAINBOARD_HAS_CRB_TPM
Felix Singerfee69742020-11-30 07:57:06 +010014 select MAINBOARD_HAS_LIBGFXINIT
15 select ONBOARD_VGA_IS_PRIMARY
16 select SOC_INTEL_APOLLOLAKE
Maxim Polyakov0fcd3712020-06-20 17:26:21 +030017
18config MAINBOARD_DIR
19 string
20 default "kontron/mal10"
21
22# TODO: Add a new carrier boards here
23choice
24 prompt "Carrier board"
25 default BOARD_KONTRON_T10_TNI
26 help
27 This option sets the type of carrier board to be used with
28 the Kontron mAL10 COMe module.
29
30config BOARD_KONTRON_T10_TNI
31 bool "Kontron i-T10-TNIx"
32 help
33 By selecting this option, the target ROM image will be built for
34 the Kontron Ref.Carrier-i T10-TNI carrier board.
35
36endchoice
37
38config VARIANT_DIR
39 string
40 default "mal10"
41
42config CARRIER_DIR
43 string
44 default "t10-tni" if BOARD_KONTRON_T10_TNI
45
46config MAINBOARD_PART_NUMBER
47 string
48 default "COMe-mAL10"
49
50config DEVICETREE
51 string
52 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
53
54config OVERRIDE_DEVICETREE
55 string
56 default "carriers/$(CONFIG_CARRIER_DIR)/overridetree.cb"
57
58endif