blob: 759762951314f5d2fbb77ee357a6a9f1a020734d [file] [log] [blame]
praveen hodagatta praneshda5491a2018-09-28 22:31:49 +08001if BOARD_INTEL_COFFEELAKE_RVP11 || BOARD_INTEL_COFFEELAKE_RVPU || BOARD_INTEL_WHISKEYLAKE_RVP || BOARD_INTEL_COFFEELAKE_RVP8
Maulik V Vagheladfc99172018-08-07 12:06:23 +05302
3config BOARD_SPECIFIC_OPTIONS
4 def_bool y
Maulik V Vaghelad64b9402018-08-07 14:26:04 +05305 select BOARD_ROMSIZE_KB_16384 if !BOARD_INTEL_COFFEELAKE_RVPU
6 select BOARD_ROMSIZE_KB_32768 if BOARD_INTEL_COFFEELAKE_RVPU
Maulik V Vagheladfc99172018-08-07 12:06:23 +05307 select GENERIC_SPD_BIN
8 select HAVE_ACPI_RESUME
9 select HAVE_ACPI_TABLES
10 select MAINBOARD_HAS_CHROMEOS
11 select GENERIC_SPD_BIN
12 select DRIVERS_I2C_HID
13 select DRIVERS_I2C_GENERIC
14 select SOC_INTEL_COFFEELAKE
Lijian Zhaof3496722018-08-21 10:50:16 -070015 select SOC_INTEL_CANNONLAKE_MEMCFG_INIT
praveen hodagatta praneshda5491a2018-09-28 22:31:49 +080016 select SOC_INTEL_CANNONLAKE_PCH_H if BOARD_INTEL_COFFEELAKE_RVP11 || BOARD_INTEL_COFFEELAKE_RVP8
Lijian Zhao80fde622018-09-27 13:49:44 -070017 select SOC_INTEL_COMMON_BLOCK_HDA_VERB if BOARD_INTEL_COFFEELAKE_RVP11 || BOARD_INTEL_COFFEELAKE_RVP8 || BOARD_INTEL_WHISKEYLAKE_RVP
18 select SOC_INTEL_COMMON_BLOCK_HDA if BOARD_INTEL_WHISKEYLAKE_RVP
Maulik V Vagheladfc99172018-08-07 12:06:23 +053019
20config MAINBOARD_DIR
21 string
22 default "intel/coffeelake_rvp"
23
24config VARIANT_DIR
25 string
26 default "cfl_u" if BOARD_INTEL_COFFEELAKE_RVPU
27 default "cfl_h" if BOARD_INTEL_COFFEELAKE_RVP11
Lijian Zhaoe391cbf2018-07-24 17:46:20 -070028 default "whl_u" if BOARD_INTEL_WHISKEYLAKE_RVP
praveen hodagatta praneshda5491a2018-09-28 22:31:49 +080029 default "cfl_s" if BOARD_INTEL_COFFEELAKE_RVP8
Maulik V Vagheladfc99172018-08-07 12:06:23 +053030
31config MAINBOARD_PART_NUMBER
32 string
Wonkyu Kim7ec8d4b2018-12-05 11:07:19 -080033 default "whlrvp" if BOARD_INTEL_WHISKEYLAKE_RVP
34 default "cflrvp"
Maulik V Vagheladfc99172018-08-07 12:06:23 +053035
36config MAINBOARD_VENDOR
37 string
38 default "Intel"
39
40config MAINBOARD_FAMILY
41 string
Wonkyu Kim7ec8d4b2018-12-05 11:07:19 -080042 default "Intel_whlrvp" if BOARD_INTEL_WHISKEYLAKE_RVP
43 default "Intel_cflrvp"
Maulik V Vagheladfc99172018-08-07 12:06:23 +053044
45config MAX_CPUS
46 int
praveen hodagatta praneshda5491a2018-09-28 22:31:49 +080047 default 12 if BOARD_INTEL_COFFEELAKE_RVP11 || BOARD_INTEL_COFFEELAKE_RVP8
Maulik V Vagheladfc99172018-08-07 12:06:23 +053048 default 8
49
50config DEVICETREE
51 string
52 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
53
Maulik V Vaghelad64b9402018-08-07 14:26:04 +053054config FMDFILE
55 string
56 depends on VBOOT
57 default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if BOARD_ROMSIZE_KB_16384
58 default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos_32MB.fmd" if BOARD_ROMSIZE_KB_32768
59
Maulik V Vagheladfc99172018-08-07 12:06:23 +053060config INCLUDE_SND_MAX98357_DA7219_NHLT
61 bool "Include blobs for audio with MAX98357_DA7219"
62 select DRIVERS_GENERIC_MAX98357A
63 select DRIVERS_I2C_DA7219
64 select NHLT_DMIC_4CH_16B
65 select NHLT_DMIC_2CH_16B
66 select NHLT_DA7219
67 select NHLT_MAX98357
68
69config INCLUDE_SND_MAX98373_NHLT
70 bool "Include blobs for audio with MAX98373"
71 select DRIVERS_I2C_MAX98373
72 select NHLT_DMIC_4CH_16B
73 select NHLT_DMIC_2CH_16B
74 select NHLT_MAX98373
75
76config DIMM_SPD_SIZE
77 int
78 default 512
79
80config VBOOT
81 select VBOOT_LID_SWITCH
82 select VBOOT_MOCK_SECDATA
83endif