Chris Ching | aa8e5d3 | 2017-10-20 10:43:39 -0600 | [diff] [blame] | 1 | # Load all chipsets |
Subrata Banik | 03abf8d | 2020-03-14 13:19:14 +0530 | [diff] [blame] | 2 | source "src/soc/intel/*/Kconfig" |
Chris Ching | aa8e5d3 | 2017-10-20 10:43:39 -0600 | [diff] [blame] | 3 | |
| 4 | # Load common config |
Subrata Banik | 03abf8d | 2020-03-14 13:19:14 +0530 | [diff] [blame] | 5 | source "src/soc/intel/common/Kconfig.common" |
Rizwan Qureshi | b0826702 | 2017-11-16 13:32:29 +0530 | [diff] [blame] | 6 | |
| 7 | config INTEL_HAS_TOP_SWAP |
| 8 | bool |
| 9 | help |
| 10 | Set this config if the Intel SoC supports top swap feature |
| 11 | |
| 12 | config INTEL_ADD_TOP_SWAP_BOOTBLOCK |
| 13 | bool "Include a Top swap bootblock" |
| 14 | default n |
| 15 | depends on INTEL_HAS_TOP_SWAP |
| 16 | help |
| 17 | Intel PCH/Southbridges have feature that it is possible to have |
| 18 | the southbridge/PCH look for the bootblock at a 64K or |
| 19 | 128K/256K/512K/1MB (in case of newer SoCs) offset |
| 20 | instead of the usual top of flash. |
| 21 | Select this to put a 'second' bootblock. |
| 22 | |
| 23 | config INTEL_TOP_SWAP_BOOTBLOCK_SIZE |
| 24 | hex "Size of top swap boot block" |
| 25 | depends on INTEL_ADD_TOP_SWAP_BOOTBLOCK |
| 26 | default 0x10000 |
| 27 | help |
| 28 | Set this config to a supported topswap size. |
| 29 | Valid sizes: 0x10000 0x20000 0x40000 0x80000 0x100000 |
Rizwan Qureshi | 5348512 | 2018-06-18 19:50:18 +0530 | [diff] [blame] | 30 | |
| 31 | config INTEL_TOP_SWAP_FIT_ENTRY_FMAP_REG |
| 32 | string |
| 33 | depends on INTEL_ADD_TOP_SWAP_BOOTBLOCK |
| 34 | help |
| 35 | Use this config to specify the name of a FMAP region (which should |
| 36 | hold a microcode) whose address as the first entry in the topswap FIT. |
| 37 | This is useful in creating a asymmetric FIT in top swap bootblock |
| 38 | than the one in non-topswap bootblock. This string will be passed |
Patrick Rudolph | 9ab80a3 | 2019-02-18 14:35:54 +0100 | [diff] [blame] | 39 | onto ifittool (-A -n option). ifittool will not parse the region for MCU |
Rizwan Qureshi | 5348512 | 2018-06-18 19:50:18 +0530 | [diff] [blame] | 40 | entries, and only locate the region and insert its address into FIT. |