blob: 29564d758b0b65739653a0b157c413b81970bc81 [file] [log] [blame]
Stefano Babic18db74a2012-02-07 23:29:34 +00001/*
2 * Copyright (C) 2011
3 * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
4 *
Stefano Babicb6320932012-08-29 01:22:07 +00005 *
6 * Configuration settings for the Teejet mt_ventoux board.
7 *
Stefano Babic18db74a2012-02-07 23:29:34 +00008 * Copyright (C) 2009 TechNexion Ltd.
9 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
Stefano Babic18db74a2012-02-07 23:29:34 +000011 */
12
13#ifndef __CONFIG_H
14#define __CONFIG_H
15
16#include "tam3517-common.h"
17
Stefano Babicb6320932012-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 Babic18db74a2012-02-07 23:29:34 +000022#define MACH_TYPE_AM3517_MT_VENTOUX 3832
23#define CONFIG_MACH_TYPE MACH_TYPE_AM3517_MT_VENTOUX
24
Stefano Babic18db74a2012-02-07 23:29:34 +000025#define CONFIG_BOOTFILE "uImage"
26#define CONFIG_AUTO_COMPLETE
27
Stefano Babic053bdb02012-08-29 01:22:02 +000028#define CONFIG_OMAP3_GPIO_4
Stefano Babic18db74a2012-02-07 23:29:34 +000029#define CONFIG_HOSTNAME mt_ventoux
30
31/*
Stefano Babicceca60c2012-03-21 00:14:25 +000032 * Set its own mtdparts, different from common
33 */
34#undef MTDIDS_DEFAULT
35#undef MTDPARTS_DEFAULT
36#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
37#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(MLO)," \
38 "1m(u-boot),256k(env1)," \
39 "256k(env2),8m(ubisystem),-(rootfs)"
40
41/*
Stefano Babic18db74a2012-02-07 23:29:34 +000042 * FPGA
43 */
Siva Durga Prasad Paladuguadc11de2014-03-14 16:35:38 +053044#define CONFIG_CMD_FPGA_LOADMK
Stefano Babic18db74a2012-02-07 23:29:34 +000045#define CONFIG_FPGA
46#define CONFIG_FPGA_XILINX
47#define CONFIG_FPGA_SPARTAN3
48#define CONFIG_SYS_FPGA_PROG_FEEDBACK
49#define CONFIG_SYS_FPGA_WAIT 10000
50#define CONFIG_MAX_FPGA_DEVICES 1
51#define CONFIG_FPGA_DELAY() udelay(1)
52#define CONFIG_SYS_FPGA_PROG_FEEDBACK
53
Stefano Babicb6320932012-08-29 01:22:07 +000054#define CONFIG_VIDEO
55#define CONFIG_CFB_CONSOLE
56#define CONFIG_VGA_AS_SINGLE_DEVICE
57#define CONFIG_SPLASH_SCREEN
58#define CONFIG_VIDEO_BMP_RLE8
59#define CONFIG_CMD_BMP
60#define CONFIG_VIDEO_OMAP3 /* DSS Support */
61#define CONFIG_SYS_CONSOLE_IS_IN_ENV
62
Stefano Babic18db74a2012-02-07 23:29:34 +000063#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
64 "bootcmd=run net_nfs\0"
65
66#endif /* __CONFIG_H */