blob: 7ce93d45937a805a883f929cfdbfc7c4716905d3 [file] [log] [blame]
Martin Roth7d86f342024-02-16 11:04:02 -07001## SPDX-License-Identifier: GPL-2.0-only
2
Martin Rothd51141e2022-06-22 21:11:59 -06003config INTEL_HAS_TOP_SWAP
4 bool
5 help
6 Set this config if the Intel SoC supports top swap feature
7
8if INTEL_HAS_TOP_SWAP
9
10config INTEL_ADD_TOP_SWAP_BOOTBLOCK
11 bool "Include a Top swap bootblock"
12 default n
13 help
14 Intel PCH/Southbridges have feature that it is possible to have
15 the southbridge/PCH look for the bootblock at a 64K or
16 128K/256K/512K/1MB (in case of newer SoCs) offset
17 instead of the usual top of flash.
18 Select this to put a 'second' bootblock.
19
20config INTEL_TOP_SWAP_BOOTBLOCK_SIZE
21 hex "Size of top swap boot block"
22 depends on INTEL_ADD_TOP_SWAP_BOOTBLOCK
23 default 0x10000
24 help
25 Set this config to a supported topswap size.
26 Valid sizes: 0x10000 0x20000 0x40000 0x80000 0x100000
27
28config INTEL_TOP_SWAP_FIT_ENTRY_FMAP_REG
29 string
30 depends on INTEL_ADD_TOP_SWAP_BOOTBLOCK
31 help
32 Use this config to specify the name of a FMAP region (which should
33 hold a microcode) whose address as the first entry in the topswap FIT.
34 This is useful in creating a asymmetric FIT in top swap bootblock
35 than the one in non-topswap bootblock. This string will be passed
36 onto ifittool (-A -n option). ifittool will not parse the region for MCU
37 entries, and only locate the region and insert its address into FIT.
38
39endif
40
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070041config SOC_INTEL_COMMON
42 bool
Felix Heldbc6a6902023-11-09 14:08:53 +010043 select AZALIA_HDA_CODEC_SUPPORT
Kyösti Mälkki3139c8d2020-06-28 16:33:33 +030044 select ACPI_SOC_NVS
Stefan Reinauer9616f3c2015-04-29 10:45:22 -070045 help
46 common code for Intel SOCs
47
Lee Leahy0946ec32015-04-20 15:24:54 -070048if SOC_INTEL_COMMON
49
Subrata Banik0180e432020-09-18 14:42:03 +053050comment "Intel SoC Common Code for IP blocks"
Subrata Banik9a0245a2017-02-22 14:22:44 +053051source "src/soc/intel/common/block/Kconfig"
52
Subrata Banik19cd07f2018-05-17 13:53:29 +053053comment "Intel SoC Common PCH Code"
54source "src/soc/intel/common/pch/Kconfig"
55
Subrata Banik0180e432020-09-18 14:42:03 +053056comment "Intel SoC Common coreboot stages and non-IP blocks"
Subrata Banik90d3b2b2018-04-19 10:23:30 +053057source "src/soc/intel/common/basecode/Kconfig"
58
Lee Leahy14ecb542015-02-09 21:16:14 -080059config SOC_INTEL_COMMON_RESET
60 bool
61 default n
Patrick Rudolphf677d172018-10-01 19:17:11 +020062 select HAVE_CF9_RESET
Lee Leahy0946ec32015-04-20 15:24:54 -070063
Duncan Laurie63ebc802015-09-08 16:09:28 -070064config SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
65 bool
66 default n
67
Subrata Banikc1645fa2016-08-05 18:25:55 +053068config ACPI_CONSOLE
69 bool
70 default n
71 help
72 Provide a mechanism for serial console based ACPI debug.
73
Benjamin Doronbbb81232020-06-28 02:43:53 +000074config PAVP
75 bool "Enable PAVP (Protected Audio-Video Path) support"
76 default y
77 help
78 Protected Audio-Video Path is an Intel technology used to enforce digital
79 rights protections on multimedia content. Streaming or other media playback
80 services may require it to be enabled for correct functioning.
81
82 Users might disable PAVP if the concept of digital rights management (DRM)
83 offends them, or if they have concerns about the security of
84 the Management Engine, which is where this technology is implemented.
85
86 Set this option to n to disable support.
87
Pratik Prajapatib90b94d2015-09-11 13:51:38 -070088config MMA
Pratik Prajapatiffc934d2016-11-18 14:36:34 -080089 bool "Enable MMA (Memory Margin Analysis) support for Intel Core"
Martin Rothdde96fb2015-11-25 22:33:20 -070090 default n
Pratik Prajapatiebb79942017-04-10 15:47:09 -070091 depends on SOC_INTEL_KABYLAKE || SOC_INTEL_SKYLAKE
Martin Rothdde96fb2015-11-25 22:33:20 -070092 help
Pratik Prajapatiffc934d2016-11-18 14:36:34 -080093 Set this option to y to enable MMA (Memory Margin Analysis) support
Pratik Prajapatib90b94d2015-09-11 13:51:38 -070094
95config MMA_BLOBS_PATH
Martin Rothdde96fb2015-11-25 22:33:20 -070096 string "Path to MMA blobs"
97 depends on MMA
Pratik Prajapatiebb79942017-04-10 15:47:09 -070098 default "3rdparty/blobs/soc/intel/kabylake/mma-blobs" if SOC_INTEL_KABYLAKE
99 default "3rdparty/blobs/soc/intel/skylake/mma-blobs" if SOC_INTEL_SKYLAKE
Pratik Prajapatib90b94d2015-09-11 13:51:38 -0700100
Aaron Durbinc14a1a92016-06-28 15:41:07 -0500101config SOC_INTEL_COMMON_NHLT
102 bool
103 default n
104
Aaron Durbin9d9a1212017-04-19 10:02:27 -0500105config TPM_TIS_ACPI_INTERRUPT
106 int
107 help
108 acpi_get_gpe() is used to provide interrupt status to TPM layer.
109 This option specifies the GPE number.
110
Kane Chenf5e8b292019-04-17 10:42:00 +0800111config SOC_INTEL_DEBUG_CONSENT
112 bool "Enable SOC debug interface"
113 default n
114 help
115 Set this option to enable default debug interface of SoC such as DBC
116 or DCI.
117
Jeremy Compostella1dc080f2022-06-10 17:11:49 -0700118config HAVE_INTEL_COMPLIANCE_TEST_MODE
119 def_bool n
120
121config SOC_INTEL_COMPLIANCE_TEST_MODE
122 bool "Enable SoC hardware compliance test mode"
123 depends on HAVE_INTEL_COMPLIANCE_TEST_MODE
124 default n
125 help
126 Set this option to configure hardware components in a way
127 that supports compliance testing activities for various
128 components such PCIe or USB. For example, PCI express
129 implementation must comply with the hardware PCIe
130 specification requirements: Electrical, Configuration, Link
131 Protocol and Transaction Protocol. The hardware must be
132 configured in a particular state to run the compliance
133 tests: some feature related to power management needs to be
134 turned off, hot plug should be enabled...
135
Kane Chen7b2a8892019-07-03 10:24:15 +0800136config SMM_MODULE_STACK_SIZE
137 hex
138 default 0x800
139
Curtis Chenb89c7982021-12-07 18:01:57 +0800140config SOC_INTEL_CRASHLOG
141 def_bool n
142 select SOC_INTEL_COMMON_BLOCK_CRASHLOG
143 select ACPI_BERT
144 help
145 Enables Crashlog.
146
147config SOC_INTEL_CRASHLOG_ON_RESET
148 def_bool n
149 help
150 Enables the PMC to collect crashlog records on every reset event. NOTE:
151 This will result in a BERT table being populated containing a PMC
152 crashlog record on every boot.
153
Pratikkumar Prajapatie4893d62023-05-30 12:30:36 -0700154config SOC_INTEL_IOE_DIE_SUPPORT
155 def_bool n
156 help
157 Enable this config if the SOC support IOE DIE.
158
Lee Leahy0946ec32015-04-20 15:24:54 -0700159endif # SOC_INTEL_COMMON