Martin Roth | 7d86f34 | 2024-02-16 11:04:02 -0700 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 3 | config SOC_INTEL_BRASWELL |
| 4 | bool |
Kyösti Mälkki | 6437409 | 2023-04-08 23:42:14 +0300 | [diff] [blame] | 5 | select ACPI_COMMON_MADT_IOAPIC |
Kyösti Mälkki | 69a1396 | 2023-04-08 14:10:48 +0300 | [diff] [blame] | 6 | select ACPI_COMMON_MADT_LAPIC |
Aaron Durbin | 1b6196d | 2016-07-13 23:20:26 -0500 | [diff] [blame] | 7 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 8 | select ARCH_X86 |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 9 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 10 | select CACHE_MRC_SETTINGS |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 11 | select SUPPORT_CPU_UCODE_IN_CBFS |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 12 | select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 13 | select HAVE_SMI_HANDLER |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 14 | select PCIEXP_ASPM |
Lee Leahy | acb9c0b | 2015-07-02 11:55:18 -0700 | [diff] [blame] | 15 | select PCIEXP_CLK_PM |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 16 | select PCIEXP_COMMON_CLOCK |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 17 | select PLATFORM_USES_FSP1_1 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 18 | select REG_SCRIPT |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 19 | select RTC |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 20 | select SOC_INTEL_COMMON |
Duncan Laurie | e73da80 | 2015-09-08 16:16:34 -0700 | [diff] [blame] | 21 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Frans Hendriks | 59ae2ef | 2019-02-28 15:16:00 +0100 | [diff] [blame] | 22 | select SOC_INTEL_COMMON_BLOCK |
| 23 | select SOC_INTEL_COMMON_BLOCK_HDA |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 24 | select SOC_INTEL_COMMON_RESET |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 25 | select SPI_FLASH |
| 26 | select SSE2 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 27 | select TSC_MONOTONIC_TIMER |
| 28 | select TSC_SYNC_MFENCE |
| 29 | select UDELAY_TSC |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 30 | select USE_GENERIC_FSP_CAR_INC |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 31 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Angel Pons | 12d48cd | 2020-10-03 12:22:04 +0200 | [diff] [blame] | 32 | select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT |
Nico Huber | 2e7f6cc | 2017-05-22 15:58:03 +0200 | [diff] [blame] | 33 | select HAVE_FSP_GOP |
Matt DeVillier | 51ee7ce | 2017-08-20 18:21:10 -0500 | [diff] [blame] | 34 | select GENERIC_GPIO_LIB |
Patrick Rudolph | c7edf18 | 2017-09-26 19:34:35 +0200 | [diff] [blame] | 35 | select INTEL_GMA_ACPI |
| 36 | select INTEL_GMA_SWSMISCI |
Matt DeVillier | d3d0f07 | 2018-11-10 17:44:36 -0600 | [diff] [blame] | 37 | select CPU_INTEL_COMMON |
Frans Hendriks | b27fb33 | 2019-03-04 08:02:43 +0100 | [diff] [blame] | 38 | select SOUTHBRIDGE_INTEL_COMMON_SMBUS |
Arthur Heymans | 56d913e | 2019-06-04 14:45:13 +0200 | [diff] [blame] | 39 | select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT |
Julius Werner | baf27db | 2019-10-02 17:28:56 -0700 | [diff] [blame] | 40 | select NO_CBFS_MCACHE |
Kyösti Mälkki | e8a3af1 | 2022-11-19 18:39:22 +0200 | [diff] [blame] | 41 | select TCO_SPACE_NOT_YET_SPLIT |
Elyes Haouas | 7575091 | 2023-08-21 20:39:25 +0200 | [diff] [blame] | 42 | help |
| 43 | Braswell M/D part support. |
| 44 | |
| 45 | if SOC_INTEL_BRASWELL |
Frans Hendriks | 4e0ec59 | 2019-06-06 10:07:17 +0200 | [diff] [blame] | 46 | |
| 47 | config DCACHE_BSP_STACK_SIZE |
| 48 | hex |
| 49 | default 0x2000 |
| 50 | help |
| 51 | The amount of anticipated stack usage in CAR by bootblock and |
| 52 | other stages. |
| 53 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 54 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 55 | select VBOOT_MUST_REQUEST_DISPLAY |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 56 | select VBOOT_STARTS_IN_ROMSTAGE |
| 57 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 58 | config ECAM_MMCONF_BASE_ADDRESS |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 59 | default 0xe0000000 |
| 60 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 61 | config ECAM_MMCONF_BUS_NUMBER |
Kyösti Mälkki | 6d08544 | 2021-02-14 01:55:18 +0200 | [diff] [blame] | 62 | int |
| 63 | default 256 |
| 64 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 65 | config MAX_CPUS |
| 66 | int |
| 67 | default 4 |
| 68 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 69 | config SMM_TSEG_SIZE |
| 70 | hex |
| 71 | default 0x800000 |
| 72 | |
| 73 | config SMM_RESERVED_SIZE |
| 74 | hex |
| 75 | default 0x100000 |
| 76 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 77 | # Cache As RAM region layout: |
| 78 | # |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 79 | # +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE |
Kyösti Mälkki | 2bad1e7 | 2016-07-26 14:03:31 +0300 | [diff] [blame] | 80 | # | Stack | |
| 81 | # | | | |
| 82 | # | v | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 83 | # +-------------+ |
| 84 | # | ^ | |
| 85 | # | | | |
| 86 | # | CAR Globals | |
| 87 | # +-------------+ DCACHE_RAM_BASE |
| 88 | # |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 89 | |
| 90 | config DCACHE_RAM_BASE |
Arthur Heymans | 9c27eda | 2017-06-13 14:47:28 +0200 | [diff] [blame] | 91 | hex |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 92 | default 0xfef00000 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 93 | |
| 94 | config DCACHE_RAM_SIZE |
Arthur Heymans | 9c27eda | 2017-06-13 14:47:28 +0200 | [diff] [blame] | 95 | hex |
Shelley Chen | 156bc6f | 2020-09-29 10:05:00 -0700 | [diff] [blame] | 96 | default 0x8000 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 97 | help |
| 98 | The size of the cache-as-ram region required during bootblock |
| 99 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 100 | must add up to a power of 2. |
| 101 | |
Jeremy Compostella | 052fb7c | 2023-08-18 14:25:22 -0700 | [diff] [blame] | 102 | config PRERAM_CBFS_CACHE_SIZE |
| 103 | default 0x0 |
| 104 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 105 | config ENABLE_BUILTIN_COM1 |
| 106 | bool "Enable builtin COM1 Serial Port" |
| 107 | default n |
| 108 | help |
| 109 | The PMC has a legacy COM1 serial port. Choose this option to |
| 110 | configure the pads and enable it. This serial port can be used for |
| 111 | the debug console. |
| 112 | |
Frans Hendriks | f2af702 | 2018-11-16 12:08:41 +0100 | [diff] [blame] | 113 | config DISABLE_HPET |
| 114 | bool "Disable the HPET device" |
| 115 | default n |
| 116 | help |
| 117 | Enable this to disable the HPET support |
| 118 | Solves the Linux MP-BIOS bug timer not connected. |
| 119 | |
Matt DeVillier | 46512ae | 2023-10-27 16:40:37 -0500 | [diff] [blame] | 120 | config HPET_MIN_TICKS |
| 121 | default 0x80 |
| 122 | |
Matt DeVillier | fd7440d | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 123 | config USE_GOOGLE_FSP |
| 124 | bool |
| 125 | help |
| 126 | Select this to use Google's custom Braswell FSP header/binary |
| 127 | instead of the public release on Github. Only google/cyan |
| 128 | variants require this; all other boards should use the public release. |
| 129 | |
| 130 | config FSP_HEADER_PATH |
| 131 | string |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 132 | default "\$(src)/vendorcode/intel/fsp/fsp1_1/braswell" if USE_GOOGLE_FSP |
Matt DeVillier | fd7440d | 2019-04-23 12:21:17 -0500 | [diff] [blame] | 133 | default "3rdparty/fsp/BraswellFspBinPkg/Include/" |
| 134 | help |
| 135 | Location of FSP header file FspUpdVpd.h |
| 136 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 137 | endif |