summaryrefslogtreecommitdiff
path: root/src/cpu/intel/fit/fit.S
blob: aa715eb467b9e1f1180edeaf8c9796a309136367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * This file is part of the coreboot project.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

.section ".fit_pointer", "a", @progbits
	.code32
.global fit_pointer
fit_pointer:
.long fit_table
.long 0
.previous

.section ".rom.data", "a", @progbits
.align 16
.global fit_table
.global fit_table_end
fit_table:
/* Address for type 0 is '_FIT_   ' */
.long 0x5449465f
.long 0x2020205f
/*
 * There is 1 entry in the table. Other tools will have to update the size
 * and checksum when adding entries.
 */
.long 0x00000001
/* Version */
.word 0x0100
/* Type 0 with checksum valid. */
.byte 0x80
/* Checksum byte - must add to zero. */
.byte 0x7d
.fill CONFIG_CPU_INTEL_NUM_FIT_ENTRIES*16
fit_table_end:
.previous