blob: fda5a6d6873025110d725fbfe2f4394b6cba7d4d [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
Lee Leahy77ff0b12015-05-05 15:07:29 -070011 select ARCH_BOOTBLOCK_X86_32
Lee Leahy77ff0b12015-05-05 15:07:29 -070012 select ARCH_RAMSTAGE_X86_32
Lee Leahy32471722015-04-20 15:20:28 -070013 select ARCH_ROMSTAGE_X86_32
14 select ARCH_VERSTAGE_X86_32
Aaron Durbine8e118d2016-08-12 15:00:10 -050015 select BOOT_DEVICE_SUPPORTS_WRITES
Lee Leahy77ff0b12015-05-05 15:07:29 -070016 select CACHE_MRC_SETTINGS
Kyösti Mälkki730df3c2016-06-18 07:39:31 +030017 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM
Lee Leahy77ff0b12015-05-05 15:07:29 -070018 select COLLECT_TIMESTAMPS
Martin Rothdf02c332015-07-01 23:09:42 -060019 select SUPPORT_CPU_UCODE_IN_CBFS
Nico Huberf5ca9222018-11-29 17:05:32 +010020 select MICROCODE_BLOB_NOT_IN_BLOB_REPO
Lee Leahy77ff0b12015-05-05 15:07:29 -070021 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
Lee Leahy32471722015-04-20 15:20:28 -070022 select HAVE_MONOTONIC_TIMER
Lee Leahy77ff0b12015-05-05 15:07:29 -070023 select HAVE_SMI_HANDLER
Aaron Durbinf5ff8542016-05-05 10:38:03 -050024 select NO_FIXED_XIP_ROM_SIZE
Lee Leahy77ff0b12015-05-05 15:07:29 -070025 select PARALLEL_MP
26 select PCIEXP_ASPM
Lee Leahyacb9c0b2015-07-02 11:55:18 -070027 select PCIEXP_CLK_PM
Lee Leahy77ff0b12015-05-05 15:07:29 -070028 select PCIEXP_COMMON_CLOCK
Lee Leahy32471722015-04-20 15:20:28 -070029 select PLATFORM_USES_FSP1_1
Lee Leahy77ff0b12015-05-05 15:07:29 -070030 select REG_SCRIPT
Aaron Durbin16246ea2016-08-05 21:23:37 -050031 select RTC
Lee Leahy32471722015-04-20 15:20:28 -070032 select SOC_INTEL_COMMON
Duncan Lauriee73da802015-09-08 16:16:34 -070033 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Frans Hendriks59ae2ef2019-02-28 15:16:00 +010034 select SOC_INTEL_COMMON_BLOCK
35 select SOC_INTEL_COMMON_BLOCK_HDA
Lee Leahy32471722015-04-20 15:20:28 -070036 select SOC_INTEL_COMMON_RESET
Lee Leahy77ff0b12015-05-05 15:07:29 -070037 select SMM_TSEG
38 select SMP
39 select SPI_FLASH
40 select SSE2
Lee Leahy77ff0b12015-05-05 15:07:29 -070041 select TSC_CONSTANT_RATE
42 select TSC_MONOTONIC_TIMER
43 select TSC_SYNC_MFENCE
44 select UDELAY_TSC
Lee Leahy32471722015-04-20 15:20:28 -070045 select USE_GENERIC_FSP_CAR_INC
Stefan Tauneref8b9572018-09-06 00:34:28 +020046 select INTEL_DESCRIPTOR_MODE_CAPABLE
Martin Roth3a543182015-09-28 15:27:24 -060047 select HAVE_SPI_CONSOLE_SUPPORT
Nico Huber2e7f6cc2017-05-22 15:58:03 +020048 select HAVE_FSP_GOP
Matt DeVillier51ee7ce2017-08-20 18:21:10 -050049 select GENERIC_GPIO_LIB
Patrick Rudolphc7edf182017-09-26 19:34:35 +020050 select INTEL_GMA_ACPI
51 select INTEL_GMA_SWSMISCI
Matt DeVillierd3d0f072018-11-10 17:44:36 -060052 select CPU_INTEL_COMMON
Frans Hendriksb27fb332019-03-04 08:02:43 +010053 select SOUTHBRIDGE_INTEL_COMMON_SMBUS
Lee Leahy77ff0b12015-05-05 15:07:29 -070054
Julius Werner1210b412017-03-27 19:26:32 -070055config VBOOT
56 select VBOOT_STARTS_IN_ROMSTAGE
57
Lee Leahy77ff0b12015-05-05 15:07:29 -070058config BOOTBLOCK_CPU_INIT
59 string
Lee Leahy32471722015-04-20 15:20:28 -070060 default "soc/intel/braswell/bootblock/bootblock.c"
Lee Leahy77ff0b12015-05-05 15:07:29 -070061
62config MMCONF_BASE_ADDRESS
Arthur Heymans9c27eda2017-06-13 14:47:28 +020063 hex
Lee Leahy77ff0b12015-05-05 15:07:29 -070064 default 0xe0000000
65
66config MAX_CPUS
67 int
68 default 4
69
70config CPU_ADDR_BITS
71 int
72 default 36
73
74config SMM_TSEG_SIZE
75 hex
76 default 0x800000
77
78config SMM_RESERVED_SIZE
79 hex
80 default 0x100000
81
Lee Leahy77ff0b12015-05-05 15:07:29 -070082# Cache As RAM region layout:
83#
Lee Leahy77ff0b12015-05-05 15:07:29 -070084# +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE
Kyösti Mälkki2bad1e72016-07-26 14:03:31 +030085# | Stack |
86# | | |
87# | v |
Lee Leahy77ff0b12015-05-05 15:07:29 -070088# +-------------+
89# | ^ |
90# | | |
91# | CAR Globals |
92# +-------------+ DCACHE_RAM_BASE
93#
Lee Leahy77ff0b12015-05-05 15:07:29 -070094
95config DCACHE_RAM_BASE
Arthur Heymans9c27eda2017-06-13 14:47:28 +020096 hex
Lee Leahy32471722015-04-20 15:20:28 -070097 default 0xfef00000
Lee Leahy77ff0b12015-05-05 15:07:29 -070098
99config DCACHE_RAM_SIZE
Arthur Heymans9c27eda2017-06-13 14:47:28 +0200100 hex
Lee Leahy32471722015-04-20 15:20:28 -0700101 default 0x4000
Lee Leahy77ff0b12015-05-05 15:07:29 -0700102 help
103 The size of the cache-as-ram region required during bootblock
104 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
105 must add up to a power of 2.
106
Lee Leahy77ff0b12015-05-05 15:07:29 -0700107config RESET_ON_INVALID_RAMSTAGE_CACHE
108 bool "Reset the system on S3 wake when ramstage cache invalid."
109 default n
Lee Leahy77ff0b12015-05-05 15:07:29 -0700110 help
Lee Leahy32471722015-04-20 15:20:28 -0700111 The haswell romstage code caches the loaded ramstage program
Lee Leahy77ff0b12015-05-05 15:07:29 -0700112 in SMM space. On S3 wake the romstage will copy over a fresh
113 ramstage that was cached in the SMM space. This option determines
114 the action to take when the ramstage cache is invalid. If selected
115 the system will reset otherwise the ramstage will be reloaded from
116 cbfs.
117
Lee Leahy77ff0b12015-05-05 15:07:29 -0700118config ENABLE_BUILTIN_COM1
119 bool "Enable builtin COM1 Serial Port"
120 default n
121 help
122 The PMC has a legacy COM1 serial port. Choose this option to
123 configure the pads and enable it. This serial port can be used for
124 the debug console.
125
Lee Leahy32471722015-04-20 15:20:28 -0700126config IED_REGION_SIZE
127 hex
128 default 0x400000
129
Frans Hendriksf2af7022018-11-16 12:08:41 +0100130config DISABLE_HPET
131 bool "Disable the HPET device"
132 default n
133 help
134 Enable this to disable the HPET support
135 Solves the Linux MP-BIOS bug timer not connected.
136
Lee Leahy77ff0b12015-05-05 15:07:29 -0700137endif