]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/mt_ventoux.h
OMAP3: mt_ventoux: activate GPIO4
[karo-tx-uboot.git] / include / configs / mt_ventoux.h
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_OMAP3_GPIO_4
35 #define CONFIG_HOSTNAME mt_ventoux
36
37 /*
38  * Miscellaneous configurable options
39  */
40 #define V_PROMPT                        "mt_ventoux => "
41 #define CONFIG_SYS_PROMPT               V_PROMPT
42
43 /*
44  * Set its own mtdparts, different from common
45  */
46 #undef MTDIDS_DEFAULT
47 #undef MTDPARTS_DEFAULT
48 #define MTDIDS_DEFAULT          "nand0=omap2-nand.0"
49 #define MTDPARTS_DEFAULT        "mtdparts=omap2-nand.0:512k(MLO)," \
50                                 "1m(u-boot),256k(env1)," \
51                                 "256k(env2),8m(ubisystem),-(rootfs)"
52
53 /*
54  * FPGA
55  */
56 #define CONFIG_CMD_FPGA
57 #define CONFIG_FPGA
58 #define CONFIG_FPGA_XILINX
59 #define CONFIG_FPGA_SPARTAN3
60 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
61 #define CONFIG_SYS_FPGA_WAIT    10000
62 #define CONFIG_MAX_FPGA_DEVICES 1
63 #define CONFIG_FPGA_DELAY() udelay(1)
64 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
65
66 #define CONFIG_EXTRA_ENV_SETTINGS       CONFIG_TAM3517_SETTINGS \
67         "bootcmd=run net_nfs\0"
68
69 #endif /* __CONFIG_H */