mb/system76/cml-u/dt: Make use of chipset devicetree
[coreboot.git] / src / soc / intel / apollolake / bootblock / fit.c
blob28207be248775199b68c5bcec32744f96cb696df
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <stdint.h>
4 #include <soc/iomap.h>
6 /*
7 * At runtime TXE creates the FIT table in the shared SRAM and patches the bootblock
8 * at the fixed address 4G - 64 byte with a pointer to this FIT table. In order to be able
9 * to pre-compute the PCR value for the bootblock this FIT pointer needs to be added to the
10 * image as well. Since the FIT location is fixed in TXE, this can be done at build time.
11 * TXE places the table right at the start of the shared SRAM.
13 __attribute__((used, __section__(".fit_pointer"))) const uint64_t fit_ptr = SHARED_SRAM_BASE;