Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 8D Technologies inc. |
| 4 | * Based on mt_ventoux.h, original banner below: |
| 5 | * |
| 6 | * Copyright (C) 2011 |
| 7 | * Stefano Babic, DENX Software Engineering, sbabic@denx.de. |
| 8 | * |
| 9 | * Copyright (C) 2009 TechNexion Ltd. |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef __CONFIG_H |
| 13 | #define __CONFIG_H |
| 14 | |
| 15 | #include "tam3517-common.h" |
| 16 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 17 | /* Our console port is port3 */ |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 18 | #undef CONFIG_SYS_NS16550_COM1 |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 19 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 20 | #define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3 |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 21 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 22 | #define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK |
| 23 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 24 | #define CONFIG_BOOTFILE "uImage" |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 25 | |
Mario Six | 5bc0543 | 2018-03-28 14:38:20 +0200 | [diff] [blame] | 26 | #define CONFIG_HOSTNAME "eco5pk" |
| 27 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 28 | /* |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 29 | * Set its own mtdparts, different from common |
| 30 | */ |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 31 | |
| 32 | /* |
| 33 | * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten. |
| 34 | */ |
| 35 | #undef CONFIG_ENV_OFFSET_REDUND |
| 36 | #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \ |
| 37 | CONFIG_SYS_ENV_SECT_SIZE) |
| 38 | |
| 39 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \ |
| 40 | "install_kernel=if dhcp $bootfile; then nand erase kernel;" \ |
| 41 | "nand write $fileaddr kernel; fi\0" \ |
Tom Rini | 43ede0b | 2017-10-22 17:55:07 -0400 | [diff] [blame] | 42 | "mtdparts="CONFIG_MTDPARTS_DEFAULT"\0" \ |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 43 | "serverip=192.168.142.60\0" |
| 44 | |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 45 | #endif /* __CONFIG_H */ |