aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/cpu
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2018-11-22 11:26:27 +0100
committerAndes <uboot@andestech.com>2018-11-26 13:57:32 +0800
commit8bfa231cc6e1df1848273ed423a105890fd8b902 (patch)
tree8a34f28bfd906e021dbb529a45e7cbc1eb053e6d /arch/riscv/cpu
parentc95cafd0b1ca984e0dbd8e1335c947d715ce0fb2 (diff)
downloadu-boot-8bfa231cc6e1df1848273ed423a105890fd8b902.zip
u-boot-8bfa231cc6e1df1848273ed423a105890fd8b902.tar.gz
u-boot-8bfa231cc6e1df1848273ed423a105890fd8b902.tar.bz2
riscv: remove unused labels in start.S
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>
Diffstat (limited to 'arch/riscv/cpu')
-rw-r--r--arch/riscv/cpu/start.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S
index 9804a8a..c313477 100644
--- a/arch/riscv/cpu/start.S
+++ b/arch/riscv/cpu/start.S
@@ -34,15 +34,6 @@
.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