| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
/* |
| 3 |
* Early initialization code for aarch64 (a.k.a. armv8) |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <arch/asm.h> |
| 7 |
|
| 8 |
/* NOTE: When making changes to general ARM64 initialization, keep in mind that |
| 9 |
* there are other CPU entry points, using BOOTBLOCK_CUSTOM or entering the CPU |
| 10 |
* in a later stage (like Tegra). Changes should generally be put into |
| 11 |
* arm64_init_cpu so they can be shared between those instances. */ |
| 12 |
|
| 13 |
ENTRY(_start) |
| 14 |
/* Initialize PSTATE, SCTLR and caches to clean state, set up stack. */ |
| 15 |
bl arm64_init_cpu |
| 16 |
|
| 17 |
bl main |
| 18 |
ENDPROC(_start) |