11bf6d0b7176c2f226268bcd7ff417a9fabdb619
[openwrt.git] / package / uboot-lantiq / files / board / infineon / easy50712 / easy50712_bootstrap.c
1 /*
2  * (C) Copyright 2010 Industrie Dial Face S.p.A.
3  * Luigi 'Comio' Mantellini, luigi.mantellini@idf-hit.com
4  *
5  * (C) Copyright 2007
6  * Vlad Lungu vlad.lungu@windriver.com
7  *
8  * See file CREDITS for list of people who contributed to this
9  * project.
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License as
13  * published by the Free Software Foundation; either version 2 of
14  * the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24  * MA 02111-1307 USA
25  */
26
27 #include <common.h>
28 #include <command.h>
29 #include <asm/mipsregs.h>
30 #include <asm/io.h>
31
32 phys_size_t bootstrap_initdram(int board_type)
33 {
34         /* Sdram is setup by assembler code */
35         /* If memory could be changed, we should return the true value here */
36         return CONFIG_SYS_MAX_RAM;
37 }
38
39 int bootstrap_checkboard(void)
40 {
41         return 0;
42 }
43
44 int bootstrap_misc_init_r(void)
45 {
46         set_io_port_base(0);
47         return 0;
48 }