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>
13 #include <asm/hardware.h>
16 *************************************************************************
18 * Startup Code (reset vector)
20 * do important init only if we don't start from RAM!
21 * relocate armboot to ram
23 * jump to second stage
25 *************************************************************************
32 * set the cpu to SVC32 mode
40 * we do sys-critical inits only at reboot,
41 * not when booting from ram!
43 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
49 /*------------------------------------------------------------------------------*/
51 .globl c_runtime_cpu_setup
57 *************************************************************************
59 * CPU_init_critical registers
61 * setup important registers
64 *************************************************************************
67 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
72 * before relocating, we have to setup RAM timing
73 * because memory timing is board-dependent, you will
74 * find a lowlevel_init.S in your board directory.
80 #endif /* CONFIG_SKIP_LOWLEVEL_INIT */