summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/bootblock/cpu.c
blob: bbce44cd60c17a0adab961482b01240a575b0dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-only */

#include <intelblocks/fast_spi.h>
#include <soc/bootblock.h>

void bootblock_cpu_init(void)
{
	/*
	 * Elkhartlake platform doesn't support booting from any other media
	 * (like eMMC on APL/GLK platform) than only booting from SPI device
	 * and on IA platform SPI is memory mapped hence enabling temporarily
	 * caching on memory-mapped spi boot media.
	 */
	fast_spi_cache_bios_region();
}