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>
12 #include <asm/hardware.h>
15 *************************************************************************
17 * Startup Code (reset vector)
19 * do important init only if we don't start from RAM!
20 * relocate armboot to ram
22 * jump to second stage
24 *************************************************************************
31 * set the cpu to SVC32 mode
39 * we do sys-critical inits only at reboot,
40 * not when booting from ram!
42 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
48 /*------------------------------------------------------------------------------*/
50 .globl c_runtime_cpu_setup
56 *************************************************************************
58 * CPU_init_critical registers
60 * setup important registers
63 *************************************************************************
66 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
71 * before relocating, we have to setup RAM timing
72 * because memory timing is board-dependent, you will
73 * find a lowlevel_init.S in your board directory.
79 #endif /* CONFIG_SKIP_LOWLEVEL_INIT */