blob: f086f34729f60dda67d1eec59d32031f15b34aab [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Macpaul Lin00f892f2011-10-11 22:33:15 +00002/*
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 Lin00f892f2011-10-11 22:33:15 +000010 */
11
12#ifndef _U_BOOT_NDS32_H_
13#define _U_BOOT_NDS32_H_ 1
14
Simon Glass4d72caa2020-05-10 11:40:01 -060015#include <linux/types.h>
16
Macpaul Lin00f892f2011-10-11 22:33:15 +000017/* for the following variables, see start.S */
Macpaul Lin00f892f2011-10-11 22:33:15 +000018extern ulong IRQ_STACK_START; /* top of IRQ stack */
19extern ulong FIQ_STACK_START; /* top of FIQ stack */
20
21/* cpu/.../cpu.c */
22int cleanup_before_linux(void);
23
24/* board/.../... */
25int board_init(void);
Macpaul Lin00f892f2011-10-11 22:33:15 +000026
27/* cpu/.../interrupt.c */
28void reset_timer_masked(void);
29
30#endif /* _U_BOOT_NDS32_H_ */