xref: /openbmc/u-boot/include/configs/mt_ventoux.h (revision 1e52fea3)
1 /*
2  * Copyright (C) 2011
3  * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
4  *
5  * Copyright (C) 2009 TechNexion Ltd.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 
22 #ifndef __CONFIG_H
23 #define __CONFIG_H
24 
25 #include "tam3517-common.h"
26 
27 #define MACH_TYPE_AM3517_MT_VENTOUX	3832
28 #define CONFIG_MACH_TYPE	MACH_TYPE_AM3517_MT_VENTOUX
29 
30 #define CONFIG_BOOTDELAY	10
31 #define CONFIG_BOOTFILE		"uImage"
32 #define CONFIG_AUTO_COMPLETE
33 
34 #define CONFIG_HOSTNAME mt_ventoux
35 
36 /*
37  * Miscellaneous configurable options
38  */
39 #define V_PROMPT			"mt_ventoux => "
40 #define CONFIG_SYS_PROMPT		V_PROMPT
41 
42 /*
43  * Set its own mtdparts, different from common
44  */
45 #undef MTDIDS_DEFAULT
46 #undef MTDPARTS_DEFAULT
47 #define MTDIDS_DEFAULT		"nand0=omap2-nand.0"
48 #define MTDPARTS_DEFAULT	"mtdparts=omap2-nand.0:512k(MLO)," \
49 				"1m(u-boot),256k(env1)," \
50 				"256k(env2),8m(ubisystem),-(rootfs)"
51 
52 /*
53  * FPGA
54  */
55 #define CONFIG_CMD_FPGA
56 #define CONFIG_FPGA
57 #define CONFIG_FPGA_XILINX
58 #define CONFIG_FPGA_SPARTAN3
59 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
60 #define CONFIG_SYS_FPGA_WAIT	10000
61 #define CONFIG_MAX_FPGA_DEVICES	1
62 #define CONFIG_FPGA_DELAY() udelay(1)
63 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
64 
65 #define	CONFIG_EXTRA_ENV_SETTINGS	CONFIG_TAM3517_SETTINGS \
66 	"bootcmd=run net_nfs\0"
67 
68 #endif /* __CONFIG_H */
69