| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
/* |
| 4 |
* Early initialization code for ARM architecture. |
| 5 |
* |
| 6 |
* This file is based off of the OMAP3530/ARM Cortex start.S file from Das |
| 7 |
* U-Boot, which itself got the file from armboot. |
| 8 |
*/ |
| 9 |
|
| 10 |
#include <arch/asm.h> |
| 11 |
|
| 12 |
#include "stack.S" |
| 13 |
|
| 14 |
ENTRY(_start) |
| 15 |
/* |
| 16 |
* Set the CPU to System mode with IRQ and FIQ disabled. Prefetch/Data |
| 17 |
* aborts may happen early and crash before the abort handlers are |
| 18 |
* installed, but at least the problem will show up near the code that |
| 19 |
* causes it. |
| 20 |
*/ |
| 21 |
msr cpsr_cxf, #0xdf |
| 22 |
|
| 23 |
stack_init stack_top=_estack stack_bottom=_stack seed=1 func=tegra210_main |
| 24 |
ENDPROC(_start) |