blob: d86e48564f181717afbcc94569df6d3cac4df81b [file] [log] [blame]
Lijian Zhaoc319bab2017-07-08 18:16:13 -07001if BOARD_INTEL_CANNONLAKE_RVPU || BOARD_INTEL_CANNONLAKE_RVPY
Andrey Petrov59e08342017-06-05 18:08:56 -07002
3config BOARD_SPECIFIC_OPTIONS
4 def_bool y
5 select BOARD_ROMSIZE_KB_16384
Lijian Zhao6ad88272017-10-23 11:01:14 -07006 select GENERIC_SPD_BIN
Lijian Zhaoc1a49282017-09-14 14:48:55 -07007 select HAVE_ACPI_RESUME
Lijian Zhaoa17e4e42017-09-06 12:42:06 -07008 select HAVE_ACPI_TABLES
Lijian Zhaoe1bdc6a2017-08-29 17:32:33 -07009 select MAINBOARD_HAS_CHROMEOS
Lijian Zhaoc319bab2017-07-08 18:16:13 -070010 select GENERIC_SPD_BIN
Shaunak Saha562b1682017-11-07 14:37:02 -080011 select DRIVERS_I2C_HID
12 select DRIVERS_I2C_GENERIC
Lijian Zhao6ad88272017-10-23 11:01:14 -070013 select SOC_INTEL_CANNONLAKE
Jan Tatje82a4e272019-01-06 17:38:36 +010014 select MAINBOARD_USES_IFD_EC_REGION
Subrata Banik1ed36f92019-01-14 20:03:56 +053015 select INTEL_LPSS_UART_FOR_CONSOLE
Andrey Petrov59e08342017-06-05 18:08:56 -070016
17config MAINBOARD_DIR
18 string
19 default "intel/cannonlake_rvp"
20
Lijian Zhaoc319bab2017-07-08 18:16:13 -070021config VARIANT_DIR
22 string
23 default "cnl_u" if BOARD_INTEL_CANNONLAKE_RVPU
24 default "cnl_y" if BOARD_INTEL_CANNONLAKE_RVPY
25
Andrey Petrov59e08342017-06-05 18:08:56 -070026config MAINBOARD_PART_NUMBER
27 string
28 default "Cannonlake RVP"
29
30config MAINBOARD_VENDOR
31 string
32 default "Intel"
33
Pratik Prajapati5f34b372017-08-22 10:53:29 -070034config MAINBOARD_FAMILY
35 string
36 default "Intel_cannonlake_rvp"
37
38config MAX_CPUS
39 int
40 default 8
41
Lijian Zhaoc319bab2017-07-08 18:16:13 -070042config DEVICETREE
43 string
44 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
45
Lijian Zhao6ad88272017-10-23 11:01:14 -070046config INCLUDE_SND_MAX98357_DA7219_NHLT
47 bool "Include blobs for audio with MAX98357_DA7219"
Sathyanarayana Nujellaf42c7d92018-02-28 11:36:07 -080048 select DRIVERS_GENERIC_MAX98357A
49 select DRIVERS_I2C_DA7219
Lijian Zhao6ad88272017-10-23 11:01:14 -070050 select NHLT_DMIC_4CH_16B
51 select NHLT_DMIC_2CH_16B
52 select NHLT_DA7219
53 select NHLT_MAX98357
54
N, Harshapriya4a1ee4b2017-11-28 14:29:26 -080055config INCLUDE_SND_MAX98373_NHLT
56 bool "Include blobs for audio with MAX98373"
Sathyanarayana Nujellaf42c7d92018-02-28 11:36:07 -080057 select DRIVERS_I2C_MAX98373
N, Harshapriya4a1ee4b2017-11-28 14:29:26 -080058 select NHLT_DMIC_4CH_16B
59 select NHLT_DMIC_2CH_16B
60 select NHLT_MAX98373
61
Lijian Zhaoc319bab2017-07-08 18:16:13 -070062config DIMM_SPD_SIZE
63 int
64 default 512
65
Lijian Zhaoe1bdc6a2017-08-29 17:32:33 -070066config VBOOT
67 select VBOOT_LID_SWITCH
68 select VBOOT_MOCK_SECDATA
Subrata Banik1ed36f92019-01-14 20:03:56 +053069
70config UART_FOR_CONSOLE
71 int
72 default 2
Andrey Petrov59e08342017-06-05 18:08:56 -070073endif