blob: 9b96d112fce047593458074f091117613c70aebc [file] [log] [blame]
Martin Roth7d86f342024-02-16 11:04:02 -07001## SPDX-License-Identifier: GPL-2.0-only
2
Lee Leahy77ff0b12015-05-05 15:07:29 -07003config SOC_INTEL_BRASWELL
4 bool
Kyösti Mälkki64374092023-04-08 23:42:14 +03005 select ACPI_COMMON_MADT_IOAPIC
Kyösti Mälkki69a13962023-04-08 14:10:48 +03006 select ACPI_COMMON_MADT_LAPIC
Aaron Durbin1b6196d2016-07-13 23:20:26 -05007 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Angel Pons8e035e32021-06-22 12:58:20 +02008 select ARCH_X86
Aaron Durbine8e118d2016-08-12 15:00:10 -05009 select BOOT_DEVICE_SUPPORTS_WRITES
Lee Leahy77ff0b12015-05-05 15:07:29 -070010 select CACHE_MRC_SETTINGS
Martin Rothdf02c332015-07-01 23:09:42 -060011 select SUPPORT_CPU_UCODE_IN_CBFS
Lee Leahy77ff0b12015-05-05 15:07:29 -070012 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Lee Leahy77ff0b12015-05-05 15:07:29 -070013 select HAVE_SMI_HANDLER
Lee Leahy77ff0b12015-05-05 15:07:29 -070014 select PCIEXP_ASPM
Lee Leahyacb9c0b2015-07-02 11:55:18 -070015 select PCIEXP_CLK_PM
Lee Leahy77ff0b12015-05-05 15:07:29 -070016 select PCIEXP_COMMON_CLOCK
Lee Leahy32471722015-04-20 15:20:28 -070017 select PLATFORM_USES_FSP1_1
Lee Leahy77ff0b12015-05-05 15:07:29 -070018 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050019 select RTC
Lee Leahy32471722015-04-20 15:20:28 -070020 select SOC_INTEL_COMMON
Duncan Lauriee73da802015-09-08 16:16:34 -070021 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Frans Hendriks59ae2ef2019-02-28 15:16:00 +010022 select SOC_INTEL_COMMON_BLOCK
23 select SOC_INTEL_COMMON_BLOCK_HDA
Lee Leahy32471722015-04-20 15:20:28 -070024 select SOC_INTEL_COMMON_RESET
Lee Leahy77ff0b12015-05-05 15:07:29 -070025 select SPI_FLASH
26 select SSE2
Lee Leahy77ff0b12015-05-05 15:07:29 -070027 select TSC_MONOTONIC_TIMER
28 select TSC_SYNC_MFENCE
29 select UDELAY_TSC
Lee Leahy32471722015-04-20 15:20:28 -070030 select USE_GENERIC_FSP_CAR_INC
Stefan Tauneref8b9572018-09-06 00:34:28 +020031 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020032 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Nico Huber2e7f6cc2017-05-22 15:58:03 +020033 select HAVE_FSP_GOP
Matt DeVillier51ee7ce2017-08-20 18:21:10 -050034 select GENERIC_GPIO_LIB
Patrick Rudolphc7edf182017-09-26 19:34:35 +020035 select INTEL_GMA_ACPI
36 select INTEL_GMA_SWSMISCI
Matt DeVillierd3d0f072018-11-10 17:44:36 -060037 select CPU_INTEL_COMMON
Frans Hendriksb27fb332019-03-04 08:02:43 +010038 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans56d913e2019-06-04 14:45:13 +020039 select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT
Julius Wernerbaf27db2019-10-02 17:28:56 -070040 select NO_CBFS_MCACHE
Kyösti Mälkkie8a3af12022-11-19 18:39:22 +020041 select TCO_SPACE_NOT_YET_SPLIT
Julius Wernerc770ad62024-06-03 17:39:01 -070042 select NEED_SMALL_2MB_PAGE_TABLES
Elyes Haouas75750912023-08-21 20:39:25 +020043 help
44 Braswell M/D part support.
45
46if SOC_INTEL_BRASWELL
Frans Hendriks4e0ec592019-06-06 10:07:17 +020047
48config 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 Werner1210b412017-03-27 19:26:32 -070055config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080056 select VBOOT_MUST_REQUEST_DISPLAY
Julius Werner1210b412017-03-27 19:26:32 -070057 select VBOOT_STARTS_IN_ROMSTAGE
58
Shelley Chen4e9bb332021-10-20 15:43:45 -070059config ECAM_MMCONF_BASE_ADDRESS
Lee Leahy77ff0b12015-05-05 15:07:29 -070060 default 0xe0000000
61
Shelley Chen4e9bb332021-10-20 15:43:45 -070062config ECAM_MMCONF_BUS_NUMBER
Kyösti Mälkki6d085442021-02-14 01:55:18 +020063 int
64 default 256
65
Lee Leahy77ff0b12015-05-05 15:07:29 -070066config MAX_CPUS
67 int
68 default 4
69
Lee Leahy77ff0b12015-05-05 15:07:29 -070070config SMM_TSEG_SIZE
71 hex
72 default 0x800000
73
74config SMM_RESERVED_SIZE
75 hex
76 default 0x100000
77
Lee Leahy77ff0b12015-05-05 15:07:29 -070078# Cache As RAM region layout:
79#
Lee Leahy77ff0b12015-05-05 15:07:29 -070080# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
Kyösti Mälkki2bad1e72016-07-26 14:03:31 +030081# | Stack |
82# | | |
83# | v |
Lee Leahy77ff0b12015-05-05 15:07:29 -070084# +-------------+
85# | ^ |
86# | | |
87# | CAR Globals |
88# +-------------+ DCACHE_RAM_BASE
89#
Lee Leahy77ff0b12015-05-05 15:07:29 -070090
91config DCACHE_RAM_BASE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020092 hex
Lee Leahy32471722015-04-20 15:20:28 -070093 default 0xfef00000
Lee Leahy77ff0b12015-05-05 15:07:29 -070094
95config DCACHE_RAM_SIZE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020096 hex
Shelley Chen156bc6f2020-09-29 10:05:00 -070097 default 0x8000
Lee Leahy77ff0b12015-05-05 15:07:29 -070098 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
Jeremy Compostella052fb7c2023-08-18 14:25:22 -0700103config PRERAM_CBFS_CACHE_SIZE
104 default 0x0
105
Lee Leahy77ff0b12015-05-05 15:07:29 -0700106config ENABLE_BUILTIN_COM1
107 bool "Enable builtin COM1 Serial Port"
108 default n
109 help
110 The PMC has a legacy COM1 serial port. Choose this option to
111 configure the pads and enable it. This serial port can be used for
112 the debug console.
113
Frans Hendriksf2af7022018-11-16 12:08:41 +0100114config DISABLE_HPET
115 bool "Disable the HPET device"
116 default n
117 help
118 Enable this to disable the HPET support
119 Solves the Linux MP-BIOS bug timer not connected.
120
Matt DeVillier46512ae2023-10-27 16:40:37 -0500121config HPET_MIN_TICKS
122 default 0x80
123
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500124config USE_GOOGLE_FSP
125 bool
126 help
127 Select this to use Google's custom Braswell FSP header/binary
128 instead of the public release on Github. Only google/cyan
129 variants require this; all other boards should use the public release.
130
131config FSP_HEADER_PATH
132 string
Patrick Georgib8fba862020-06-17 21:06:53 +0200133 default "\$(src)/vendorcode/intel/fsp/fsp1_1/braswell" if USE_GOOGLE_FSP
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500134 default "3rdparty/fsp/BraswellFspBinPkg/Include/"
135 help
136 Location of FSP header file FspUpdVpd.h
137
Lee Leahy77ff0b12015-05-05 15:07:29 -0700138endif