summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-11-20 07:33:21 +0200
committerHung-Te Lin <hungte@chromium.org>2020-12-17 06:25:00 +0000
commit4c0f5769f033b907946d0c307a088f49561bb30b (patch)
tree594efaf036b005ca943d44b4842edd1002c3db64 /src
parentb19d9511f98505498db85d525f22f17aea11e0b1 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/arch/ppc64/Kconfig4
-rw-r--r--src/arch/ppc64/bootblock.S23
-rw-r--r--src/arch/ppc64/id.ld8
-rw-r--r--src/arch/ppc64/prologue.inc4
4 files changed, 0 insertions, 39 deletions
diff --git a/src/arch/ppc64/Kconfig b/src/arch/ppc64/Kconfig
index 546dbc82e0..44dbb1d778 100644
--- a/src/arch/ppc64/Kconfig
+++ b/src/arch/ppc64/Kconfig
@@ -17,7 +17,3 @@ config ARCH_ROMSTAGE_PPC64
config ARCH_RAMSTAGE_PPC64
bool
select ARCH_PPC64
-
-config ID_SECTION_OFFSET
- hex
- default 0x80
diff --git a/src/arch/ppc64/bootblock.S b/src/arch/ppc64/bootblock.S
index 8b66fcdfbd..b443f056d1 100644
--- a/src/arch/ppc64/bootblock.S
+++ b/src/arch/ppc64/bootblock.S
@@ -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:
diff --git a/src/arch/ppc64/id.ld b/src/arch/ppc64/id.ld
deleted file mode 100644
index 74497408b2..0000000000
--- a/src/arch/ppc64/id.ld
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-SECTIONS {
- . = (0xffffffff - CONFIG_ID_SECTION_OFFSET) - (__id_end - __id_start) + 1;
- .id (.): {
- *(.id)
- }
-}
diff --git a/src/arch/ppc64/prologue.inc b/src/arch/ppc64/prologue.inc
deleted file mode 100644
index 21f7d49ac3..0000000000
--- a/src/arch/ppc64/prologue.inc
+++ /dev/null
@@ -1,4 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-.section ".rom.data", "a", @progbits
-.section ".rom.text", "ax", @progbits