2 * A lowlevel_init function that sets up the stack to call a C function to
3 * perform further init.
6 * Texas Instruments, <www.ti.com>
9 * Aneesh V <aneesh@ti.com>
11 * SPDX-License-Identifier: GPL-2.0+
14 #include <asm-offsets.h>
16 #include <linux/linkage.h>
20 * Setup a temporary stack
22 ldr sp, =CONFIG_SYS_INIT_SP_ADDR
23 bic sp, sp, #7 /* 8-byte alignment for ABI compliance */
24 #ifdef CONFIG_SPL_BUILD
32 * Save the old lr(passed in ip) and the current lr to stack
37 * go setup pll, mux, memory
41 ENDPROC(lowlevel_init)