| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_BROADWELL |
| 4 |
bool |
| 5 |
select CACHE_MRC_SETTINGS |
| 6 |
select CPU_INTEL_HASWELL |
| 7 |
select DRAM_SUPPORT_DDR3 |
| 8 |
select GENERIC_GPIO_LIB |
| 9 |
select INTEL_GMA_ACPI |
| 10 |
select MRC_SETTINGS_PROTECT |
| 11 |
select REG_SCRIPT |
| 12 |
select TCO_SPACE_NOT_YET_SPLIT |
| 13 |
select INTEL_LYNXPOINT_LP |
| 14 |
help |
| 15 |
Intel Broadwell and Haswell ULT support. |
| 16 |
|
| 17 |
if SOC_INTEL_BROADWELL |
| 18 |
|
| 19 |
config BROADWELL_LPDDR3 |
| 20 |
bool |
| 21 |
help |
| 22 |
Selected by mainboards using LPDDR3 DRAM to supply mainboard-specific |
| 23 |
LPDDR3 DQ and DQS CPU-to-DRAM mapping info needed to perform raminit. |
| 24 |
|
| 25 |
config VBOOT |
| 26 |
select VBOOT_MUST_REQUEST_DISPLAY |
| 27 |
select VBOOT_STARTS_IN_BOOTBLOCK |
| 28 |
|
| 29 |
config ECAM_MMCONF_BASE_ADDRESS |
| 30 |
default 0xf0000000 |
| 31 |
|
| 32 |
config ECAM_MMCONF_BUS_NUMBER |
| 33 |
default 64 |
| 34 |
|
| 35 |
config VGA_BIOS_ID |
| 36 |
string |
| 37 |
default "8086,0406" |
| 38 |
|
| 39 |
config FIXED_MCHBAR_MMIO_BASE |
| 40 |
default 0xfed10000 |
| 41 |
|
| 42 |
config FIXED_DMIBAR_MMIO_BASE |
| 43 |
default 0xfed18000 |
| 44 |
|
| 45 |
config FIXED_EPBAR_MMIO_BASE |
| 46 |
default 0xfed19000 |
| 47 |
|
| 48 |
config DCACHE_RAM_BASE |
| 49 |
hex |
| 50 |
default 0xff7c0000 |
| 51 |
|
| 52 |
config DCACHE_RAM_SIZE |
| 53 |
hex |
| 54 |
default 0x10000 |
| 55 |
help |
| 56 |
The size of the cache-as-ram region required during bootblock |
| 57 |
and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 58 |
must add up to a power of 2. |
| 59 |
|
| 60 |
config DCACHE_RAM_MRC_VAR_SIZE |
| 61 |
hex |
| 62 |
default 0x30000 |
| 63 |
help |
| 64 |
The amount of cache-as-ram region required by the reference code. |
| 65 |
|
| 66 |
config DCACHE_BSP_STACK_SIZE |
| 67 |
hex |
| 68 |
default 0x2000 |
| 69 |
help |
| 70 |
The amount of anticipated stack usage in CAR by bootblock and |
| 71 |
other stages. |
| 72 |
|
| 73 |
config HAVE_MRC |
| 74 |
bool "Add a Memory Reference Code binary" |
| 75 |
help |
| 76 |
Select this option to add a Memory Reference Code binary to |
| 77 |
the resulting coreboot image. |
| 78 |
|
| 79 |
Note: Without this binary coreboot will not work |
| 80 |
|
| 81 |
if HAVE_MRC |
| 82 |
|
| 83 |
config MRC_FILE |
| 84 |
string "Intel Memory Reference Code path and filename" |
| 85 |
depends on HAVE_MRC |
| 86 |
default "mrc.bin" |
| 87 |
help |
| 88 |
The filename of the file to use as Memory Reference Code binary. |
| 89 |
|
| 90 |
config MRC_BIN_ADDRESS |
| 91 |
hex |
| 92 |
default 0xfffa0000 |
| 93 |
|
| 94 |
# The UEFI System Agent binary needs to be at a fixed offset in the flash |
| 95 |
# and can therefore only reside in the COREBOOT fmap region |
| 96 |
config RO_REGION_ONLY |
| 97 |
string |
| 98 |
depends on VBOOT |
| 99 |
default "mrc.bin" |
| 100 |
|
| 101 |
endif # HAVE_MRC |
| 102 |
|
| 103 |
config HAVE_REFCODE_BLOB |
| 104 |
depends on ARCH_X86 |
| 105 |
bool "An external reference code blob should be put into cbfs." |
| 106 |
default n |
| 107 |
help |
| 108 |
The reference code blob will be placed into cbfs. |
| 109 |
|
| 110 |
if HAVE_REFCODE_BLOB |
| 111 |
|
| 112 |
config REFCODE_BLOB_FILE |
| 113 |
string "Path and filename to reference code blob." |
| 114 |
default "refcode.elf" |
| 115 |
help |
| 116 |
The path and filename to the file to be added to cbfs. |
| 117 |
|
| 118 |
endif # HAVE_REFCODE_BLOB |
| 119 |
|
| 120 |
source "src/soc/intel/broadwell/pch/Kconfig" |
| 121 |
|
| 122 |
endif |