1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 2843a7ee8SRaphael Assenat /* 3843a7ee8SRaphael Assenat * Copyright (C) 2012 8D Technologies inc. 4843a7ee8SRaphael Assenat * Based on mt_ventoux.h, original banner below: 5843a7ee8SRaphael Assenat * 6843a7ee8SRaphael Assenat * Copyright (C) 2011 7843a7ee8SRaphael Assenat * Stefano Babic, DENX Software Engineering, sbabic@denx.de. 8843a7ee8SRaphael Assenat * 9843a7ee8SRaphael Assenat * Copyright (C) 2009 TechNexion Ltd. 10843a7ee8SRaphael Assenat */ 11843a7ee8SRaphael Assenat 12843a7ee8SRaphael Assenat #ifndef __CONFIG_H 13843a7ee8SRaphael Assenat #define __CONFIG_H 14843a7ee8SRaphael Assenat 15843a7ee8SRaphael Assenat #include "tam3517-common.h" 16843a7ee8SRaphael Assenat 17843a7ee8SRaphael Assenat /* Our console port is port3 */ 18843a7ee8SRaphael Assenat #undef CONFIG_SYS_NS16550_COM1 19843a7ee8SRaphael Assenat 20843a7ee8SRaphael Assenat #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 21843a7ee8SRaphael Assenat 22843a7ee8SRaphael Assenat #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK 23843a7ee8SRaphael Assenat 24843a7ee8SRaphael Assenat #define CONFIG_BOOTFILE "uImage" 25843a7ee8SRaphael Assenat 265bc0543dSMario Six #define CONFIG_HOSTNAME "eco5pk" 275bc0543dSMario Six 28843a7ee8SRaphael Assenat /* 29843a7ee8SRaphael Assenat * Set its own mtdparts, different from common 30843a7ee8SRaphael Assenat */ 31843a7ee8SRaphael Assenat 32843a7ee8SRaphael Assenat /* 33843a7ee8SRaphael Assenat * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten. 34843a7ee8SRaphael Assenat */ 35843a7ee8SRaphael Assenat #undef CONFIG_ENV_OFFSET_REDUND 36843a7ee8SRaphael Assenat #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \ 37843a7ee8SRaphael Assenat CONFIG_SYS_ENV_SECT_SIZE) 38843a7ee8SRaphael Assenat 39843a7ee8SRaphael Assenat #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ 40843a7ee8SRaphael Assenat "install_kernel=if dhcp $bootfile; then nand erase kernel;" \ 41843a7ee8SRaphael Assenat "nand write $fileaddr kernel; fi\0" \ 4243ede0bcSTom Rini "mtdparts="CONFIG_MTDPARTS_DEFAULT"\0" \ 43843a7ee8SRaphael Assenat "serverip=192.168.142.60\0" 44843a7ee8SRaphael Assenat 45843a7ee8SRaphael Assenat #endif /* __CONFIG_H */ 46