Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 1 | if BOARD_KONTRON_COME_MAL10 |
| 2 | |
| 3 | config BOARD_SPECIFIC_OPTIONS |
| 4 | def_bool y |
Felix Singer | fee6974 | 2020-11-30 07:57:06 +0100 | [diff] [blame^] | 5 | select BOARD_ROMSIZE_KB_16384 |
| 6 | select DRIVERS_I2C_NCT7802Y |
| 7 | select EC_KONTRON_KEMPLD |
Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 8 | select HAVE_ACPI_TABLES |
| 9 | select HAVE_ACPI_RESUME |
Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 10 | select HAVE_CMOS_DEFAULT |
Felix Singer | fee6974 | 2020-11-30 07:57:06 +0100 | [diff] [blame^] | 11 | select HAVE_OPTION_TABLE |
Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 12 | select INTEL_GMA_HAVE_VBT |
Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 13 | select MAINBOARD_HAS_CRB_TPM |
Felix Singer | fee6974 | 2020-11-30 07:57:06 +0100 | [diff] [blame^] | 14 | select MAINBOARD_HAS_LIBGFXINIT |
| 15 | select ONBOARD_VGA_IS_PRIMARY |
| 16 | select SOC_INTEL_APOLLOLAKE |
Maxim Polyakov | 0fcd371 | 2020-06-20 17:26:21 +0300 | [diff] [blame] | 17 | |
| 18 | config MAINBOARD_DIR |
| 19 | string |
| 20 | default "kontron/mal10" |
| 21 | |
| 22 | # TODO: Add a new carrier boards here |
| 23 | choice |
| 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 | |
| 30 | config 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 | |
| 36 | endchoice |
| 37 | |
| 38 | config VARIANT_DIR |
| 39 | string |
| 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 | string |
| 48 | default "COMe-mAL10" |
| 49 | |
| 50 | config DEVICETREE |
| 51 | string |
| 52 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" |
| 53 | |
| 54 | config OVERRIDE_DEVICETREE |
| 55 | string |
| 56 | default "carriers/$(CONFIG_CARRIER_DIR)/overridetree.cb" |
| 57 | |
| 58 | endif |