1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright 2019 Google LLC
6 config INTEL_APOLLOLAKE
14 select TPL_X86_TSC_TIMER_NATIVE
15 select SPL_PCH_SUPPORT
16 select TPL_PCH_SUPPORT
17 select PCIEX_LENGTH_256MB
21 select INTEL_GMA_SWSMISCI
22 select ACPI_GNVS_EXTERNAL
23 select TPL_OF_PLATDATA_PARENT
24 select TPL_OF_PLATDATA_INST
26 imply ENABLE_MRC_CACHE
35 imply TPL_X86_16BIT_INIT
45 imply PINCTRL_INTEL_APL
60 config DCACHE_RAM_BASE
63 config DCACHE_RAM_SIZE
66 config DCACHE_RAM_MRC_VAR_SIZE
69 config CPU_SPECIFIC_OPTIONS
78 config MMCONF_BASE_ADDRESS
88 config APL_SPI_FLASH_BOOT
89 bool "Support booting with SPI-flash driver instead memory-mapped SPI"
90 select TPL_SPI_FLASH_SUPPORT
91 select TPL_SPI_SUPPORT
93 select TPL_DM_SPI_FLASH
95 This enables SPI and SPI flash in TPL. Without the this only
96 available boot method is to use memory-mapped SPI. Since this is
97 actually fast and produces a TPL which is 7KB smaller, memory-mapped
100 config APL_BOOT_FROM_FAST_SPI_FLASH
101 bool "Boot using SPI flash driver"
102 select APL_SPI_FLASH_BOOT
104 This option is separate from APL_SPI_FLASH_BOOT since it is useful to
105 be able to compare booting speed with the same build. Enable this to
106 use the SPI-flash driver to load SPL, U-Boot and FSP-M. For technical
107 reasons FSP-S is currently always loaded from memory-mapped SPI. See
108 Apollo Lake's arch_fsp_init_r() for details about that.