Files
system76-coreboot/src/cpu/intel/fit/fit.S
Angel Pons f23ae0b0f6 src/cpu: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now.

Change-Id: I2adf28d805fe248d55a9514f74c38280c0ad9a78
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40049
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
2020-04-04 14:59:17 +00:00

34 lines
708 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */
.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