blob: 9278cf1aa2aa9c0c5b2d96d84bdfa55e646aa780 [file] [log] [blame]
Lee Leahyb0005132015-05-12 18:19:47 -07001config SOC_INTEL_SKYLAKE
2 bool
3 help
4 Intel Skylake support
5
6if SOC_INTEL_SKYLAKE
7
8config CPU_SPECIFIC_OPTIONS
9 def_bool y
10 select ARCH_BOOTBLOCK_X86_32
Lee Leahyb0005132015-05-12 18:19:47 -070011 select ARCH_RAMSTAGE_X86_32
Lee Leahy1d14b3e2015-05-12 18:23:27 -070012 select ARCH_ROMSTAGE_X86_32
13 select ARCH_VERSTAGE_X86_32
Aaron Durbined8a7232015-11-24 12:35:06 -060014 select ACPI_NHLT
Lee Leahyb0005132015-05-12 18:19:47 -070015 select CACHE_MRC_SETTINGS
Alexandru Gagniuc27fea062015-08-29 20:00:24 -070016 select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
Lee Leahyb0005132015-05-12 18:19:47 -070017 select COLLECT_TIMESTAMPS
18 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbinffdf9012015-07-24 13:00:36 -050019 select GENERIC_GPIO_LIB
Lee Leahy1d14b3e2015-05-12 18:23:27 -070020 select HAVE_HARD_RESET
Aaron Durbin387084c2015-07-30 13:41:01 -050021 select HAVE_INTEL_FIRMWARE
Lee Leahyb0005132015-05-12 18:19:47 -070022 select HAVE_MONOTONIC_TIMER
23 select HAVE_SMI_HANDLER
Lee Leahyb0005132015-05-12 18:19:47 -070024 select IOAPIC
25 select MMCONF_SUPPORT
26 select MMCONF_SUPPORT_DEFAULT
Aaron Durbinf5ff8542016-05-05 10:38:03 -050027 select NO_FIXED_XIP_ROM_SIZE
Duncan Laurie205ed2d2016-06-02 15:23:42 -070028 select MRC_SETTINGS_PROTECT
Lee Leahyb0005132015-05-12 18:19:47 -070029 select PARALLEL_MP
30 select PCIEXP_ASPM
31 select PCIEXP_COMMON_CLOCK
32 select PCIEXP_CLK_PM
Aaron Durbin27d153c2015-07-13 13:50:34 -050033 select PCIEXP_L1_SUB_STATE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070034 select PLATFORM_USES_FSP1_1
35 select REG_SCRIPT
36 select RELOCATABLE_MODULES
37 select RELOCATABLE_RAMSTAGE
38 select SOC_INTEL_COMMON
Duncan Lauriea1c8b34d2015-09-08 16:12:44 -070039 select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
Lee Leahy1d14b3e2015-05-12 18:23:27 -070040 select SOC_INTEL_COMMON_RESET
Lee Leahyb0005132015-05-12 18:19:47 -070041 select SMM_TSEG
42 select SMP
43 select SPI_FLASH
44 select SSE2
45 select SUPPORT_CPU_UCODE_IN_CBFS
46 select TSC_CONSTANT_RATE
47 select TSC_SYNC_MFENCE
48 select UDELAY_TSC
Lee Leahy1d14b3e2015-05-12 18:23:27 -070049 select USE_GENERIC_FSP_CAR_INC
Lee Leahyb0005132015-05-12 18:19:47 -070050
51config BOOTBLOCK_CPU_INIT
52 string
53 default "soc/intel/skylake/bootblock/cpu.c"
54
55config BOOTBLOCK_NORTHBRIDGE_INIT
56 string
57 default "soc/intel/skylake/bootblock/systemagent.c"
58
Lee Leahy1d14b3e2015-05-12 18:23:27 -070059config BOOTBLOCK_RESETS
60 string
61 default "soc/intel/common/reset.c"
62
Lee Leahyb0005132015-05-12 18:19:47 -070063config BOOTBLOCK_SOUTHBRIDGE_INIT
64 string
65 default "soc/intel/skylake/bootblock/pch.c"
66
Martin Roth59ff3402016-02-09 09:06:46 -070067config CBFS_SIZE
68 hex
69 default 0x200000
70
Lee Leahy1d14b3e2015-05-12 18:23:27 -070071config CPU_ADDR_BITS
72 int
73 default 36
74
75config DCACHE_RAM_BASE
76 hex "Base address of cache-as-RAM"
77 default 0xfef00000
78
79config DCACHE_RAM_SIZE
80 hex "Length in bytes of cache-as-RAM"
Aaron Durbinba69c772015-09-16 14:27:26 -050081 default 0x10000
Lee Leahyb0005132015-05-12 18:19:47 -070082 help
Lee Leahy1d14b3e2015-05-12 18:23:27 -070083 The size of the cache-as-ram region required during bootblock
84 and/or romstage.
Lee Leahyb0005132015-05-12 18:19:47 -070085
Subrata Banik086730b2015-12-02 11:42:04 +053086config EXCLUDE_NATIVE_SD_INTERFACE
87 bool
88 default n
89 help
90 If you set this option to n, will not use native SD controller.
91
Lee Leahy1d14b3e2015-05-12 18:23:27 -070092config HEAP_SIZE
93 hex
94 default 0x80000
95
96config IED_REGION_SIZE
97 hex
98 default 0x400000
99
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700100config MMCONF_BASE_ADDRESS
101 hex "MMIO Base Address"
102 default 0xe0000000
103
104config MONOTONIC_TIMER_MSR
105 def_bool y
106 select HAVE_MONOTONIC_TIMER
107 help
108 Provide a monotonic timer using the 24MHz MSR counter.
109
110config PRE_GRAPHICS_DELAY
111 int "Graphics initialization delay in ms"
112 default 0
113 help
114 On some systems, coreboot boots so fast that connected monitors
115 (mostly TVs) won't be able to wake up fast enough to talk to the
116 VBIOS. On those systems we need to wait for a bit before executing
117 the VBIOS.
118
119config SERIAL_CPU_INIT
120 bool
121 default n
122
123config SERIRQ_CONTINUOUS_MODE
124 bool
pchandri1d77c722015-09-09 17:22:09 -0700125 default n
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700126 help
127 If you set this option to y, the serial IRQ machine will be
128 operated in continuous mode.
129
130config SMM_RESERVED_SIZE
131 hex
132 default 0x200000
133
134config SMM_TSEG_SIZE
135 hex
136 default 0x800000
137
Lee Leahy1d14b3e2015-05-12 18:23:27 -0700138config VGA_BIOS_ID
139 string
140 default "8086,0406"
Lee Leahyb0005132015-05-12 18:19:47 -0700141
Aaron Durbine33a1722015-07-30 16:52:56 -0500142config UART_DEBUG
143 bool "Enable UART debug port."
Aaron Durbine33a1722015-07-30 16:52:56 -0500144 default n
Martin Roth1afcb232015-08-15 17:36:15 -0600145 select CONSOLE_SERIAL
Aaron Durbine33a1722015-07-30 16:52:56 -0500146 select DRIVERS_UART
Aaron Durbine33a1722015-07-30 16:52:56 -0500147 select DRIVERS_UART_8250MEM_32
148
Aaron Durbin3953e392015-09-03 00:41:29 -0500149config CHIPSET_BOOTBLOCK_INCLUDE
150 string
151 default "soc/intel/skylake/bootblock/timestamp.inc"
152
Aaron Durbined8a7232015-11-24 12:35:06 -0600153config NHLT_DMIC_2CH
154 bool
155 default n
156 help
157 Include DSP firmware settings for 2 channel DMIC array.
158
159config NHLT_DMIC_4CH
160 bool
161 default n
162 help
163 Include DSP firmware settings for 4 channel DMIC array.
164
165config NHLT_NAU88L25
166 bool
167 default n
168 help
169 Include DSP firmware settings for nau88l25 headset codec.
170
171config NHLT_MAX98357
172 bool
173 default n
174 help
175 Include DSP firmware settings for max98357 amplifier.
176
177config NHLT_SSM4567
178 bool
179 default n
180 help
181 Include DSP firmware settings for ssm4567 smart amplifier.
182
Subrata Banikfbdc7192016-01-19 19:19:15 +0530183config DCACHE_RAM_SIZE_TOTAL
184 hex
185 default 0x40000
186
187config SKIP_FSP_CAR
Martin Rothb00ddec2016-01-31 10:39:47 -0700188 bool "Skip cache as RAM setup in FSP"
189 default y
190 help
191 Skip Cache as RAM setup in FSP.
Subrata Banikfbdc7192016-01-19 19:19:15 +0530192
Lee Leahyb0005132015-05-12 18:19:47 -0700193endif