2 * Copyright (C) 2012 Altera Corporation <www.altera.com>
4 * SPDX-License-Identifier: GPL-2.0+
10 /* Save the parameter pass in by previous boot loader */
11 .global save_boot_params
13 /* no parameter to save */
17 /* Set up the platform, once the cpu has been initialized */
22 #ifdef CONFIG_SPL_BUILD
24 * SPL : configure the remap (L3 NIC-301 GPV)
25 * so the on-chip RAM at lower memory instead ROM.
27 ldr r0, =SOCFPGA_L3REGS_ADDRESS
32 * U-Boot : configure the remap (L3 NIC-301 GPV)
33 * so the SDRAM at lower memory instead on-chip RAM.
35 ldr r0, =SOCFPGA_L3REGS_ADDRESS
39 /* Private components security */
42 * U-Boot : configure private timer, global timer and cpu
43 * component access as non secure for kernel stage (as required
52 #endif /* #ifdef CONFIG_SPL_BUILD */