blob: 8d35943fa0fcd74b6fc25d55b8a66e742e1ce5b9 [file] [log] [blame]
Stefano Babic1fdabed2012-02-07 23:29:34 +00001/*
2 * Copyright (C) 2011
3 * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
4 *
Stefano Babic62986872012-08-29 01:22:07 +00005 *
6 * Configuration settings for the Teejet mt_ventoux board.
7 *
Stefano Babic1fdabed2012-02-07 23:29:34 +00008 * 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
Stefano Babic62986872012-08-29 01:22:07 +000030#undef CONFIG_SYS_MALLOC_LEN
31#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10) + \
32 6 * 1024 * 1024)
33
Stefano Babic1fdabed2012-02-07 23:29:34 +000034#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
Stefano Babicd0e9fb12012-08-29 01:22:02 +000041#define CONFIG_OMAP3_GPIO_4
Stefano Babic1fdabed2012-02-07 23:29:34 +000042#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/*
Stefano Babic88b821b2012-03-21 00:14:25 +000051 * 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/*
Stefano Babic1fdabed2012-02-07 23:29:34 +000061 * 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
Stefano Babic62986872012-08-29 01:22:07 +000073#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
Stefano Babic1fdabed2012-02-07 23:29:34 +000082#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
83 "bootcmd=run net_nfs\0"
84
85#endif /* __CONFIG_H */