]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/u-boot-arm.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / arm / include / asm / u-boot-arm.h
CommitLineData
c609719b
WD
1/*
2 * (C) Copyright 2002
3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
5 *
6 * (C) Copyright 2002
7 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
8 * Alex Zuepke <azu@sysgo.de>
9 *
1a459660 10 * SPDX-License-Identifier: GPL-2.0+
c609719b
WD
11 */
12
13#ifndef _U_BOOT_ARM_H_
14#define _U_BOOT_ARM_H_ 1
15
16/* for the following variables, see start.S */
c609719b
WD
17extern ulong IRQ_STACK_START; /* top of IRQ stack */
18extern ulong FIQ_STACK_START; /* top of FIQ stack */
92d5ecba
AA
19extern ulong _datarel_start_ofs;
20extern ulong _datarelrolocal_start_ofs;
21extern ulong _datarellocal_start_ofs;
22extern ulong _datarelro_start_ofs;
f1d2b313 23extern ulong IRQ_STACK_START_IN; /* 8 bytes in IRQ stack */
c609719b
WD
24
25/* cpu/.../cpu.c */
26int cpu_init(void);
27int cleanup_before_linux(void);
28
80433c9a
SG
29/* Set up ARMv7 MMU, caches and TLBs */
30void cpu_init_cp15(void);
31
dc39ae95
JCPV
32/* cpu/.../arch/cpu.c */
33int arch_cpu_init(void);
a24d96e4 34int arch_misc_init(void);
d519b4bc 35int arch_early_init_r(void);
dc39ae95 36
c609719b
WD
37/* board/.../... */
38int board_init(void);
39int dram_init (void);
f1d2b313 40void dram_init_banksize (void);
c609719b 41
c609719b 42/* cpu/.../interrupt.c */
c358d9c3 43int arch_interrupt_init (void);
c609719b
WD
44void reset_timer_masked (void);
45ulong get_timer_masked (void);
46void udelay_masked (unsigned long usec);
47
48#endif /* _U_BOOT_ARM_H_ */