]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: remove unused labels in start.S
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>
Thu, 22 Nov 2018 10:26:27 +0000 (11:26 +0100)
committerAndes <uboot@andestech.com>
Mon, 26 Nov 2018 05:57:32 +0000 (13:57 +0800)
The labels nmi_vector, trap_vector and handle_reset in start.S are not
used for RISC-V. Remove them.

Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/cpu/start.S

index 9804a8ac44107b4993fbe2c78d6590f28041d8a8..c313477ae072d82251025c87a581a9745b1591a1 100644 (file)
 .section .text
 .globl _start
 _start:
-       j       handle_reset
-
-nmi_vector:
-       j       nmi_vector
-
-trap_vector:
-       j       trap_entry
-
-handle_reset:
        li      t0, CONFIG_SYS_SDRAM_BASE
        SREG    a2, 0(t0)
        la      t0, trap_entry