xref: /openbmc/u-boot/include/configs/mt_ventoux.h (revision 192bc694)
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  * SPDX-License-Identifier:	GPL-2.0+
11  */
12 
13 #ifndef __CONFIG_H
14 #define __CONFIG_H
15 
16 #include "tam3517-common.h"
17 
18 #undef CONFIG_SYS_MALLOC_LEN
19 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + (128 << 10) + \
20 					6 * 1024 * 1024)
21 
22 #define MACH_TYPE_AM3517_MT_VENTOUX	3832
23 #define CONFIG_MACH_TYPE	MACH_TYPE_AM3517_MT_VENTOUX
24 
25 #define CONFIG_BOOTDELAY	10
26 #define CONFIG_BOOTFILE		"uImage"
27 #define CONFIG_AUTO_COMPLETE
28 
29 #define CONFIG_OMAP3_GPIO_4
30 #define CONFIG_HOSTNAME mt_ventoux
31 
32 /*
33  * Set its own mtdparts, different from common
34  */
35 #undef MTDIDS_DEFAULT
36 #undef MTDPARTS_DEFAULT
37 #define MTDIDS_DEFAULT		"nand0=omap2-nand.0"
38 #define MTDPARTS_DEFAULT	"mtdparts=omap2-nand.0:512k(MLO)," \
39 				"1m(u-boot),256k(env1)," \
40 				"256k(env2),8m(ubisystem),-(rootfs)"
41 
42 /*
43  * FPGA
44  */
45 #define CONFIG_CMD_FPGA_LOADMK
46 #define CONFIG_FPGA
47 #define CONFIG_FPGA_XILINX
48 #define CONFIG_FPGA_SPARTAN3
49 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
50 #define CONFIG_SYS_FPGA_WAIT	10000
51 #define CONFIG_MAX_FPGA_DEVICES	1
52 #define CONFIG_FPGA_DELAY() udelay(1)
53 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
54 
55 #define CONFIG_VIDEO
56 #define CONFIG_CFB_CONSOLE
57 #define CONFIG_VGA_AS_SINGLE_DEVICE
58 #define CONFIG_SPLASH_SCREEN
59 #define CONFIG_VIDEO_BMP_RLE8
60 #define CONFIG_CMD_BMP
61 #define CONFIG_VIDEO_OMAP3	/* DSS Support			*/
62 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
63 
64 #define	CONFIG_EXTRA_ENV_SETTINGS	CONFIG_TAM3517_SETTINGS \
65 	"bootcmd=run net_nfs\0"
66 
67 #endif /* __CONFIG_H */
68