| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_BRASWELL |
| 4 |
bool |
| 5 |
select ACPI_COMMON_MADT_IOAPIC |
| 6 |
select ACPI_COMMON_MADT_LAPIC |
| 7 |
select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
| 8 |
select ARCH_X86 |
| 9 |
select BOOT_DEVICE_SUPPORTS_WRITES |
| 10 |
select CACHE_MRC_SETTINGS |
| 11 |
select SUPPORT_CPU_UCODE_IN_CBFS |
| 12 |
select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
| 13 |
select HAVE_SMI_HANDLER |
| 14 |
select PCIEXP_ASPM |
| 15 |
select PCIEXP_CLK_PM |
| 16 |
select PCIEXP_COMMON_CLOCK |
| 17 |
select PLATFORM_USES_FSP1_1 |
| 18 |
select REG_SCRIPT |
| 19 |
select RTC |
| 20 |
select SOC_INTEL_COMMON |
| 21 |
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
| 22 |
select SOC_INTEL_COMMON_BLOCK |
| 23 |
select SOC_INTEL_COMMON_BLOCK_HDA |
| 24 |
select SOC_INTEL_COMMON_RESET |
| 25 |
select SPI_FLASH |
| 26 |
select SSE2 |
| 27 |
select TSC_MONOTONIC_TIMER |
| 28 |
select TSC_SYNC_MFENCE |
| 29 |
select UDELAY_TSC |
| 30 |
select USE_GENERIC_FSP_CAR_INC |
| 31 |
select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 32 |
select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT |
| 33 |
select HAVE_FSP_GOP |
| 34 |
select GENERIC_GPIO_LIB |
| 35 |
select INTEL_GMA_ACPI |
| 36 |
select INTEL_GMA_SWSMISCI |
| 37 |
select CPU_INTEL_COMMON |
| 38 |
select SOUTHBRIDGE_INTEL_COMMON_SMBUS |
| 39 |
select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT |
| 40 |
select NO_CBFS_MCACHE |
| 41 |
select TCO_SPACE_NOT_YET_SPLIT |
| 42 |
select NEED_SMALL_2MB_PAGE_TABLES |
| 43 |
select DRAM_SUPPORT_DDR3 |
| 44 |
help |
| 45 |
Braswell M/D part support. |
| 46 |
|
| 47 |
if SOC_INTEL_BRASWELL |
| 48 |
|
| 49 |
config DCACHE_BSP_STACK_SIZE |
| 50 |
hex |
| 51 |
default 0x2000 |
| 52 |
help |
| 53 |
The amount of anticipated stack usage in CAR by bootblock and |
| 54 |
other stages. |
| 55 |
|
| 56 |
config VBOOT |
| 57 |
select VBOOT_MUST_REQUEST_DISPLAY |
| 58 |
select VBOOT_STARTS_IN_ROMSTAGE |
| 59 |
|
| 60 |
config ECAM_MMCONF_BASE_ADDRESS |
| 61 |
default 0xe0000000 |
| 62 |
|
| 63 |
config ECAM_MMCONF_BUS_NUMBER |
| 64 |
int |
| 65 |
default 256 |
| 66 |
|
| 67 |
config MAX_CPUS |
| 68 |
int |
| 69 |
default 4 |
| 70 |
|
| 71 |
config SMM_TSEG_SIZE |
| 72 |
hex |
| 73 |
default 0x800000 |
| 74 |
|
| 75 |
config SMM_RESERVED_SIZE |
| 76 |
hex |
| 77 |
default 0x100000 |
| 78 |
|
| 79 |
# Cache As RAM region layout: |
| 80 |
# |
| 81 |
# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE |
| 82 |
# | Stack | |
| 83 |
# | | | |
| 84 |
# | v | |
| 85 |
# +-------------+ |
| 86 |
# | ^ | |
| 87 |
# | | | |
| 88 |
# | CAR Globals | |
| 89 |
# +-------------+ DCACHE_RAM_BASE |
| 90 |
# |
| 91 |
|
| 92 |
config DCACHE_RAM_BASE |
| 93 |
hex |
| 94 |
default 0xfef00000 |
| 95 |
|
| 96 |
config DCACHE_RAM_SIZE |
| 97 |
hex |
| 98 |
default 0x8000 |
| 99 |
help |
| 100 |
The size of the cache-as-ram region required during bootblock |
| 101 |
and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 102 |
must add up to a power of 2. |
| 103 |
|
| 104 |
config PRERAM_CBFS_CACHE_SIZE |
| 105 |
default 0x0 |
| 106 |
|
| 107 |
config ENABLE_BUILTIN_COM1 |
| 108 |
bool "Enable builtin COM1 Serial Port" |
| 109 |
default n |
| 110 |
help |
| 111 |
The PMC has a legacy COM1 serial port. Choose this option to |
| 112 |
configure the pads and enable it. This serial port can be used for |
| 113 |
the debug console. |
| 114 |
|
| 115 |
config DISABLE_HPET |
| 116 |
bool "Disable the HPET device" |
| 117 |
default n |
| 118 |
help |
| 119 |
Enable this to disable the HPET support |
| 120 |
Solves the Linux MP-BIOS bug timer not connected. |
| 121 |
|
| 122 |
config HPET_MIN_TICKS |
| 123 |
default 0x80 |
| 124 |
|
| 125 |
config USE_GOOGLE_FSP |
| 126 |
bool |
| 127 |
help |
| 128 |
Select this to use Google's custom Braswell FSP header/binary |
| 129 |
instead of the public release on Github. Only google/cyan |
| 130 |
variants require this; all other boards should use the public release. |
| 131 |
|
| 132 |
config FSP_HEADER_PATH |
| 133 |
string |
| 134 |
default "\$(src)/vendorcode/intel/fsp/fsp1_1/braswell" if USE_GOOGLE_FSP |
| 135 |
default "3rdparty/fsp/BraswellFspBinPkg/Include/" |
| 136 |
help |
| 137 |
Location of FSP header file FspUpdVpd.h |
| 138 |
|
| 139 |
endif |