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
18 imply ENABLE_MRC_CACHE
27 imply TPL_X86_16BIT_INIT
37 imply PINCTRL_INTEL_APL
51 config DCACHE_RAM_BASE
54 config DCACHE_RAM_SIZE
57 config DCACHE_RAM_MRC_VAR_SIZE
60 config CPU_SPECIFIC_OPTIONS
69 config MMCONF_BASE_ADDRESS
79 config APL_SPI_FLASH_BOOT
80 bool "Support booting with SPI-flash driver instead memory-mapped SPI"
81 select TPL_SPI_FLASH_SUPPORT
82 select TPL_SPI_SUPPORT
84 This enables SPI and SPI flash in TPL. Without the this only
85 available boot method is to use memory-mapped SPI. Since this is
86 actually fast and produces a TPL which is 7KB smaller, memory-mapped
89 config APL_BOOT_FROM_FAST_SPI_FLASH
90 bool "Boot using SPI flash driver"
91 select APL_SPI_FLASH_BOOT
93 This option is separate from APL_SPI_FLASH_BOOT since it is useful to
94 be able to compare booting speed with the same build. Enable this to
95 use the SPI-flash driver to load SPL, U-Boot and FSP-M. For technical
96 reasons FSP-S is currently always loaded from memory-mapped SPI. See
97 Apollo Lake's arch_fsp_init_r() for details about that.