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