xref: /openbmc/u-boot/include/configs/eco5pk.h (revision 8f240a3b)
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 /* Our console port is port3 */
19 #undef CONFIG_SYS_NS16550_COM1
20 #undef CONFIG_SERIAL1
21 
22 #define CONFIG_SYS_NS16550_COM3	OMAP34XX_UART3
23 #define CONFIG_SERIAL3
24 
25 #define CONFIG_MACH_TYPE	MACH_TYPE_ECO5_PK
26 
27 #define CONFIG_BOOTFILE		"uImage"
28 
29 /*
30  * Set its own mtdparts, different from common
31  */
32 
33 /*
34  * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
35  */
36 #undef CONFIG_ENV_OFFSET_REDUND
37 #define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + \
38 						CONFIG_SYS_ENV_SECT_SIZE)
39 
40 #define	CONFIG_EXTRA_ENV_SETTINGS	CONFIG_TAM3517_SETTINGS \
41 	"install_kernel=if dhcp $bootfile; then nand erase kernel;" \
42 				"nand write $fileaddr kernel; fi\0" \
43 	"mtdparts="CONFIG_MTDPARTS_DEFAULT"\0" \
44 	"serverip=192.168.142.60\0"
45 
46 #endif /* __CONFIG_H */
47