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

#include <stdint.h>

struct fit_entry {
	uint8_t address[sizeof(uint64_t)];
	uint32_t size_reserved;
	uint16_t version;
	uint8_t  type_checksum_valid;
	uint8_t  checksum;
} __packed;

__attribute((used)) static struct fit_entry fit_table[CONFIG_CPU_INTEL_NUM_FIT_ENTRIES + 1] = {
	[0] = {
		.address = {'_', 'F', 'I', 'T', '_', ' ', ' ', ' '},
		.size_reserved = 1,
		.version = 0x100,
		.type_checksum_valid = 0x80,
		.checksum = 0x7d,
	}
};