diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-08-01 19:42:27 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-08-04 17:17:38 +0200 |
commit | 5690f0e6d817987bb66ab681c01447cc1b55776a (patch) | |
tree | d1df06f705c2e223c3aff6ee04a62ba9e6d54543 /src | |
parent | 60b4618a841a2aecd5a9a37bd451f1e6af7e6b1a (diff) |
src/arch/riscv/id.S: Don't hardcode the strings
Change-Id: Ide87c45806c5e58775c77e7f780efb4cf81a70c9
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/16014
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/riscv/id.S | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |