Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 |
| 3 | * Stefano Babic, DENX Software Engineering, sbabic@denx.de. |
| 4 | * |
Stefano Babic | 6298687 | 2012-08-29 01:22:07 +0000 | [diff] [blame] | 5 | * |
| 6 | * Configuration settings for the Teejet mt_ventoux board. |
| 7 | * |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 8 | * Copyright (C) 2009 TechNexion Ltd. |
| 9 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 10 | * SPDX-License-Identifier: GPL-2.0+ |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 11 | */ |
| 12 | |
| 13 | #ifndef __CONFIG_H |
| 14 | #define __CONFIG_H |
| 15 | |
| 16 | #include "tam3517-common.h" |
| 17 | |
Stefano Babic | 6298687 | 2012-08-29 01:22:07 +0000 | [diff] [blame] | 18 | #undef CONFIG_SYS_MALLOC_LEN |
| 19 | #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10) + \ |
| 20 | 6 * 1024 * 1024) |
| 21 | |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 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 | |
Stefano Babic | d0e9fb1 | 2012-08-29 01:22:02 +0000 | [diff] [blame] | 29 | #define CONFIG_OMAP3_GPIO_4 |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 30 | #define CONFIG_HOSTNAME mt_ventoux |
| 31 | |
| 32 | /* |
| 33 | * Miscellaneous configurable options |
| 34 | */ |
| 35 | #define V_PROMPT "mt_ventoux => " |
| 36 | #define CONFIG_SYS_PROMPT V_PROMPT |
| 37 | |
| 38 | /* |
Stefano Babic | 88b821b | 2012-03-21 00:14:25 +0000 | [diff] [blame] | 39 | * Set its own mtdparts, different from common |
| 40 | */ |
| 41 | #undef MTDIDS_DEFAULT |
| 42 | #undef MTDPARTS_DEFAULT |
| 43 | #define MTDIDS_DEFAULT "nand0=omap2-nand.0" |
| 44 | #define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(MLO)," \ |
| 45 | "1m(u-boot),256k(env1)," \ |
| 46 | "256k(env2),8m(ubisystem),-(rootfs)" |
| 47 | |
| 48 | /* |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 49 | * FPGA |
| 50 | */ |
| 51 | #define CONFIG_CMD_FPGA |
Siva Durga Prasad Paladugu | 64e809a | 2014-03-14 16:35:38 +0530 | [diff] [blame] | 52 | #define CONFIG_CMD_FPGA_LOADMK |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 53 | #define CONFIG_FPGA |
| 54 | #define CONFIG_FPGA_XILINX |
| 55 | #define CONFIG_FPGA_SPARTAN3 |
| 56 | #define CONFIG_SYS_FPGA_PROG_FEEDBACK |
| 57 | #define CONFIG_SYS_FPGA_WAIT 10000 |
| 58 | #define CONFIG_MAX_FPGA_DEVICES 1 |
| 59 | #define CONFIG_FPGA_DELAY() udelay(1) |
| 60 | #define CONFIG_SYS_FPGA_PROG_FEEDBACK |
| 61 | |
Stefano Babic | 6298687 | 2012-08-29 01:22:07 +0000 | [diff] [blame] | 62 | #define CONFIG_VIDEO |
| 63 | #define CONFIG_CFB_CONSOLE |
| 64 | #define CONFIG_VGA_AS_SINGLE_DEVICE |
| 65 | #define CONFIG_SPLASH_SCREEN |
| 66 | #define CONFIG_VIDEO_BMP_RLE8 |
| 67 | #define CONFIG_CMD_BMP |
| 68 | #define CONFIG_VIDEO_OMAP3 /* DSS Support */ |
| 69 | #define CONFIG_SYS_CONSOLE_IS_IN_ENV |
| 70 | |
Stefano Babic | 1fdabed | 2012-02-07 23:29:34 +0000 | [diff] [blame] | 71 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ |
| 72 | "bootcmd=run net_nfs\0" |
| 73 | |
| 74 | #endif /* __CONFIG_H */ |