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 * SPDX-License-Identifier: GPL-2.0+
16 #include "tam3517-common.h"
18 #undef CONFIG_USB_EHCI
19 #undef CONFIG_USB_EHCI_OMAP
20 #undef CONFIG_USB_OMAP3
22 /* Our console port is port3 */
23 #undef CONFIG_CONS_INDEX
24 #undef CONFIG_SYS_NS16550_COM1
27 #define CONFIG_CONS_INDEX 3
28 #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
29 #define CONFIG_SERIAL3
31 #define MACH_TYPE_ECO5_PK 4017
32 #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK
34 #define CONFIG_BOOTFILE "uImage"
35 #define CONFIG_AUTO_COMPLETE
38 * Set its own mtdparts, different from common
41 #undef MTDPARTS_DEFAULT
42 #define MTDIDS_DEFAULT "nand0=omap2-nand.0"
43 #define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(xloader-nand)," \
44 "1024k(uboot-nand),256k(params-nand)," \
45 "5120k(kernel),-(ubifs)"
48 * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
50 #undef CONFIG_ENV_OFFSET_REDUND
51 #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \
52 CONFIG_SYS_ENV_SECT_SIZE)
54 #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
55 "install_kernel=if dhcp $bootfile; then nand erase kernel;" \
56 "nand write $fileaddr kernel; fi\0" \
57 "mtdparts="MTDPARTS_DEFAULT"\0" \
58 "serverip=192.168.142.60\0"
60 #endif /* __CONFIG_H */