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