summaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake/bootblock/cpu.c
blob: 4225358de55404c9c9f94643df725251e6fd7dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */

/*
 * This file is created based on Intel Alder Lake Processor PCH Datasheet
 * Document number: 621483
 * Chapter number: 7
 */

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

void bootblock_cpu_init(void)
{
	/*
	 * Alderlake platform doesn't support booting from any other media
	 * than SPI flash and on IA platform SPI is memory mapped hence
	 * enabling temporary caching of memory-mapped spi boot media.
	 */
	fast_spi_cache_bios_region();
}