1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <stdint.h> 4 #include <soc/iomap.h> 5 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. 12 */ 13 __attribute__((used, __section__(".fit_pointer"))) const uint64_t fit_ptr = SHARED_SRAM_BASE; 14