2 * armboot - Startup Code for ARM720 CPU-core
4 * Copyright (c) 2001 Marius Gröger <mag@sysgo.de>
5 * Copyright (c) 2002 Alex Züpke <azu@sysgo.de>
7 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm-offsets.h>
14 *************************************************************************
16 * Startup Code (reset vector)
18 * do important init only if we don't start from RAM!
19 * relocate armboot to ram
21 * jump to second stage
23 *************************************************************************
30 * set the cpu to SVC32 mode
38 * we do sys-critical inits only at reboot,
39 * not when booting from ram!
41 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
47 /*------------------------------------------------------------------------------*/
49 .globl c_runtime_cpu_setup
55 *************************************************************************
57 * CPU_init_critical registers
59 * setup important registers
62 *************************************************************************
65 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
70 * before relocating, we have to setup RAM timing
71 * because memory timing is board-dependent, you will
72 * find a lowlevel_init.S in your board directory.
78 #endif /* CONFIG_SKIP_LOWLEVEL_INIT */