arch/ppc64: Remove .id section in bootblock
The strings in .id are expected to match the build for the purpose of identifying the binary image. There is no identified use for the offsets. The files id.ld and prologue.inc were unused. Change-Id: Ida332671e0ace3f6afd11020474ffda04614bad5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47966 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
b19d9511f9
commit
4c0f5769f0
|
@ -17,7 +17,3 @@ config ARCH_ROMSTAGE_PPC64
|
|||
config ARCH_RAMSTAGE_PPC64
|
||||
bool
|
||||
select ARCH_PPC64
|
||||
|
||||
config ID_SECTION_OFFSET
|
||||
hex
|
||||
default 0x80
|
||||
|
|
|
@ -8,26 +8,3 @@
|
|||
.org 0x100, 0xff
|
||||
_start:
|
||||
b _start
|
||||
.section ".id", "a", %progbits
|
||||
|
||||
.section ".id", "a", @progbits
|
||||
|
||||
.globl __id_start
|
||||
__id_start:
|
||||
ver:
|
||||
.asciz "4" //COREBOOT_VERSION
|
||||
vendor:
|
||||
.asciz "qemu" //CONFIG_MAINBOARD_VENDOR
|
||||
part:
|
||||
.asciz "1" //CONFIG_MAINBOARD_PART_NUMBER
|
||||
/* Reverse offset to the vendor id */
|
||||
.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 part number */
|
||||
.long __id_end + CONFIG_ID_SECTION_OFFSET - part
|
||||
/* of this romimage */
|
||||
.long CONFIG_ROM_SIZE
|
||||
.globl __id_end
|
||||
|
||||
__id_end:
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
SECTIONS {
|
||||
. = (0xffffffff - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start) + 1;
|
||||
.id (.): {
|
||||
*(.id)
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
.section ".rom.data", "a", @progbits
|
||||
.section ".rom.text", "ax", @progbits
|
Loading…
Reference in New Issue