2019-06-17 14:30:10 +02:00
|
|
|
config SOC_INTEL_COMMON_SKYLAKE_BASE
|
|
|
|
bool
|
|
|
|
|
2015-05-13 03:19:47 +02:00
|
|
|
config SOC_INTEL_SKYLAKE
|
|
|
|
bool
|
2019-06-17 14:30:10 +02:00
|
|
|
select SOC_INTEL_COMMON_SKYLAKE_BASE
|
2015-05-13 03:19:47 +02:00
|
|
|
help
|
|
|
|
Intel Skylake support
|
|
|
|
|
2017-02-09 11:27:45 +01:00
|
|
|
config SOC_INTEL_KABYLAKE
|
|
|
|
bool
|
2019-06-17 14:30:10 +02:00
|
|
|
select SOC_INTEL_COMMON_SKYLAKE_BASE
|
2017-02-09 11:27:45 +01:00
|
|
|
help
|
|
|
|
Intel Kabylake support
|
|
|
|
|
2019-06-17 14:30:10 +02:00
|
|
|
if SOC_INTEL_COMMON_SKYLAKE_BASE
|
2015-05-13 03:19:47 +02:00
|
|
|
|
|
|
|
config CPU_SPECIFIC_OPTIONS
|
|
|
|
def_bool y
|
2016-07-14 06:20:51 +02:00
|
|
|
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
|
2018-02-06 04:59:09 +01:00
|
|
|
select ACPI_NHLT
|
2015-05-13 03:19:47 +02:00
|
|
|
select ARCH_BOOTBLOCK_X86_32
|
|
|
|
select ARCH_RAMSTAGE_X86_32
|
2015-05-13 03:23:27 +02:00
|
|
|
select ARCH_ROMSTAGE_X86_32
|
|
|
|
select ARCH_VERSTAGE_X86_32
|
2016-08-12 06:55:39 +02:00
|
|
|
select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH
|
2016-08-12 22:00:10 +02:00
|
|
|
select BOOT_DEVICE_SUPPORTS_WRITES
|
2015-05-13 03:19:47 +02:00
|
|
|
select CACHE_MRC_SETTINGS
|
2018-11-21 00:11:35 +01:00
|
|
|
select CPU_INTEL_COMMON
|
2015-05-13 03:19:47 +02:00
|
|
|
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
2019-09-01 16:49:09 +02:00
|
|
|
select CPU_INTEL_COMMON_HYPERTHREADING
|
2019-10-05 19:47:47 +02:00
|
|
|
select FSP_M_XIP
|
2015-07-24 20:00:36 +02:00
|
|
|
select GENERIC_GPIO_LIB
|
2018-02-06 04:59:09 +01:00
|
|
|
select HAVE_FSP_GOP
|
2019-12-17 14:10:16 +01:00
|
|
|
select HAVE_FSP_LOGO_SUPPORT
|
2018-09-06 00:34:28 +02:00
|
|
|
select INTEL_DESCRIPTOR_MODE_CAPABLE
|
2015-05-13 03:19:47 +02:00
|
|
|
select HAVE_SMI_HANDLER
|
2018-11-07 16:24:50 +01:00
|
|
|
select INTEL_CAR_NEM_ENHANCED
|
2017-09-26 19:34:35 +02:00
|
|
|
select INTEL_GMA_ACPI
|
2019-10-05 19:47:47 +02:00
|
|
|
select INTEL_GMA_ADD_VBT if RUN_FSP_GOP
|
2019-12-08 15:54:09 +01:00
|
|
|
select HAVE_INTEL_FSP_REPO
|
2015-05-13 03:19:47 +02:00
|
|
|
select IOAPIC
|
2016-06-03 00:23:42 +02:00
|
|
|
select MRC_SETTINGS_PROTECT
|
2015-05-13 03:19:47 +02:00
|
|
|
select PARALLEL_MP
|
2017-05-06 21:40:15 +02:00
|
|
|
select PARALLEL_MP_AP_WORK
|
2019-10-05 19:47:47 +02:00
|
|
|
select PLATFORM_USES_FSP2_0
|
2015-05-13 03:23:27 +02:00
|
|
|
select REG_SCRIPT
|
2017-06-02 15:22:24 +02:00
|
|
|
select SA_ENABLE_DPR
|
2018-08-14 16:15:26 +02:00
|
|
|
select PMC_GLOBAL_RESET_ENABLE_LOCK
|
2015-05-13 03:23:27 +02:00
|
|
|
select SOC_INTEL_COMMON
|
2015-09-09 01:12:44 +02:00
|
|
|
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
2017-02-16 11:46:37 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK
|
2018-11-07 16:24:50 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CAR
|
2018-05-09 11:25:09 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG
|
2017-05-04 14:32:17 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CPU
|
2017-06-13 16:52:33 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT
|
2018-10-19 01:22:37 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
|
2017-04-07 05:54:11 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_GPIO_LEGACY_MACROS
|
2018-02-06 04:59:09 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL
|
2017-03-31 23:02:47 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_GSPI
|
2018-09-30 08:31:04 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_HDA
|
2017-03-14 13:54:47 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SA
|
2020-04-08 20:35:52 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SCS
|
2017-06-13 08:02:36 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SGX
|
2019-10-31 19:01:23 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SGX_LOCK_MEMORY
|
2017-12-14 13:48:34 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SMM
|
|
|
|
select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP
|
2020-01-16 05:43:28 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_THERMAL
|
2018-05-24 08:51:06 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_UART
|
2019-03-20 18:38:01 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG
|
2018-05-17 12:27:43 +02:00
|
|
|
select SOC_INTEL_COMMON_PCH_BASE
|
2016-06-28 22:41:07 +02:00
|
|
|
select SOC_INTEL_COMMON_NHLT
|
2015-05-13 03:23:27 +02:00
|
|
|
select SOC_INTEL_COMMON_RESET
|
2020-05-09 21:54:11 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
|
2020-04-26 20:37:32 +02:00
|
|
|
select SOC_INTEL_CONFIGURE_DDI_A_4_LANES
|
2015-05-13 03:19:47 +02:00
|
|
|
select SSE2
|
|
|
|
select SUPPORT_CPU_UCODE_IN_CBFS
|
2017-05-25 10:42:01 +02:00
|
|
|
select TSC_MONOTONIC_TIMER
|
2015-05-13 03:19:47 +02:00
|
|
|
select TSC_SYNC_MFENCE
|
|
|
|
select UDELAY_TSC
|
2019-10-05 19:47:47 +02:00
|
|
|
select UDK_2015_BINDING
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2019-09-02 09:35:21 +02:00
|
|
|
config FSP_HYPERTHREADING
|
|
|
|
bool "Enable Hyper-Threading"
|
|
|
|
default y
|
|
|
|
|
2018-01-05 17:51:46 +01:00
|
|
|
config CPU_INTEL_NUM_FIT_ENTRIES
|
|
|
|
int
|
|
|
|
default 10
|
|
|
|
|
2016-07-23 01:17:53 +02:00
|
|
|
config CHROMEOS
|
|
|
|
select CHROMEOS_RAMOOPS_DYNAMIC
|
2017-02-14 02:53:29 +01:00
|
|
|
|
|
|
|
config VBOOT
|
|
|
|
select VBOOT_SEPARATE_VERSTAGE
|
2019-04-10 10:06:21 +02:00
|
|
|
select VBOOT_MUST_REQUEST_DISPLAY
|
2016-08-24 15:49:29 +02:00
|
|
|
select VBOOT_STARTS_IN_BOOTBLOCK
|
2016-07-25 20:48:03 +02:00
|
|
|
select VBOOT_VBNV_CMOS
|
|
|
|
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
|
2016-07-23 01:17:53 +02:00
|
|
|
|
Kconfig: Move defaults for CBFS_SIZE
We want the question for CBFS size to be next to the rom size in the
mainboard directory, but that doesn't seem to work for how people
want to set the defaults. Instead of having the list of exceptions
to the size, just set the defaults at the end of kconfig.
- Move the defaults for chipsets not setting HAVE_INTEL_FIRMWARE into
the chipset Kconfigs (gm45, nehalem, sandybridge, x4x)
- Override the default for HAVE_INTEL_FIRMWARE on skylake.
- Move the HAVE_INTEL_FIRMWARE default setting into the firmware
Kconfig file
- Move the location of the default CBFS_SIZE=ROM_SIZE to the end of
the top level kconfig file, while leaving the question where it is.
Test=rebuild Kconfig files before and after the change, verify that
they are how they were intended to be.
Note: the Skylake boards actually changed value, because they were
picking up the 0x100000 from HAVE_INTEL_FIRMWARE instead of the
0x200000 desired. This was due to the SOC_INTEL_SKYLAKE being after
the HAVE_INTEL_FIRMWARE default. Affected boards were:
Google chell, glados, & lars and Intel kunimitsu.
Change-Id: I2963a7a7eab037955558d401f5573533674a664f
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13645
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-02-09 17:06:46 +01:00
|
|
|
config CBFS_SIZE
|
|
|
|
hex
|
|
|
|
default 0x200000
|
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
config DCACHE_RAM_BASE
|
2017-06-13 14:17:05 +02:00
|
|
|
hex
|
2015-05-13 03:23:27 +02:00
|
|
|
default 0xfef00000
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
config DCACHE_RAM_SIZE
|
2017-06-13 14:17:05 +02:00
|
|
|
hex
|
2016-08-14 12:18:33 +02:00
|
|
|
default 0x40000
|
2015-05-13 03:19:47 +02:00
|
|
|
help
|
2015-05-13 03:23:27 +02:00
|
|
|
The size of the cache-as-ram region required during bootblock
|
|
|
|
and/or romstage.
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2016-07-18 10:43:52 +02:00
|
|
|
config DCACHE_BSP_STACK_SIZE
|
|
|
|
hex
|
|
|
|
default 0x4000
|
|
|
|
help
|
|
|
|
The amount of anticipated stack usage in CAR by bootblock and
|
|
|
|
other stages.
|
|
|
|
|
|
|
|
config C_ENV_BOOTBLOCK_SIZE
|
|
|
|
hex
|
2016-08-24 19:28:30 +02:00
|
|
|
default 0xC000
|
2016-07-18 10:43:52 +02:00
|
|
|
|
2015-12-02 07:12:04 +01:00
|
|
|
config EXCLUDE_NATIVE_SD_INTERFACE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you set this option to n, will not use native SD controller.
|
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
config HEAP_SIZE
|
|
|
|
hex
|
|
|
|
default 0x80000
|
|
|
|
|
|
|
|
config IED_REGION_SIZE
|
|
|
|
hex
|
|
|
|
default 0x400000
|
|
|
|
|
2017-03-08 13:29:40 +01:00
|
|
|
config PCR_BASE_ADDRESS
|
|
|
|
hex
|
|
|
|
default 0xfd000000
|
|
|
|
help
|
|
|
|
This option allows you to select MMIO Base Address of sideband bus.
|
|
|
|
|
2015-05-13 03:23:27 +02:00
|
|
|
config SMM_RESERVED_SIZE
|
|
|
|
hex
|
|
|
|
default 0x200000
|
|
|
|
|
|
|
|
config SMM_TSEG_SIZE
|
|
|
|
hex
|
|
|
|
default 0x800000
|
|
|
|
|
|
|
|
config VGA_BIOS_ID
|
|
|
|
string
|
|
|
|
default "8086,0406"
|
2015-05-13 03:19:47 +02:00
|
|
|
|
2016-09-15 05:11:45 +02:00
|
|
|
config SKYLAKE_SOC_PCH_H
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Choose this option if you have a PCH-H chipset.
|
|
|
|
|
2015-11-24 19:35:06 +01:00
|
|
|
config NHLT_DMIC_2CH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for 2 channel DMIC array.
|
|
|
|
|
|
|
|
config NHLT_DMIC_4CH
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for 4 channel DMIC array.
|
|
|
|
|
|
|
|
config NHLT_NAU88L25
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for nau88l25 headset codec.
|
|
|
|
|
|
|
|
config NHLT_MAX98357
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for max98357 amplifier.
|
|
|
|
|
2018-03-26 11:45:02 +02:00
|
|
|
config NHLT_MAX98373
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for max98373 amplifier.
|
|
|
|
|
2015-11-24 19:35:06 +01:00
|
|
|
config NHLT_SSM4567
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for ssm4567 smart amplifier.
|
|
|
|
|
2017-03-02 19:13:51 +01:00
|
|
|
config NHLT_RT5514
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for rt5514 DSP.
|
|
|
|
|
2017-01-14 01:38:21 +01:00
|
|
|
config NHLT_RT5663
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for rt5663 headset codec.
|
|
|
|
|
|
|
|
config NHLT_MAX98927
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for max98927 amplifier.
|
|
|
|
|
2017-11-03 22:25:09 +01:00
|
|
|
config NHLT_DA7219
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for DA7219 headset codec.
|
|
|
|
|
2018-09-13 17:48:43 +02:00
|
|
|
config FSP_HEADER_PATH
|
|
|
|
# Use KabylakeFsp for both Skylake and Kabylake as it supports both.
|
|
|
|
# SkylakeFsp is FSP 1.1 and therefore incompatible.
|
2019-10-05 19:47:47 +02:00
|
|
|
default "3rdparty/fsp/KabylakeFspBinPkg/Include/"
|
2018-09-13 17:48:43 +02:00
|
|
|
|
|
|
|
config FSP_FD_PATH
|
2019-10-05 19:47:47 +02:00
|
|
|
default "3rdparty/fsp/KabylakeFspBinPkg/Fsp.fd"
|
2018-09-13 17:48:43 +02:00
|
|
|
|
2016-11-08 16:31:09 +01:00
|
|
|
config MAX_ROOT_PORTS
|
|
|
|
int
|
2019-10-05 19:47:47 +02:00
|
|
|
default 24
|
2016-11-08 16:31:09 +01:00
|
|
|
|
2017-02-09 11:31:59 +01:00
|
|
|
config NO_FADT_8042
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Choose this option if you want to disable 8042 Keyboard
|
|
|
|
|
2018-04-10 17:24:54 +02:00
|
|
|
config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
|
2017-04-04 20:47:19 +02:00
|
|
|
int
|
|
|
|
default 120
|
|
|
|
|
2017-12-06 22:26:15 +01:00
|
|
|
config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
|
|
|
|
int
|
2018-04-10 17:24:54 +02:00
|
|
|
default SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
|
2017-12-06 22:26:15 +01:00
|
|
|
|
2017-03-31 23:02:47 +02:00
|
|
|
config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
|
|
|
|
int
|
|
|
|
default 2
|
|
|
|
|
2018-05-09 11:25:09 +02:00
|
|
|
config SOC_INTEL_I2C_DEV_MAX
|
|
|
|
int
|
|
|
|
default 6
|
|
|
|
|
2017-06-02 08:26:14 +02:00
|
|
|
config CPU_BCLK_MHZ
|
|
|
|
int
|
|
|
|
default 100
|
|
|
|
|
2019-05-29 23:33:06 +02:00
|
|
|
config CONSOLE_UART_BASE_ADDRESS
|
|
|
|
hex
|
|
|
|
default 0xfe030000
|
|
|
|
depends on INTEL_LPSS_UART_FOR_CONSOLE
|
|
|
|
|
2017-08-05 00:58:26 +02:00
|
|
|
# Clock divider parameters for 115200 baud rate
|
|
|
|
config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
|
|
|
|
hex
|
|
|
|
default 0x30
|
|
|
|
|
|
|
|
config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
|
|
|
|
hex
|
|
|
|
default 0xc35
|
|
|
|
|
2018-03-21 18:45:08 +01:00
|
|
|
config IFD_CHIPSET
|
|
|
|
string
|
|
|
|
default "sklkbl"
|
|
|
|
|
2019-07-25 11:55:30 +02:00
|
|
|
config INTEL_TXT_BIOSACM_ALIGNMENT
|
|
|
|
hex
|
|
|
|
default 0x40000 # 256KB
|
|
|
|
|
2019-10-23 10:22:06 +02:00
|
|
|
config MAINBOARD_SUPPORTS_SKYLAKE_CPU
|
|
|
|
bool "Board can contain Skylake CPU"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if SKYLAKE_SOC_PCH_H
|
|
|
|
|
|
|
|
config MAINBOARD_SUPPORTS_KABYLAKE_CPU
|
|
|
|
bool "Board can contain Kaby Lake CPU"
|
|
|
|
default y if SOC_INTEL_KABYLAKE
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !SKYLAKE_SOC_PCH_H
|
|
|
|
|
|
|
|
config MAINBOARD_SUPPORTS_KABYLAKE_DUAL
|
|
|
|
bool "Board can contain Kaby Lake DUAL core"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MAINBOARD_SUPPORTS_KABYLAKE_QUAD
|
|
|
|
bool "Board can contain Kaby Lake QUAD core"
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2015-05-13 03:19:47 +02:00
|
|
|
endif
|