1 /* 2 * Copyright (C) 2012 8D Technologies inc. 3 * Based on mt_ventoux.h, original banner below: 4 * 5 * Copyright (C) 2011 6 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. 7 * 8 * Copyright (C) 2009 TechNexion Ltd. 9 * 10 * SPDX-License-Identifier: GPL-2.0+ 11 */ 12 13 #ifndef __CONFIG_H 14 #define __CONFIG_H 15 16 #include "tam3517-common.h" 17 18 #undef CONFIG_USB_EHCI 19 #undef CONFIG_USB_EHCI_OMAP 20 #undef CONFIG_USB_OMAP3 21 #undef CONFIG_CMD_USB 22 23 /* Our console port is port3 */ 24 #undef CONFIG_CONS_INDEX 25 #undef CONFIG_SYS_NS16550_COM1 26 #undef CONFIG_SERIAL1 27 28 #define CONFIG_CONS_INDEX 3 29 #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 30 #define CONFIG_SERIAL3 31 32 #define MACH_TYPE_ECO5_PK 4017 33 #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK 34 35 #define CONFIG_BOOTDELAY 10 36 #define CONFIG_BOOTFILE "uImage" 37 #define CONFIG_AUTO_COMPLETE 38 39 /* 40 * Miscellaneous configurable options 41 */ 42 #define V_PROMPT "ECO5-PK # " 43 #define CONFIG_SYS_PROMPT V_PROMPT 44 45 /* 46 * Set its own mtdparts, different from common 47 */ 48 #undef MTDIDS_DEFAULT 49 #undef MTDPARTS_DEFAULT 50 #define MTDIDS_DEFAULT "nand0=omap2-nand.0" 51 #define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(xloader-nand)," \ 52 "1024k(uboot-nand),256k(params-nand)," \ 53 "5120k(kernel),-(ubifs)" 54 55 /* 56 * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten. 57 */ 58 #undef CONFIG_ENV_OFFSET_REDUND 59 #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \ 60 CONFIG_SYS_ENV_SECT_SIZE) 61 62 #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ 63 "install_kernel=if dhcp $bootfile; then nand erase kernel;" \ 64 "nand write $fileaddr kernel; fi\0" \ 65 "mtdparts="MTDPARTS_DEFAULT"\0" \ 66 "serverip=192.168.142.60\0" 67 68 69 #endif /* __CONFIG_H */ 70