blob: ed83eeba548cf0f5112d923f1b7eff97a3d77cb9 [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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
Stefano Babic1fdabed2012-02-07 23:29:34 +000011 */
12
13#ifndef __CONFIG_H
14#define __CONFIG_H
15
16#include "tam3517-common.h"
17
Stefano Babic62986872012-08-29 01:22:07 +000018#undef CONFIG_SYS_MALLOC_LEN
19#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10) + \
20 6 * 1024 * 1024)
21
Stefano Babic1fdabed2012-02-07 23:29:34 +000022#define CONFIG_MACH_TYPE MACH_TYPE_AM3517_MT_VENTOUX
23
Stefano Babic1fdabed2012-02-07 23:29:34 +000024#define CONFIG_BOOTFILE "uImage"
25#define CONFIG_AUTO_COMPLETE
26
27#define CONFIG_HOSTNAME mt_ventoux
28
29/*
Stefano Babic88b821b2012-03-21 00:14:25 +000030 * Set its own mtdparts, different from common
31 */
32#undef MTDIDS_DEFAULT
33#undef MTDPARTS_DEFAULT
34#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
35#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(MLO)," \
36 "1m(u-boot),256k(env1)," \
37 "256k(env2),8m(ubisystem),-(rootfs)"
38
39/*
Stefano Babic1fdabed2012-02-07 23:29:34 +000040 * FPGA
41 */
Stefano Babic1fdabed2012-02-07 23:29:34 +000042#define CONFIG_FPGA
43#define CONFIG_FPGA_XILINX
44#define CONFIG_FPGA_SPARTAN3
45#define CONFIG_SYS_FPGA_PROG_FEEDBACK
46#define CONFIG_SYS_FPGA_WAIT 10000
47#define CONFIG_MAX_FPGA_DEVICES 1
48#define CONFIG_FPGA_DELAY() udelay(1)
49#define CONFIG_SYS_FPGA_PROG_FEEDBACK
50
Stefano Babic62986872012-08-29 01:22:07 +000051#define CONFIG_SPLASH_SCREEN
52#define CONFIG_VIDEO_BMP_RLE8
Stefano Babic62986872012-08-29 01:22:07 +000053#define CONFIG_VIDEO_OMAP3 /* DSS Support */
Stefano Babic62986872012-08-29 01:22:07 +000054
Stefano Babic1fdabed2012-02-07 23:29:34 +000055#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
56 "bootcmd=run net_nfs\0"
57
58#endif /* __CONFIG_H */