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
47 config DCACHE_RAM_BASE
50 config DCACHE_RAM_SIZE
53 config DCACHE_RAM_MRC_VAR_SIZE
56 config CPU_SPECIFIC_OPTIONS
65 config MMCONF_BASE_ADDRESS
75 config APL_SPI_FLASH_BOOT
76 bool "Support booting with SPI-flash driver instead memory-mapped SPI"
77 select TPL_SPI_FLASH_SUPPORT
78 select TPL_SPI_SUPPORT
80 This enables SPI and SPI flash in TPL. Without the this only
81 available boot method is to use memory-mapped SPI. Since this is
82 actually fast and produces a TPL which is 7KB smaller, memory-mapped
85 config APL_BOOT_FROM_FAST_SPI_FLASH
86 bool "Boot using SPI flash driver"
87 select APL_SPI_FLASH_BOOT
89 This option is separate from APL_SPI_FLASH_BOOT since it is useful to
90 be able to compare booting speed with the same build. Enable this to
91 use the SPI-flash driver to load SPL, U-Boot and FSP-M. For technical
92 reasons FSP-S is currently always loaded from memory-mapped SPI. See
93 Apollo Lake's arch_fsp_init_r() for details about that.