1 /* SPDX-License-Identifier: BSD-3-Clause */
8 * Set the CPU to System mode with IRQ and FIQ disabled. Prefetch/Data
9 * aborts may happen early and crash before the abort handlers are
10 * installed, but at least the problem will show up near the code that
15 ldr sp, maincpu_stack_pointer
17 ldr r0, maincpu_entry_point
19 ENDPROC(maincpu_setup)
23 .global maincpu_stack_pointer
24 maincpu_stack_pointer:
27 .global maincpu_entry_point