Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Macpaul Lin | 00f892f | 2011-10-11 22:33:15 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2002 |
| 4 | * Sysgo Real-Time Solutions, GmbH <www.elinos.com> |
| 5 | * Marius Groeger <mgroeger@sysgo.de> |
| 6 | * |
| 7 | * Copyright (C) 2011 Andes Technology Corporation |
| 8 | * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com> |
| 9 | * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com> |
Macpaul Lin | 00f892f | 2011-10-11 22:33:15 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef _U_BOOT_NDS32_H_ |
| 13 | #define _U_BOOT_NDS32_H_ 1 |
| 14 | |
Simon Glass | 4d72caa | 2020-05-10 11:40:01 -0600 | [diff] [blame] | 15 | #include <linux/types.h> |
| 16 | |
Macpaul Lin | 00f892f | 2011-10-11 22:33:15 +0000 | [diff] [blame] | 17 | /* for the following variables, see start.S */ |
Macpaul Lin | 00f892f | 2011-10-11 22:33:15 +0000 | [diff] [blame] | 18 | extern ulong IRQ_STACK_START; /* top of IRQ stack */ |
| 19 | extern ulong FIQ_STACK_START; /* top of FIQ stack */ |
| 20 | |
| 21 | /* cpu/.../cpu.c */ |
| 22 | int cleanup_before_linux(void); |
| 23 | |
| 24 | /* board/.../... */ |
| 25 | int board_init(void); |
Macpaul Lin | 00f892f | 2011-10-11 22:33:15 +0000 | [diff] [blame] | 26 | |
| 27 | /* cpu/.../interrupt.c */ |
| 28 | void reset_timer_masked(void); |
| 29 | |
| 30 | #endif /* _U_BOOT_NDS32_H_ */ |