blob: 7301d6327c3218c5dd8f8409aea19f8c65312fa9 [file] [log] [blame]
Lee Leahy77ff0b12015-05-05 15:07:29 -07001config SOC_INTEL_BRASWELL
2 bool
3 help
Lee Leahy32471722015-04-20 15:20:28 -07004 Braswell M/D part support.
Lee Leahy77ff0b12015-05-05 15:07:29 -07005
6if SOC_INTEL_BRASWELL
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
Aaron Durbin1b6196d2016-07-13 23:20:26 -050010 select ACPI_INTEL_HARDWARE_SLEEP_VALUES
Angel Ponsa32df262020-09-25 10:20:11 +020011 select ARCH_ALL_STAGES_X86_32
Angel Pons8e035e32021-06-22 12:58:20 +020012 select ARCH_X86
Shelley Chen6c2568f2020-09-25 09:30:44 -070013 select BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
Aaron Durbine8e118d2016-08-12 15:00:10 -050014 select BOOT_DEVICE_SUPPORTS_WRITES
Lee Leahy77ff0b12015-05-05 15:07:29 -070015 select CACHE_MRC_SETTINGS
Martin Rothdf02c332015-07-01 23:09:42 -060016 select SUPPORT_CPU_UCODE_IN_CBFS
Lee Leahy77ff0b12015-05-05 15:07:29 -070017 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Lee Leahy77ff0b12015-05-05 15:07:29 -070018 select HAVE_SMI_HANDLER
Lee Leahy77ff0b12015-05-05 15:07:29 -070019 select PCIEXP_ASPM
Lee Leahyacb9c0b2015-07-02 11:55:18 -070020 select PCIEXP_CLK_PM
Lee Leahy77ff0b12015-05-05 15:07:29 -070021 select PCIEXP_COMMON_CLOCK
Lee Leahy32471722015-04-20 15:20:28 -070022 select PLATFORM_USES_FSP1_1
Lee Leahy77ff0b12015-05-05 15:07:29 -070023 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050024 select RTC
Lee Leahy32471722015-04-20 15:20:28 -070025 select SOC_INTEL_COMMON
Duncan Lauriee73da802015-09-08 16:16:34 -070026 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Frans Hendriks59ae2ef2019-02-28 15:16:00 +010027 select SOC_INTEL_COMMON_BLOCK
28 select SOC_INTEL_COMMON_BLOCK_HDA
Lee Leahy32471722015-04-20 15:20:28 -070029 select SOC_INTEL_COMMON_RESET
Lee Leahy77ff0b12015-05-05 15:07:29 -070030 select SPI_FLASH
31 select SSE2
Lee Leahy77ff0b12015-05-05 15:07:29 -070032 select TSC_MONOTONIC_TIMER
33 select TSC_SYNC_MFENCE
34 select UDELAY_TSC
Lee Leahy32471722015-04-20 15:20:28 -070035 select USE_GENERIC_FSP_CAR_INC
Stefan Tauneref8b9572018-09-06 00:34:28 +020036 select INTEL_DESCRIPTOR_MODE_CAPABLE
Angel Pons12d48cd2020-10-03 12:22:04 +020037 select HAVE_EM100PRO_SPI_CONSOLE_SUPPORT
Nico Huber2e7f6cc2017-05-22 15:58:03 +020038 select HAVE_FSP_GOP
Matt DeVillier51ee7ce2017-08-20 18:21:10 -050039 select GENERIC_GPIO_LIB
Patrick Rudolphc7edf182017-09-26 19:34:35 +020040 select INTEL_GMA_ACPI
41 select INTEL_GMA_SWSMISCI
Matt DeVillierd3d0f072018-11-10 17:44:36 -060042 select CPU_INTEL_COMMON
Frans Hendriksb27fb332019-03-04 08:02:43 +010043 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Arthur Heymans56d913e2019-06-04 14:45:13 +020044 select SOUTHBRIDGE_INTEL_COMMON_SPI_SILVERMONT
Julius Wernerbaf27db2019-10-02 17:28:56 -070045 select NO_CBFS_MCACHE
Frans Hendriks4e0ec592019-06-06 10:07:17 +020046
47config 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 Werner1210b412017-03-27 19:26:32 -070054config VBOOT
Joel Kitching6672bd82019-04-10 16:06:21 +080055 select VBOOT_MUST_REQUEST_DISPLAY
Julius Werner1210b412017-03-27 19:26:32 -070056 select VBOOT_STARTS_IN_ROMSTAGE
57
Lee Leahy77ff0b12015-05-05 15:07:29 -070058config MMCONF_BASE_ADDRESS
Lee Leahy77ff0b12015-05-05 15:07:29 -070059 default 0xe0000000
60
Kyösti Mälkki6d085442021-02-14 01:55:18 +020061config MMCONF_BUS_NUMBER
62 int
63 default 256
64
Lee Leahy77ff0b12015-05-05 15:07:29 -070065config MAX_CPUS
66 int
67 default 4
68
Lee Leahy77ff0b12015-05-05 15:07:29 -070069config SMM_TSEG_SIZE
70 hex
71 default 0x800000
72
73config SMM_RESERVED_SIZE
74 hex
75 default 0x100000
76
Lee Leahy77ff0b12015-05-05 15:07:29 -070077# Cache As RAM region layout:
78#
Lee Leahy77ff0b12015-05-05 15:07:29 -070079# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
Kyösti Mälkki2bad1e72016-07-26 14:03:31 +030080# | Stack |
81# | | |
82# | v |
Lee Leahy77ff0b12015-05-05 15:07:29 -070083# +-------------+
84# | ^ |
85# | | |
86# | CAR Globals |
87# +-------------+ DCACHE_RAM_BASE
88#
Lee Leahy77ff0b12015-05-05 15:07:29 -070089
90config DCACHE_RAM_BASE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020091 hex
Lee Leahy32471722015-04-20 15:20:28 -070092 default 0xfef00000
Lee Leahy77ff0b12015-05-05 15:07:29 -070093
94config DCACHE_RAM_SIZE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020095 hex
Shelley Chen156bc6f2020-09-29 10:05:00 -070096 default 0x8000
Lee Leahy77ff0b12015-05-05 15:07:29 -070097 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
Lee Leahy77ff0b12015-05-05 15:07:29 -0700102config ENABLE_BUILTIN_COM1
103 bool "Enable builtin COM1 Serial Port"
104 default n
105 help
106 The PMC has a legacy COM1 serial port. Choose this option to
107 configure the pads and enable it. This serial port can be used for
108 the debug console.
109
Frans Hendriksf2af7022018-11-16 12:08:41 +0100110config DISABLE_HPET
111 bool "Disable the HPET device"
112 default n
113 help
114 Enable this to disable the HPET support
115 Solves the Linux MP-BIOS bug timer not connected.
116
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500117config USE_GOOGLE_FSP
118 bool
119 help
120 Select this to use Google's custom Braswell FSP header/binary
121 instead of the public release on Github. Only google/cyan
122 variants require this; all other boards should use the public release.
123
124config FSP_HEADER_PATH
125 string
Patrick Georgib8fba862020-06-17 21:06:53 +0200126 default "\$(src)/vendorcode/intel/fsp/fsp1_1/braswell" if USE_GOOGLE_FSP
Matt DeVillierfd7440d2019-04-23 12:21:17 -0500127 default "3rdparty/fsp/BraswellFspBinPkg/Include/"
128 help
129 Location of FSP header file FspUpdVpd.h
130
Lee Leahy77ff0b12015-05-05 15:07:29 -0700131endif