CONFIG_INIT_CRITICAL is deprecated and not used for RISC-V. Remove it. Signed-off-by: Lukas Auer <lukas.a...@aisec.fraunhofer.de> ---
arch/riscv/cpu/start.S | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S index 88b4aaa1c0..f375a9316e 100644 --- a/arch/riscv/cpu/start.S +++ b/arch/riscv/cpu/start.S @@ -50,13 +50,6 @@ handle_reset: csrwi mstatus, 0 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 @@ -286,7 +279,3 @@ trap_entry: addi sp, sp, 32*REGBYTES mret -#ifdef CONFIG_INIT_CRITICAL -cpu_init_crit: - ret -#endif -- 2.17.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot