payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / coffeelake_rvp / Kconfig
blobbcb5aaf008722f9f0eed704ff0ed87a989f6a983
1 config BOARD_INTEL_COFFEELAKE_RVP_COMMON
2         def_bool n
3         select DRIVERS_GENERIC_MAX98357A
4         select DRIVERS_I2C_DA7219
5         select DRIVERS_I2C_GENERIC
6         select DRIVERS_I2C_HID
7         select DRIVERS_I2C_MAX98373
8         select HAVE_ACPI_RESUME
9         select HAVE_ACPI_TABLES
10         select INTEL_LPSS_UART_FOR_CONSOLE
11         select MAINBOARD_HAS_CHROMEOS
12         select MEMORY_MAPPED_TPM
13         select MAINBOARD_USES_IFD_EC_REGION
15 config BOARD_INTEL_COFFEELAKE_RVP8
16         select BOARD_INTEL_COFFEELAKE_RVP_COMMON
17         select BOARD_ROMSIZE_KB_16384
18         select MAINBOARD_USES_IFD_GBE_REGION
19         select SOC_INTEL_CANNONLAKE_PCH_H
20         select SOC_INTEL_COFFEELAKE
21         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
23 config BOARD_INTEL_COFFEELAKE_RVP11
24         select BOARD_INTEL_COFFEELAKE_RVP_COMMON
25         select BOARD_ROMSIZE_KB_16384
26         select MAINBOARD_USES_IFD_GBE_REGION
27         select SOC_INTEL_CANNONLAKE_PCH_H
28         select SOC_INTEL_COFFEELAKE
29         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
31 config BOARD_INTEL_COFFEELAKE_RVPU
32         select BOARD_INTEL_COFFEELAKE_RVP_COMMON
33         select BOARD_ROMSIZE_KB_32768
34         select SOC_INTEL_COFFEELAKE
36 config BOARD_INTEL_WHISKEYLAKE_RVP
37         select BOARD_INTEL_COFFEELAKE_RVP_COMMON
38         select BOARD_ROMSIZE_KB_16384
39         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
40         select SOC_INTEL_WHISKEYLAKE
42 config BOARD_INTEL_COMETLAKE_RVPU
43         select BOARD_INTEL_COFFEELAKE_RVP_COMMON
44         select BOARD_ROMSIZE_KB_16384
45         select SOC_INTEL_COMETLAKE_1
46         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
48 if BOARD_INTEL_COFFEELAKE_RVP_COMMON
50 config MAINBOARD_DIR
51         default "intel/coffeelake_rvp"
53 config VARIANT_DIR
54         default "cfl_u" if BOARD_INTEL_COFFEELAKE_RVPU
55         default "cfl_h" if BOARD_INTEL_COFFEELAKE_RVP11
56         default "whl_u" if BOARD_INTEL_WHISKEYLAKE_RVP
57         default "cfl_s" if BOARD_INTEL_COFFEELAKE_RVP8
58         default "cml_u" if BOARD_INTEL_COMETLAKE_RVPU
60 config MAINBOARD_PART_NUMBER
61         default "whlrvp" if BOARD_INTEL_WHISKEYLAKE_RVP
62         default "cmlrvp" if BOARD_INTEL_COMETLAKE_RVPU
63         default "cflrvp"
65 config MAINBOARD_FAMILY
66         string
67         default "Intel_whlrvp" if BOARD_INTEL_WHISKEYLAKE_RVP
68         default "Intel_cmlrvp" if BOARD_INTEL_COMETLAKE_RVPU
69         default "Intel_cflrvp"
71 config CHROMEOS
72         select GBB_FLAG_FORCE_MANUAL_RECOVERY
74 config MAX_CPUS
75         int
76         default 12 if BOARD_INTEL_COFFEELAKE_RVP11
77         default 16 if BOARD_INTEL_COFFEELAKE_RVP8
78         default 8
80 config UART_FOR_CONSOLE
81         int
82         default 2
84 config DEVICETREE
85         default "variants/baseboard/devicetree.cb"
87 config OVERRIDE_DEVICETREE
88         default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
90 config FMDFILE
91         depends on VBOOT
92         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if BOARD_ROMSIZE_KB_16384
93         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos_32MB.fmd" if BOARD_ROMSIZE_KB_32768
95 config INCLUDE_SND_MAX98357_DA7219_NHLT
96         bool "Include blobs for audio with MAX98357_DA7219"
97         select NHLT_DMIC_4CH_16B
98         select NHLT_DMIC_2CH_16B
99         select NHLT_DA7219
100         select NHLT_MAX98357
102 config INCLUDE_SND_MAX98373_NHLT
103         bool "Include blobs for audio with MAX98373"
104         select NHLT_DMIC_4CH_16B
105         select NHLT_DMIC_2CH_16B
106         select NHLT_MAX98373
108 config DIMM_SPD_SIZE
109         default 512
111 config VBOOT
112         select VBOOT_LID_SWITCH
113         select VBOOT_MOCK_SECDATA
114 endif