1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
3 * Copyright (c) 2018 Microsemi Corporation
7 #include <asm/regdef.h>
10 .extern vcoreiii_tlb_init
11 .extern vcoreiii_ddr_init
12 #ifdef CONFIG_SOC_LUTON
18 * As we have no stack yet, we can assume the restricted
19 * luxury of the sX-registers without saving them
22 /* Modify ra/s0 such we return to physical NOR location */
24 li t1, CONFIG_SYS_TEXT_BASE
31 #ifdef CONFIG_SOC_LUTON
36 /* Initialize DDR controller to enable stack/gd/heap */
40 bnez v0, 0b /* Retry on error */