xref: /OK3568_Linux_fs/u-boot/arch/nds32/include/asm/u-boot-nds32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * (C) Copyright 2002
3*4882a593Smuzhiyun  * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4*4882a593Smuzhiyun  * Marius Groeger <mgroeger@sysgo.de>
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * Copyright (C) 2011 Andes Technology Corporation
7*4882a593Smuzhiyun  * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
8*4882a593Smuzhiyun  * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
11*4882a593Smuzhiyun  */
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #ifndef _U_BOOT_NDS32_H_
14*4882a593Smuzhiyun #define _U_BOOT_NDS32_H_	1
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun /* for the following variables, see start.S */
17*4882a593Smuzhiyun extern ulong IRQ_STACK_START;	/* top of IRQ stack */
18*4882a593Smuzhiyun extern ulong FIQ_STACK_START;	/* top of FIQ stack */
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun /* cpu/.../cpu.c */
21*4882a593Smuzhiyun int	cleanup_before_linux(void);
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun /* board/.../... */
24*4882a593Smuzhiyun int	board_init(void);
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun /* cpu/.../interrupt.c */
27*4882a593Smuzhiyun void	reset_timer_masked(void);
28*4882a593Smuzhiyun 
29*4882a593Smuzhiyun #endif	/* _U_BOOT_NDS32_H_ */
30