1*00f892fcSMacpaul Lin /* 2*00f892fcSMacpaul Lin * (C) Copyright 2002 3*00f892fcSMacpaul Lin * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 4*00f892fcSMacpaul Lin * Marius Groeger <mgroeger@sysgo.de> 5*00f892fcSMacpaul Lin * 6*00f892fcSMacpaul Lin * Copyright (C) 2011 Andes Technology Corporation 7*00f892fcSMacpaul Lin * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com> 8*00f892fcSMacpaul Lin * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com> 9*00f892fcSMacpaul Lin * 10*00f892fcSMacpaul Lin * See file CREDITS for list of people who contributed to this 11*00f892fcSMacpaul Lin * project. 12*00f892fcSMacpaul Lin * 13*00f892fcSMacpaul Lin * This program is free software; you can redistribute it and/or 14*00f892fcSMacpaul Lin * modify it under the terms of the GNU General Public License as 15*00f892fcSMacpaul Lin * published by the Free Software Foundation; either version 2 of 16*00f892fcSMacpaul Lin * the License, or (at your option) any later version. 17*00f892fcSMacpaul Lin * 18*00f892fcSMacpaul Lin * This program is distributed in the hope that it will be useful, 19*00f892fcSMacpaul Lin * but WITHOUT ANY WARRANTY; without even the implied warranty of 20*00f892fcSMacpaul Lin * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21*00f892fcSMacpaul Lin * GNU General Public License for more details. 22*00f892fcSMacpaul Lin * 23*00f892fcSMacpaul Lin * You should have received a copy of the GNU General Public License 24*00f892fcSMacpaul Lin * along with this program; if not, write to the Free Software 25*00f892fcSMacpaul Lin * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 26*00f892fcSMacpaul Lin * MA 02111-1307 USA 27*00f892fcSMacpaul Lin */ 28*00f892fcSMacpaul Lin 29*00f892fcSMacpaul Lin #ifndef _U_BOOT_NDS32_H_ 30*00f892fcSMacpaul Lin #define _U_BOOT_NDS32_H_ 1 31*00f892fcSMacpaul Lin 32*00f892fcSMacpaul Lin /* for the following variables, see start.S */ 33*00f892fcSMacpaul Lin extern ulong __bss_start; /* BSS start relative to _start */ 34*00f892fcSMacpaul Lin extern ulong __bss_end__; /* BSS end relative to _start */ 35*00f892fcSMacpaul Lin extern ulong _end; /* end of image relative to _start */ 36*00f892fcSMacpaul Lin extern ulong _start; /* start of image relative to _start */ 37*00f892fcSMacpaul Lin extern ulong _TEXT_BASE; /* code start */ 38*00f892fcSMacpaul Lin extern ulong IRQ_STACK_START; /* top of IRQ stack */ 39*00f892fcSMacpaul Lin extern ulong FIQ_STACK_START; /* top of FIQ stack */ 40*00f892fcSMacpaul Lin 41*00f892fcSMacpaul Lin /* cpu/.../cpu.c */ 42*00f892fcSMacpaul Lin int cleanup_before_linux(void); 43*00f892fcSMacpaul Lin 44*00f892fcSMacpaul Lin /* board/.../... */ 45*00f892fcSMacpaul Lin int board_init(void); 46*00f892fcSMacpaul Lin int dram_init(void); 47*00f892fcSMacpaul Lin 48*00f892fcSMacpaul Lin /* cpu/.../interrupt.c */ 49*00f892fcSMacpaul Lin void reset_timer_masked(void); 50*00f892fcSMacpaul Lin 51*00f892fcSMacpaul Lin #endif /* _U_BOOT_NDS32_H_ */ 52