The build system was previously determining the flow and linking scripts bootblock code by the order of files added to the bootblock_inc bootblock-y variables.Those files were then concatenated together and built by a myriad of make rules. Now bootblock.S and bootblock.ld is added so that bootblock can be built and linked using the default build rules. CHIPSET_BOOTBLOCK_INCLUDE is introduced in order to allow the chipset code to place include files in the path of the bootblock program -- a replacement for the chipset_bootblock_inc make variable. BUG=chrome-os-partner:44827 BRANCH=None TEST=Built vortex, rambi, and some asus boards. Change-Id: Ida4571cbe6eed65e77ade98b8d9ad056353c53f9 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11495 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
21 lines
584 B
PHP
21 lines
584 B
PHP
#include <build.h>
|
|
|
|
.section ".id", "a", @progbits
|
|
|
|
.globl __id_start
|
|
__id_start:
|
|
ver:
|
|
.asciz COREBOOT_VERSION
|
|
vendor:
|
|
.asciz CONFIG_MAINBOARD_VENDOR
|
|
part:
|
|
.asciz CONFIG_MAINBOARD_PART_NUMBER
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - ver /* Reverse offset to the vendor id */
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - vendor /* Reverse offset to the vendor id */
|
|
.long __id_end + CONFIG_ID_SECTION_OFFSET - part /* Reverse offset to the part number */
|
|
.long CONFIG_ROM_SIZE /* Size of this romimage */
|
|
.globl __id_end
|
|
|
|
__id_end:
|
|
.previous
|