Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 1 | config SOUTHBRIDGE_INTEL_COMMON_RESET |
Arthur Heymans | 23a6c79 | 2019-10-13 22:36:04 +0200 | [diff] [blame] | 2 | def_bool n |
Patrick Rudolph | 45022ae | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 3 | select HAVE_CF9_RESET |
Kyösti Mälkki | b5d998b | 2017-08-20 21:36:08 +0300 | [diff] [blame] | 4 | |
Arthur Heymans | 074730c | 2019-06-04 14:05:53 +0200 | [diff] [blame] | 5 | config SOUTHBRIDGE_INTEL_COMMON_RTC |
| 6 | def_bool n |
Arthur Heymans | 074730c | 2019-06-04 14:05:53 +0200 | [diff] [blame] | 7 | |
Patrick Rudolph | 1ae592b | 2019-03-24 14:41:45 +0100 | [diff] [blame] | 8 | config SOUTHBRIDGE_INTEL_COMMON_PMCLIB |
| 9 | def_bool n |
Arthur Heymans | b8bda11 | 2019-06-04 13:57:47 +0200 | [diff] [blame] | 10 | depends on SOUTHBRIDGE_INTEL_COMMON_PMBASE |
| 11 | |
| 12 | config SOUTHBRIDGE_INTEL_COMMON_PMBASE |
| 13 | def_bool n |
Patrick Rudolph | 1ae592b | 2019-03-24 14:41:45 +0100 | [diff] [blame] | 14 | |
Patrick Rudolph | 59de6c9 | 2015-12-26 08:33:16 +0100 | [diff] [blame] | 15 | config SOUTHBRIDGE_INTEL_COMMON_GPIO |
| 16 | def_bool n |
Kyösti Mälkki | b5d998b | 2017-08-20 21:36:08 +0300 | [diff] [blame] | 17 | |
Arthur Heymans | 16fe790 | 2017-04-12 17:01:31 +0200 | [diff] [blame] | 18 | config SOUTHBRIDGE_INTEL_COMMON_SMBUS |
| 19 | def_bool n |
Kyösti Mälkki | b5d998b | 2017-08-20 21:36:08 +0300 | [diff] [blame] | 20 | select HAVE_DEBUG_SMBUS |
| 21 | |
Arthur Heymans | bddef0d | 2017-09-25 12:21:07 +0200 | [diff] [blame] | 22 | config SOUTHBRIDGE_INTEL_COMMON_SPI |
| 23 | def_bool n |
| 24 | select SPI_FLASH |
Arthur Heymans | 4c80425 | 2018-12-03 01:28:18 +0100 | [diff] [blame] | 25 | select BOOT_DEVICE_SUPPORTS_WRITES |
Arthur Heymans | bddef0d | 2017-09-25 12:21:07 +0200 | [diff] [blame] | 26 | |
Arthur Heymans | 47a6603 | 2019-10-25 23:43:14 +0200 | [diff] [blame^] | 27 | config SOUTHBRIDGE_INTEL_COMMON_SPI_ICH7 |
| 28 | def_bool n |
| 29 | select SOUTHBRIDGE_INTEL_COMMON_SPI |
| 30 | |
| 31 | config SOUTHBRIDGE_INTEL_COMMON_SPI_ICH9 |
| 32 | def_bool n |
| 33 | select SOUTHBRIDGE_INTEL_COMMON_SPI |
| 34 | |
| 35 | config SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT |
| 36 | def_bool n |
| 37 | select SOUTHBRIDGE_INTEL_COMMON_SPI |
| 38 | |
Tobias Diedrich | 9d8be5a | 2017-12-13 23:25:32 +0100 | [diff] [blame] | 39 | config SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN |
| 40 | def_bool n |
| 41 | |
| 42 | config SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ |
| 43 | def_bool n |
| 44 | select SOUTHBRIDGE_INTEL_COMMON_PIRQ_ACPI_GEN |
| 45 | |
Bill XIE | d533b16 | 2017-08-22 16:26:22 +0800 | [diff] [blame] | 46 | config HAVE_INTEL_CHIPSET_LOCKDOWN |
| 47 | def_bool n |
| 48 | |
Arthur Heymans | a050817 | 2018-01-25 11:30:22 +0100 | [diff] [blame] | 49 | config SOUTHBRIDGE_INTEL_COMMON_SMM |
| 50 | def_bool n |
Nico Huber | 9faae2b | 2018-11-14 00:00:35 +0100 | [diff] [blame] | 51 | select HAVE_POWER_STATE_AFTER_FAILURE |
| 52 | select HAVE_POWER_STATE_PREVIOUS_AFTER_FAILURE |
Arthur Heymans | b8bda11 | 2019-06-04 13:57:47 +0200 | [diff] [blame] | 53 | select SOUTHBRIDGE_INTEL_COMMON_PMBASE |
Arthur Heymans | a050817 | 2018-01-25 11:30:22 +0100 | [diff] [blame] | 54 | |
Tristan Corrick | 167a512 | 2018-10-31 02:28:32 +1300 | [diff] [blame] | 55 | config SOUTHBRIDGE_INTEL_COMMON_ACPI_MADT |
| 56 | bool |
| 57 | |
Tristan Corrick | 63626b1 | 2018-11-30 22:53:50 +1300 | [diff] [blame] | 58 | config SOUTHBRIDGE_INTEL_COMMON_FINALIZE |
| 59 | bool |
| 60 | |
Arthur Heymans | 3457df1 | 2019-11-16 10:04:41 +0100 | [diff] [blame] | 61 | config SOUTHBRIDGE_INTEL_COMMON_USB_DEBUG |
| 62 | def_bool n |
| 63 | select HAVE_USBDEBUG |
| 64 | |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 65 | config INTEL_DESCRIPTOR_MODE_CAPABLE |
| 66 | def_bool n |
| 67 | help |
| 68 | This config simply states that the platform is *capable* of running in |
| 69 | descriptor mode (when the descriptor in flash is valid). |
| 70 | |
Angel Pons | a52016c | 2018-09-11 13:49:45 +0200 | [diff] [blame] | 71 | config INTEL_DESCRIPTOR_MODE_REQUIRED |
| 72 | def_bool y if INTEL_DESCRIPTOR_MODE_CAPABLE |
| 73 | help |
| 74 | This config states descriptor mode is *required* for the platform to |
| 75 | function properly, or to function at all. |
| 76 | |
Mathew King | d8b150f | 2019-08-09 10:55:37 -0600 | [diff] [blame] | 77 | config VALIDATE_INTEL_DESCRIPTOR |
| 78 | depends on INTEL_DESCRIPTOR_MODE_CAPABLE |
| 79 | bool "Validate Intel firmware descriptor" |
| 80 | default n |
| 81 | help |
| 82 | This config enables validating the Intel firmware descriptor against the |
| 83 | fmap layout. If the firmware descriptor layout does not match the fmap |
| 84 | then the bootimage cannot be built. |
| 85 | |
Bill XIE | d533b16 | 2017-08-22 16:26:22 +0800 | [diff] [blame] | 86 | config INTEL_CHIPSET_LOCKDOWN |
| 87 | depends on HAVE_INTEL_CHIPSET_LOCKDOWN && HAVE_SMI_HANDLER && !CHROMEOS |
| 88 | #ChromeOS's payload seems to handle finalization on its on. |
| 89 | bool "Lock down chipset in coreboot" |
| 90 | default y |
| 91 | help |
| 92 | Some registers within host bridge on particular chipsets should be |
| 93 | locked down on each normal boot path (done by either coreboot or payload) |
| 94 | and S3 resume (always done by coreboot). Select this to let coreboot |
| 95 | to do this on normal boot path. |
Tristan Corrick | 63626b1 | 2018-11-30 22:53:50 +1300 | [diff] [blame] | 96 | |
Elyes HAOUAS | 551a759 | 2019-05-01 16:56:36 +0200 | [diff] [blame] | 97 | config SOUTHBRIDGE_INTEL_COMMON_WATCHDOG |
| 98 | bool |
Arthur Heymans | b8bda11 | 2019-06-04 13:57:47 +0200 | [diff] [blame] | 99 | depends on SOUTHBRIDGE_INTEL_COMMON_PMBASE |
Elyes HAOUAS | 551a759 | 2019-05-01 16:56:36 +0200 | [diff] [blame] | 100 | |
Tristan Corrick | 63626b1 | 2018-11-30 22:53:50 +1300 | [diff] [blame] | 101 | if SOUTHBRIDGE_INTEL_COMMON_FINALIZE |
| 102 | |
| 103 | choice |
| 104 | prompt "Flash locking during chipset lockdown" |
| 105 | default LOCK_SPI_FLASH_NONE |
| 106 | |
| 107 | config LOCK_SPI_FLASH_NONE |
| 108 | bool "Don't lock flash sections" |
| 109 | |
| 110 | config LOCK_SPI_FLASH_RO |
| 111 | bool "Write-protect all flash sections" |
| 112 | help |
| 113 | Select this if you want to write-protect the whole firmware flash |
| 114 | chip. The locking will take place during the chipset lockdown, which |
| 115 | is either triggered by coreboot (when INTEL_CHIPSET_LOCKDOWN is set) |
| 116 | or has to be triggered later (e.g. by the payload or the OS). |
| 117 | |
| 118 | NOTE: If you trigger the chipset lockdown unconditionally, |
| 119 | you won't be able to write to the flash chip using the |
| 120 | internal programmer any more. |
| 121 | |
| 122 | config LOCK_SPI_FLASH_NO_ACCESS |
| 123 | bool "Write-protect all flash sections and read-protect non-BIOS sections" |
| 124 | help |
| 125 | Select this if you want to protect the firmware flash against all |
| 126 | further accesses (with the exception of the memory mapped BIOS re- |
| 127 | gion which is always readable). The locking will take place during |
| 128 | the chipset lockdown, which is either triggered by coreboot (when |
| 129 | INTEL_CHIPSET_LOCKDOWN is set) or has to be triggered later (e.g. |
| 130 | by the payload or the OS). |
| 131 | |
| 132 | NOTE: If you trigger the chipset lockdown unconditionally, |
| 133 | you won't be able to write to the flash chip using the |
| 134 | internal programmer any more. |
| 135 | |
| 136 | endchoice |
| 137 | |
| 138 | endif |