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