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 #if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && \
42 !defined(CONFIG_SKIP_LOWLEVEL_INIT_ONLY)
48 /*------------------------------------------------------------------------------*/
50 .globl c_runtime_cpu_setup
56 *************************************************************************
58 * CPU_init_critical registers
60 * setup important registers
63 *************************************************************************
66 #if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && \
67 !defined(CONFIG_SKIP_LOWLEVEL_INIT_ONLY)
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 */