f26b2e5c91
Change-Id: I053a2a8cff3fda1a1074f74e4d4c174a0cb24d86 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50429 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
24 lines
648 B
ArmAsm
24 lines
648 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <build.h>
|
|
|
|
.section ".id", "a", @progbits
|
|
|
|
ver:
|
|
.asciz COREBOOT_VERSION
|
|
vendor:
|
|
.asciz CONFIG_MAINBOARD_VENDOR
|
|
part:
|
|
.asciz CONFIG_MAINBOARD_PART_NUMBER
|
|
|
|
#if ENV_X86_64
|
|
.long 0xffffffff - ver + 1 /* Reverse offset to the version */
|
|
.long 0xffffffff - vendor + 1 /* Reverse offset to the vendor id */
|
|
.long 0xffffffff - part + 1 /* Reverse offset to the part number */
|
|
#else
|
|
.long - ver /* Reverse offset to the version */
|
|
.long - vendor /* Reverse offset to the vendor id */
|
|
.long - part /* Reverse offset to the part number */
|
|
#endif
|
|
|
|
.long CONFIG_ROM_SIZE /* Size of this romimage */
|