summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-11-22 11:26:26 +0100
committerAndes <uboot@andestech.com>2018-11-26 13:57:31 +0800
commitc95cafd0b1ca984e0dbd8e1335c947d715ce0fb2 (patch)
tree692ca27c689ad3e7958e5369924c76e9981b74db /arch/riscv
parent2a23ac610709bc18b2becebb45abc7596b4d1e9c (diff)
downloadu-boot-c95cafd0b1ca984e0dbd8e1335c947d715ce0fb2.tar.gz
Drop CONFIG_INIT_CRITICAL
This is now deprecated and no board is using it. Drop it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/cpu/start.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S
index 88b4aaa1c0..9804a8ac44 100644
--- a/arch/riscv/cpu/start.S
+++ b/arch/riscv/cpu/start.S
@@ -51,14 +51,6 @@ handle_reset:
csrwi mie, 0
/*
- * Do CPU critical regs init only at reboot,
- * not when booting from ram
- */
-#ifdef CONFIG_INIT_CRITICAL
- jal cpu_init_crit /* Do CPU critical regs init */
-#endif
-
-/*
* Set stackpointer in internal/ex RAM to call board_init_f
*/
call_board_init_f:
@@ -285,8 +277,3 @@ trap_entry:
LREG x31, 31*REGBYTES(sp)
addi sp, sp, 32*REGBYTES
mret
-
-#ifdef CONFIG_INIT_CRITICAL
-cpu_init_crit:
- ret
-#endif