blob: b07908692a920740f5e76db508749a42fb84630d [file] [log] [blame]
Macpaul Lin00f892f2011-10-11 22:33:15 +00001/*
2 * (C) Copyright 2002
3 * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 * Marius Groeger <mgroeger@sysgo.de>
5 *
6 * Copyright (C) 2011 Andes Technology Corporation
7 * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
8 * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
9 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
Macpaul Lin00f892f2011-10-11 22:33:15 +000011 */
12
13#ifndef _U_BOOT_NDS32_H_
14#define _U_BOOT_NDS32_H_ 1
15
16/* for the following variables, see start.S */
Macpaul Lin00f892f2011-10-11 22:33:15 +000017extern ulong IRQ_STACK_START; /* top of IRQ stack */
18extern ulong FIQ_STACK_START; /* top of FIQ stack */
19
20/* cpu/.../cpu.c */
21int cleanup_before_linux(void);
22
23/* board/.../... */
24int board_init(void);
25int dram_init(void);
26
27/* cpu/.../interrupt.c */
28void reset_timer_masked(void);
29
30#endif /* _U_BOOT_NDS32_H_ */