2015-10-06 19:33:49 +02:00
|
|
|
config SOC_INTEL_APOLLOLAKE
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Intel Apollolake support
|
|
|
|
|
|
|
|
if SOC_INTEL_APOLLOLAKE
|
|
|
|
|
|
|
|
config CPU_SPECIFIC_OPTIONS
|
|
|
|
def_bool y
|
2016-07-14 06:17:38 +02:00
|
|
|
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
|
2015-10-06 19:33:49 +02:00
|
|
|
select ARCH_BOOTBLOCK_X86_32
|
|
|
|
select ARCH_RAMSTAGE_X86_32
|
|
|
|
select ARCH_ROMSTAGE_X86_32
|
|
|
|
select ARCH_VERSTAGE_X86_32
|
2016-09-17 02:25:43 +02:00
|
|
|
select BOOTBLOCK_CONSOLE
|
2016-08-12 06:51:42 +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-10-06 19:33:49 +02:00
|
|
|
# CPU specific options
|
|
|
|
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
|
|
|
select IOAPIC
|
2017-03-08 13:25:26 +01:00
|
|
|
select PCR_COMMON_IOSF_1_0
|
2015-10-06 19:33:49 +02:00
|
|
|
select SMP
|
|
|
|
select SSE2
|
|
|
|
select SUPPORT_CPU_UCODE_IN_CBFS
|
2016-06-21 23:22:16 +02:00
|
|
|
# Audio options
|
|
|
|
select ACPI_NHLT
|
|
|
|
select SOC_INTEL_COMMON_NHLT
|
2015-10-06 19:33:49 +02:00
|
|
|
# Misc options
|
2015-10-07 02:16:41 +02:00
|
|
|
select C_ENVIRONMENT_BOOTBLOCK
|
2016-09-30 22:57:12 +02:00
|
|
|
select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE
|
2015-10-06 19:33:49 +02:00
|
|
|
select COLLECT_TIMESTAMPS
|
2016-05-11 17:35:49 +02:00
|
|
|
select COMMON_FADT
|
2017-04-26 04:30:58 +02:00
|
|
|
select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
|
2016-06-29 19:47:48 +02:00
|
|
|
select GENERIC_GPIO_LIB
|
2015-10-06 19:33:49 +02:00
|
|
|
select HAVE_INTEL_FIRMWARE
|
2016-05-13 09:47:14 +02:00
|
|
|
select HAVE_SMI_HANDLER
|
2016-10-25 00:28:23 +02:00
|
|
|
select MRC_SETTINGS_PROTECT
|
2016-05-05 17:38:03 +02:00
|
|
|
select NO_FIXED_XIP_ROM_SIZE
|
2016-05-05 08:25:16 +02:00
|
|
|
select NO_XIP_EARLY_STAGES
|
2015-10-06 19:33:49 +02:00
|
|
|
select PARALLEL_MP
|
2016-12-07 19:47:46 +01:00
|
|
|
select PARALLEL_MP_AP_WORK
|
2015-10-06 19:33:49 +02:00
|
|
|
select PCIEXP_ASPM
|
|
|
|
select PCIEXP_COMMON_CLOCK
|
|
|
|
select PCIEXP_CLK_PM
|
|
|
|
select PCIEXP_L1_SUB_STATE
|
2017-03-14 13:56:27 +01:00
|
|
|
select PCIEX_LENGTH_256MB
|
2016-09-16 23:30:09 +02:00
|
|
|
select POSTCAR_CONSOLE
|
2016-03-18 17:19:38 +01:00
|
|
|
select POSTCAR_STAGE
|
2015-10-06 19:33:49 +02:00
|
|
|
select REG_SCRIPT
|
|
|
|
select RELOCATABLE_RAMSTAGE # Build fails if this is not selected
|
2016-08-06 04:23:37 +02:00
|
|
|
select RTC
|
2016-05-13 09:47:14 +02:00
|
|
|
select SMM_TSEG
|
2017-05-19 15:08:24 +02:00
|
|
|
select SA_ENABLE_IMR
|
2015-10-06 19:33:49 +02:00
|
|
|
select SOC_INTEL_COMMON
|
2016-04-18 22:47:08 +02:00
|
|
|
select SOC_INTEL_COMMON_ACPI
|
2016-08-03 02:25:13 +02:00
|
|
|
select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE
|
2017-03-03 13:53:59 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK
|
2017-05-23 14:47:14 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CPU
|
2017-03-28 13:02:33 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_FAST_SPI
|
2017-04-11 00:49:02 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_ITSS
|
2017-04-26 17:36:35 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_I2C
|
2017-04-06 16:51:58 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_LPSS
|
2017-03-08 13:25:26 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_PCR
|
2017-03-14 13:56:27 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SA
|
2017-03-09 09:13:54 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_RTC
|
2017-04-07 17:40:27 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_SA
|
2017-05-25 11:08:37 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_TIMER
|
2017-04-07 17:40:27 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_UART
|
2017-04-24 08:24:34 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_XDCI
|
2017-04-24 06:55:56 +02:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_XHCI
|
2016-06-27 19:57:13 +02:00
|
|
|
select SOC_INTEL_COMMON_SMI
|
2016-11-21 18:19:53 +01:00
|
|
|
select SOC_INTEL_COMMON_SPI_FLASH_PROTECT
|
2015-10-06 19:33:49 +02:00
|
|
|
select UDELAY_TSC
|
2016-02-11 02:47:03 +01:00
|
|
|
select TSC_CONSTANT_RATE
|
2016-03-15 01:38:51 +01:00
|
|
|
select TSC_MONOTONIC_TIMER
|
|
|
|
select HAVE_MONOTONIC_TIMER
|
2016-02-26 03:39:38 +01:00
|
|
|
select PLATFORM_USES_FSP2_0
|
2016-03-14 22:19:22 +01:00
|
|
|
select HAVE_HARD_RESET
|
|
|
|
select SOC_INTEL_COMMON
|
2016-05-13 04:11:48 +02:00
|
|
|
select SOC_INTEL_COMMON_GFX_OPREGION
|
2017-03-06 23:47:05 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK
|
|
|
|
select SOC_INTEL_COMMON_BLOCK_CSE
|
2017-05-22 15:58:03 +02:00
|
|
|
select ADD_VBT_DATA_FILE if RUN_FSP_GOP
|
|
|
|
select HAVE_FSP_GOP
|
2016-03-14 22:19:22 +01:00
|
|
|
|
2016-07-22 21:57:51 +02:00
|
|
|
config CHROMEOS
|
|
|
|
select CHROMEOS_RAMOOPS_DYNAMIC
|
2017-02-14 02:53:29 +01:00
|
|
|
|
|
|
|
config VBOOT
|
|
|
|
select VBOOT_SEPARATE_VERSTAGE
|
2016-07-22 21:57:51 +02:00
|
|
|
select VBOOT_OPROM_MATTERS
|
2016-07-22 18:02:35 +02:00
|
|
|
select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT
|
2016-07-22 21:57:51 +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-22 21:57:51 +02:00
|
|
|
|
2016-04-28 06:05:52 +02:00
|
|
|
config TPM_ON_FAST_SPI
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select LPC_TPM
|
|
|
|
help
|
|
|
|
TPM part is conntected on Fast SPI interface, but the LPC MMIO
|
|
|
|
TPM transactions are decoded and serialized over the SPI interface.
|
|
|
|
|
2016-03-14 22:19:22 +01:00
|
|
|
config SOC_INTEL_COMMON_RESET
|
|
|
|
bool
|
2016-06-23 17:26:00 +02:00
|
|
|
default y
|
2015-10-06 19:33:49 +02:00
|
|
|
|
2017-03-08 13:25:26 +01:00
|
|
|
config PCR_BASE_ADDRESS
|
|
|
|
hex
|
2015-10-07 02:16:41 +02:00
|
|
|
default 0xd0000000
|
2017-03-08 13:25:26 +01:00
|
|
|
help
|
|
|
|
This option allows you to select MMIO Base Address of sideband bus.
|
2015-10-07 02:16:41 +02:00
|
|
|
|
|
|
|
config DCACHE_RAM_BASE
|
|
|
|
hex "Base address of cache-as-RAM"
|
|
|
|
default 0xfef00000
|
|
|
|
|
|
|
|
config DCACHE_RAM_SIZE
|
|
|
|
hex "Length in bytes of cache-as-RAM"
|
2016-06-28 00:21:26 +02:00
|
|
|
default 0xc0000
|
2015-10-07 02:16:41 +02:00
|
|
|
help
|
|
|
|
The size of the cache-as-ram region required during bootblock
|
|
|
|
and/or romstage.
|
|
|
|
|
|
|
|
config DCACHE_BSP_STACK_SIZE
|
|
|
|
hex
|
|
|
|
default 0x4000
|
|
|
|
help
|
|
|
|
The amount of anticipated stack usage in CAR by bootblock and
|
|
|
|
other stages.
|
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
config CPU_ADDR_BITS
|
|
|
|
int
|
|
|
|
default 36
|
|
|
|
|
2017-04-04 20:47:19 +02:00
|
|
|
config SOC_INTEL_COMMON_LPSS_CLOCK_MHZ
|
2016-06-27 19:57:13 +02:00
|
|
|
int
|
|
|
|
default 133
|
|
|
|
|
2016-02-11 02:47:03 +01:00
|
|
|
config CONSOLE_UART_BASE_ADDRESS
|
|
|
|
depends on CONSOLE_SERIAL
|
|
|
|
hex "MMIO base address for UART"
|
|
|
|
default 0xde000000
|
|
|
|
|
2016-02-25 01:49:07 +01:00
|
|
|
config SOC_UART_DEBUG
|
|
|
|
bool "Enable SoC UART debug port selected by UART_FOR_CONSOLE."
|
|
|
|
default n
|
|
|
|
select CONSOLE_SERIAL
|
|
|
|
select DRIVERS_UART
|
|
|
|
select DRIVERS_UART_8250MEM_32
|
|
|
|
select NO_UART_ON_SUPERIO
|
|
|
|
|
2016-02-11 21:47:33 +01:00
|
|
|
# 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB.
|
|
|
|
config C_ENV_BOOTBLOCK_SIZE
|
|
|
|
hex
|
|
|
|
default 0x8000
|
|
|
|
|
2016-02-13 00:12:43 +01:00
|
|
|
# This SoC does not map SPI flash like many previous SoC. Therefore we provide
|
|
|
|
# a custom media driver that facilitates mapping
|
|
|
|
config X86_TOP4G_BOOTMEDIA_MAP
|
|
|
|
bool
|
|
|
|
default n
|
2016-02-26 02:42:25 +01:00
|
|
|
|
|
|
|
config ROMSTAGE_ADDR
|
|
|
|
hex
|
2016-06-25 03:15:09 +02:00
|
|
|
default 0xfef20000
|
2016-02-26 02:42:25 +01:00
|
|
|
help
|
|
|
|
The base address (in CAR) where romstage should be linked
|
|
|
|
|
2016-05-26 18:00:44 +02:00
|
|
|
config VERSTAGE_ADDR
|
|
|
|
hex
|
2016-06-25 03:15:09 +02:00
|
|
|
default 0xfef40000
|
2016-05-26 18:00:44 +02:00
|
|
|
help
|
|
|
|
The base address (in CAR) where verstage should be linked
|
|
|
|
|
2016-03-15 01:38:51 +01:00
|
|
|
config CACHE_MRC_SETTINGS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2016-11-05 00:18:30 +01:00
|
|
|
config MRC_SETTINGS_VARIABLE_DATA
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2016-05-17 09:03:27 +02:00
|
|
|
config FSP_M_ADDR
|
|
|
|
hex
|
2016-06-25 03:15:09 +02:00
|
|
|
default 0xfef40000
|
2016-05-17 09:03:27 +02:00
|
|
|
help
|
|
|
|
The address FSP-M will be relocated to during build time
|
|
|
|
|
2016-05-20 17:48:44 +02:00
|
|
|
config NEED_LBP2
|
|
|
|
bool "Write contents for logical boot partition 2."
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Write the contents from a file into the logical boot partition 2
|
|
|
|
region defined by LBP2_FMAP_NAME.
|
|
|
|
|
|
|
|
config LBP2_FMAP_NAME
|
|
|
|
string "Name of FMAP region to put logical boot partition 2"
|
|
|
|
depends on NEED_LBP2
|
|
|
|
default "SIGN_CSE"
|
|
|
|
help
|
|
|
|
Name of FMAP region to write logical boot partition 2 data.
|
|
|
|
|
|
|
|
config LBP2_FILE_NAME
|
|
|
|
string "Path of file to write to logical boot partition 2 region"
|
|
|
|
depends on NEED_LBP2
|
|
|
|
default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/lbp2.bin"
|
|
|
|
help
|
|
|
|
Name of file to store in the logical boot partition 2 region.
|
|
|
|
|
2016-05-28 21:57:05 +02:00
|
|
|
config NEED_IFWI
|
|
|
|
bool "Write content into IFWI region"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Write the content from a file into IFWI region defined by
|
|
|
|
IFWI_FMAP_NAME.
|
|
|
|
|
|
|
|
config IFWI_FMAP_NAME
|
|
|
|
string "Name of FMAP region to pull IFWI into"
|
|
|
|
depends on NEED_IFWI
|
|
|
|
default "IFWI"
|
|
|
|
help
|
|
|
|
Name of FMAP region to write IFWI.
|
|
|
|
|
|
|
|
config IFWI_FILE_NAME
|
|
|
|
string "Path of file to write to IFWI region"
|
|
|
|
depends on NEED_IFWI
|
|
|
|
default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/ifwi.bin"
|
|
|
|
help
|
|
|
|
Name of file to store in the IFWI region.
|
|
|
|
|
2016-10-27 02:38:49 +02:00
|
|
|
config HEAP_SIZE
|
|
|
|
hex
|
|
|
|
default 0x8000
|
|
|
|
|
2016-10-27 02:31:36 +02:00
|
|
|
config NHLT_DMIC_1CH_16B
|
|
|
|
bool
|
|
|
|
depends on ACPI_NHLT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for 1 channel 16B DMIC array.
|
|
|
|
|
2016-06-21 23:22:16 +02:00
|
|
|
config NHLT_DMIC_2CH_16B
|
|
|
|
bool
|
|
|
|
depends on ACPI_NHLT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for 2 channel 16B DMIC array.
|
|
|
|
|
2016-10-27 02:31:36 +02:00
|
|
|
config NHLT_DMIC_4CH_16B
|
|
|
|
bool
|
|
|
|
depends on ACPI_NHLT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for 4 channel 16B DMIC array.
|
|
|
|
|
2016-06-21 23:22:16 +02:00
|
|
|
config NHLT_MAX98357
|
|
|
|
bool
|
|
|
|
depends on ACPI_NHLT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for headset codec.
|
|
|
|
|
|
|
|
config NHLT_DA7219
|
|
|
|
bool
|
|
|
|
depends on ACPI_NHLT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include DSP firmware settings for headset codec.
|
2017-03-03 13:53:59 +01:00
|
|
|
|
2016-06-27 22:39:34 +02:00
|
|
|
choice
|
|
|
|
prompt "Cache-as-ram implementation"
|
|
|
|
default CAR_CQOS
|
|
|
|
help
|
|
|
|
This option allows you to select how cache-as-ram (CAR) is set up.
|
|
|
|
|
|
|
|
config CAR_NEM
|
|
|
|
bool "Non-evict mode"
|
2017-03-03 13:53:59 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CAR
|
|
|
|
select INTEL_CAR_NEM
|
2016-06-27 22:39:34 +02:00
|
|
|
help
|
|
|
|
Traditionally, CAR is set up by using Non-Evict mode. This method
|
|
|
|
does not allow CAR and cache to co-exist, because cache fills are
|
|
|
|
block in NEM mode.
|
|
|
|
|
|
|
|
config CAR_CQOS
|
|
|
|
bool "Cache Quality of Service"
|
2017-03-03 13:53:59 +01:00
|
|
|
select SOC_INTEL_COMMON_BLOCK_CAR
|
|
|
|
select INTEL_CAR_CQOS
|
2016-06-27 22:39:34 +02:00
|
|
|
help
|
|
|
|
Cache Quality of Service allows more fine-grained control of cache
|
|
|
|
usage. As result, it is possible to set up portion of L2 cache for
|
|
|
|
CAR and use remainder for actual caching.
|
|
|
|
|
2017-03-03 13:53:59 +01:00
|
|
|
config USE_APOLLOLAKE_FSP_CAR
|
|
|
|
bool "Use FSP CAR"
|
|
|
|
select FSP_CAR
|
|
|
|
help
|
2017-03-14 13:56:27 +01:00
|
|
|
Use FSP APIs to initialize & tear down the Cache-As-Ram.
|
2017-03-03 13:53:59 +01:00
|
|
|
|
2016-06-27 22:39:34 +02:00
|
|
|
endchoice
|
2016-06-21 23:22:16 +02:00
|
|
|
|
2017-03-10 09:21:11 +01:00
|
|
|
#
|
|
|
|
# Each bit in QOS mask controls this many bytes. This is calculated as:
|
|
|
|
# (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS
|
|
|
|
#
|
|
|
|
|
|
|
|
config CACHE_QOS_SIZE_PER_BIT
|
|
|
|
hex
|
|
|
|
default 0x20000 # 128 KB
|
|
|
|
|
|
|
|
config L2_CACHE_SIZE
|
|
|
|
hex
|
|
|
|
default 0x100000
|
|
|
|
|
2016-08-11 16:48:52 +02:00
|
|
|
config SPI_FLASH_INCLUDE_ALL_DRIVERS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2016-09-30 22:57:12 +02:00
|
|
|
config SMM_RESERVED_SIZE
|
|
|
|
hex
|
|
|
|
default 0x100000
|
|
|
|
|
2016-11-07 08:43:57 +01:00
|
|
|
config IFD_CHIPSET
|
|
|
|
string
|
|
|
|
default "aplk"
|
|
|
|
|
2017-06-02 15:37:56 +02:00
|
|
|
config CPU_BCLK_MHZ
|
|
|
|
int
|
|
|
|
default 100
|
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
endif
|