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
|
|
|
|
select ARCH_BOOTBLOCK_X86_32
|
|
|
|
select ARCH_RAMSTAGE_X86_32
|
|
|
|
select ARCH_ROMSTAGE_X86_32
|
|
|
|
select ARCH_VERSTAGE_X86_32
|
|
|
|
# CPU specific options
|
|
|
|
select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
|
|
|
|
select IOAPIC
|
|
|
|
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
|
2015-10-06 19:33:49 +02:00
|
|
|
select COLLECT_TIMESTAMPS
|
2016-05-11 17:35:49 +02:00
|
|
|
select COMMON_FADT
|
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
|
2015-10-06 19:33:49 +02:00
|
|
|
select MMCONF_SUPPORT
|
|
|
|
select MMCONF_SUPPORT_DEFAULT
|
2016-05-05 17:38:03 +02:00
|
|
|
select NO_FIXED_XIP_ROM_SIZE
|
2016-05-06 18:50:35 +02:00
|
|
|
select NO_STAGE_CACHE
|
2016-05-05 08:25:16 +02:00
|
|
|
select NO_XIP_EARLY_STAGES
|
2015-10-06 19:33:49 +02:00
|
|
|
select PARALLEL_MP
|
|
|
|
select PCIEXP_ASPM
|
|
|
|
select PCIEXP_COMMON_CLOCK
|
|
|
|
select PCIEXP_CLK_PM
|
|
|
|
select PCIEXP_L1_SUB_STATE
|
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-05-13 09:47:14 +02:00
|
|
|
select SMM_TSEG
|
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-06-27 19:57:13 +02:00
|
|
|
select SOC_INTEL_COMMON_LPSS_I2C
|
|
|
|
select SOC_INTEL_COMMON_SMI
|
2016-02-25 00:08:23 +01:00
|
|
|
select SPI_FLASH
|
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
|
|
|
|
select ADD_VBT_DATA_FILE
|
2016-03-14 22:19:22 +01: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
|
|
|
|
2015-10-07 02:16:41 +02:00
|
|
|
config MMCONF_BASE_ADDRESS
|
|
|
|
hex "PCI MMIO Base Address"
|
|
|
|
default 0xe0000000
|
|
|
|
|
|
|
|
config IOSF_BASE_ADDRESS
|
|
|
|
hex "MMIO Base Address of sideband bus"
|
|
|
|
default 0xd0000000
|
|
|
|
|
|
|
|
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-04-23 23:28:21 +02:00
|
|
|
default 0x100000
|
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
|
|
|
|
|
2016-06-27 19:57:13 +02:00
|
|
|
config SOC_INTEL_COMMON_LPSS_I2C_CLOCK_MHZ
|
|
|
|
depends on SOC_INTEL_COMMON_LPSS_I2C
|
|
|
|
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 BOOTBLOCK_CONSOLE
|
|
|
|
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-04-23 23:28:21 +02:00
|
|
|
default 0xfef3e000
|
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
|
|
|
|
default 0xfef60000
|
|
|
|
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-05-17 09:03:27 +02:00
|
|
|
config FSP_M_ADDR
|
|
|
|
hex
|
|
|
|
default 0xfef60000
|
|
|
|
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-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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2015-10-06 19:33:49 +02:00
|
|
|
endif
|