arch/x86/bootblock: Do not include non-code files in bootblock.S

Since we now have more freedom in the bootblock linking step it no
longer makes sense to use a monolithic bootblock.S. Code segments must
still be included as the order in bootblock.S determines code flow.
However, non-code flow related assembly stubs don't need to be directly
included in bootblock.S

Change-Id: I08e86e92d82bd2138194ed42652f268b0764aa54
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/11792
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Alexandru Gagniuc
2015-10-04 17:47:36 -07:00
parent c46a39237a
commit ee2740b7f6
6 changed files with 3 additions and 5 deletions

30
src/cpu/intel/fit/fit.S Normal file
View File

@@ -0,0 +1,30 @@
.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