1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Early initialization code for sbsa-ref machine
11 /* TF-A arg which contains a pointer to fdt */
16 /* bl arm64_init_cpu */
18 /* ==== stack init from arm64_init_cpu ==== */
20 msr SPSel, #0 /* use SP_EL0 */
22 ldr x2, =0xdeadbeefdeadbeef
34 /* Get code positions. */
38 /* Calculate bootblock size. */
42 /* Call memcpy in arch/arm64/memcpy.S */
46 /* Calculate relocation offset between bootblock in flash and in DRAM. */
51 /* Jump to main() in DRAM. */