From 5690f0e6d817987bb66ab681c01447cc1b55776a Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Mon, 1 Aug 2016 19:42:27 +0200 Subject: src/arch/riscv/id.S: Don't hardcode the strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ide87c45806c5e58775c77e7f780efb4cf81a70c9 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/16014 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/id.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/arch/riscv/id.S b/src/arch/riscv/id.S index 798aa8967c..311b989aed 100644 --- a/src/arch/riscv/id.S +++ b/src/arch/riscv/id.S @@ -18,11 +18,11 @@ .globl __id_start __id_start: ver: - .asciz "1" //COREBOOT_VERSION + .asciz COREBOOT_VERSION vendor: - .asciz "ucb" //CONFIG_MAINBOARD_VENDOR + .asciz CONFIG_MAINBOARD_VENDOR part: - .asciz "1" //CONFIG_MAINBOARD_PART_NUMBER + .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 */ -- cgit v1.2.3