2 * Copyright (C) 2012 8D Technologies inc.
3 * Based on mt_ventoux.h, original banner below:
6 * Stefano Babic, DENX Software Engineering, sbabic@denx.de.
8 * Copyright (C) 2009 TechNexion Ltd.
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.
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.
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.
28 #include "tam3517-common.h"
30 #undef CONFIG_USB_EHCI
31 #undef CONFIG_USB_EHCI_OMAP
32 #undef CONFIG_USB_OMAP3
35 /* Our console port is port3 */
36 #undef CONFIG_CONS_INDEX
37 #undef CONFIG_SYS_NS16550_COM1
40 #define CONFIG_CONS_INDEX 3
41 #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
42 #define CONFIG_SERIAL3
44 #define MACH_TYPE_ECO5_PK 4017
45 #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK
47 #define CONFIG_BOOTDELAY 10
48 #define CONFIG_BOOTFILE "uImage"
49 #define CONFIG_AUTO_COMPLETE
52 * Miscellaneous configurable options
54 #define V_PROMPT "ECO5-PK # "
55 #define CONFIG_SYS_PROMPT V_PROMPT
58 * Set its own mtdparts, different from common
61 #undef MTDPARTS_DEFAULT
62 #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
63 #define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(xloader-nand)," \
64 "1024k(uboot-nand),256k(params-nand)," \
65 "5120k(kernel),-(ubifs)"
68 * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
70 #undef CONFIG_ENV_OFFSET_REDUND
71 #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \
72 CONFIG_SYS_ENV_SECT_SIZE)
74 #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
75 "install_kernel=if dhcp $bootfile; then nand erase kernel;" \
76 "nand write $fileaddr kernel; fi\0" \
77 "mtdparts="MTDPARTS_DEFAULT"\0" \
78 "serverip=192.168.142.60\0"
81 #endif /* __CONFIG_H */