1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2019 Google LLC
6 config INTEL_APOLLOLAKE
13 select TPL_X86_TSC_TIMER_NATIVE
14 select SPL_PCH_SUPPORT
15 select TPL_PCH_SUPPORT
16 select PCIEX_LENGTH_256MB
20 select INTEL_GMA_SWSMISCI
21 select ACPI_GNVS_EXTERNAL
22 imply ENABLE_MRC_CACHE
31 imply TPL_X86_16BIT_INIT
41 imply PINCTRL_INTEL_APL
56 config DCACHE_RAM_BASE
59 config DCACHE_RAM_SIZE
62 config DCACHE_RAM_MRC_VAR_SIZE
65 config CPU_SPECIFIC_OPTIONS
74 config MMCONF_BASE_ADDRESS
84 config APL_SPI_FLASH_BOOT
85 bool "Support booting with SPI-flash driver instead memory-mapped SPI"
86 select TPL_SPI_FLASH_SUPPORT
87 select TPL_SPI_SUPPORT
89 select TPL_DM_SPI_FLASH
91 This enables SPI and SPI flash in TPL. Without the this only
92 available boot method is to use memory-mapped SPI. Since this is
93 actually fast and produces a TPL which is 7KB smaller, memory-mapped
96 config APL_BOOT_FROM_FAST_SPI_FLASH
97 bool "Boot using SPI flash driver"
98 select APL_SPI_FLASH_BOOT
100 This option is separate from APL_SPI_FLASH_BOOT since it is useful to
101 be able to compare booting speed with the same build. Enable this to
102 use the SPI-flash driver to load SPL, U-Boot and FSP-M. For technical
103 reasons FSP-S is currently always loaded from memory-mapped SPI. See
104 Apollo Lake's arch_fsp_init_r() for details about that.