1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <stdint.h> 4 5 struct fit_entry { 6 uint8_t address[sizeof(uint64_t)]; 7 uint32_t size_reserved; 8 uint16_t version; 9 uint8_t type_checksum_valid; 10 uint8_t checksum; 11 } __packed; 12 13 __attribute((used)) static struct fit_entry fit_table[CONFIG_CPU_INTEL_NUM_FIT_ENTRIES + 1] = { 14 [0] = { 15 .address = {'_', 'F', 'I', 'T', '_', ' ', ' ', ' '}, 16 .size_reserved = 1, 17 .version = 0x100, 18 .type_checksum_valid = 0x80, 19 .checksum = 0x7d, 20 } 21 }; 22