blob: 0bda06e10ac449de270f07d289d0e2dcf3605e7b [file] [log] [blame]
Kyösti Mälkki71216c92013-07-28 23:39:37 +03001config SOUTHBRIDGE_INTEL_COMMON
2 def_bool n
Patrick Rudolph45022ae2018-10-01 19:17:11 +02003 select SOUTHBRIDGE_INTEL_COMMON_RESET
4
5config SOUTHBRIDGE_INTEL_COMMON_RESET
6 bool
7 select HAVE_CF9_RESET
Kyösti Mälkkib5d998b2017-08-20 21:36:08 +03008
Patrick Rudolph1ae592b2019-03-24 14:41:45 +01009config SOUTHBRIDGE_INTEL_COMMON_PMCLIB
10 def_bool n
11 depends on SOUTHBRIDGE_INTEL_COMMON
12
Patrick Rudolph59de6c92015-12-26 08:33:16 +010013config SOUTHBRIDGE_INTEL_COMMON_GPIO
14 def_bool n
Kyösti Mälkkib5d998b2017-08-20 21:36:08 +030015
Arthur Heymans16fe7902017-04-12 17:01:31 +020016config SOUTHBRIDGE_INTEL_COMMON_SMBUS
17 def_bool n
Kyösti Mälkkib5d998b2017-08-20 21:36:08 +030018 select HAVE_DEBUG_SMBUS
19
Arthur Heymansbddef0d2017-09-25 12:21:07 +020020config SOUTHBRIDGE_INTEL_COMMON_SPI
21 def_bool n
22 select SPI_FLASH
23
Tobias Diedrich9d8be5a2017-12-13 23:25:32 +010024config SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN
25 def_bool n
26
27config SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ
28 def_bool n
29 select SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN
30
Bill XIEd533b162017-08-22 16:26:22 +080031config HAVE_INTEL_CHIPSET_LOCKDOWN
32 def_bool n
33
Arthur Heymansa0508172018-01-25 11:30:22 +010034config SOUTHBRIDGE_INTEL_COMMON_SMM
35 def_bool n
Nico Huber9faae2b2018-11-14 00:00:35 +010036 select HAVE_POWER_STATE_AFTER_FAILURE
37 select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE
Arthur Heymansa0508172018-01-25 11:30:22 +010038
Tristan Corrick167a5122018-10-31 02:28:32 +130039config SOUTHBRIDGE_INTEL_COMMON_ACPI_MADT
40 bool
41
Tristan Corrick63626b12018-11-30 22:53:50 +130042config SOUTHBRIDGE_INTEL_COMMON_FINALIZE
43 bool
44
Stefan Tauneref8b9572018-09-06 00:34:28 +020045config INTEL_DESCRIPTOR_MODE_CAPABLE
46 def_bool n
47 help
48 This config simply states that the platform is *capable* of running in
49 descriptor mode (when the descriptor in flash is valid).
50
Angel Ponsa52016c2018-09-11 13:49:45 +020051config INTEL_DESCRIPTOR_MODE_REQUIRED
52 def_bool y if INTEL_DESCRIPTOR_MODE_CAPABLE
53 help
54 This config states descriptor mode is *required* for the platform to
55 function properly, or to function at all.
56
Bill XIEd533b162017-08-22 16:26:22 +080057config INTEL_CHIPSET_LOCKDOWN
58 depends on HAVE_INTEL_CHIPSET_LOCKDOWN && HAVE_SMI_HANDLER && !CHROMEOS
59 #ChromeOS's payload seems to handle finalization on its on.
60 bool "Lock down chipset in coreboot"
61 default y
62 help
63 Some registers within host bridge on particular chipsets should be
64 locked down on each normal boot path (done by either coreboot or payload)
65 and S3 resume (always done by coreboot). Select this to let coreboot
66 to do this on normal boot path.
Tristan Corrick63626b12018-11-30 22:53:50 +130067
68if SOUTHBRIDGE_INTEL_COMMON_FINALIZE
69
70choice
71 prompt "Flash locking during chipset lockdown"
72 default LOCK_SPI_FLASH_NONE
73
74config LOCK_SPI_FLASH_NONE
75 bool "Don't lock flash sections"
76
77config LOCK_SPI_FLASH_RO
78 bool "Write-protect all flash sections"
79 help
80 Select this if you want to write-protect the whole firmware flash
81 chip. The locking will take place during the chipset lockdown, which
82 is either triggered by coreboot (when INTEL_CHIPSET_LOCKDOWN is set)
83 or has to be triggered later (e.g. by the payload or the OS).
84
85 NOTE: If you trigger the chipset lockdown unconditionally,
86 you won't be able to write to the flash chip using the
87 internal programmer any more.
88
89config LOCK_SPI_FLASH_NO_ACCESS
90 bool "Write-protect all flash sections and read-protect non-BIOS sections"
91 help
92 Select this if you want to protect the firmware flash against all
93 further accesses (with the exception of the memory mapped BIOS re-
94 gion which is always readable). The locking will take place during
95 the chipset lockdown, which is either triggered by coreboot (when
96 INTEL_CHIPSET_LOCKDOWN is set) or has to be triggered later (e.g.
97 by the payload or the OS).
98
99 NOTE: If you trigger the chipset lockdown unconditionally,
100 you won't be able to write to the flash chip using the
101 internal programmer any more.
102
103endchoice
104
105endif