blob: 16382f6f264b43895f5db7ba0e45808ec4db02d0 [file] [log] [blame]
Raphael Assenat843a7ee2012-10-22 05:23:46 +00001/*
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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
Raphael Assenat843a7ee2012-10-22 05:23:46 +000011 */
12
13#ifndef __CONFIG_H
14#define __CONFIG_H
15
16#include "tam3517-common.h"
17
Raphael Assenat843a7ee2012-10-22 05:23:46 +000018/* Our console port is port3 */
Raphael Assenat843a7ee2012-10-22 05:23:46 +000019#undef CONFIG_SYS_NS16550_COM1
20#undef CONFIG_SERIAL1
21
Raphael Assenat843a7ee2012-10-22 05:23:46 +000022#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
23#define CONFIG_SERIAL3
24
Raphael Assenat843a7ee2012-10-22 05:23:46 +000025#define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK
26
Raphael Assenat843a7ee2012-10-22 05:23:46 +000027#define CONFIG_BOOTFILE "uImage"
Raphael Assenat843a7ee2012-10-22 05:23:46 +000028
Mario Six5bc05432018-03-28 14:38:20 +020029#define CONFIG_HOSTNAME "eco5pk"
30
Raphael Assenat843a7ee2012-10-22 05:23:46 +000031/*
Raphael Assenat843a7ee2012-10-22 05:23:46 +000032 * Set its own mtdparts, different from common
33 */
Raphael Assenat843a7ee2012-10-22 05:23:46 +000034
35/*
36 * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
37 */
38#undef CONFIG_ENV_OFFSET_REDUND
39#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \
40 CONFIG_SYS_ENV_SECT_SIZE)
41
42#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
43 "install_kernel=if dhcp $bootfile; then nand erase kernel;" \
44 "nand write $fileaddr kernel; fi\0" \
Tom Rini43ede0b2017-10-22 17:55:07 -040045 "mtdparts="CONFIG_MTDPARTS_DEFAULT"\0" \
Raphael Assenat843a7ee2012-10-22 05:23:46 +000046 "serverip=192.168.142.60\0"
47
Raphael Assenat843a7ee2012-10-22 05:23:46 +000048#endif /* __CONFIG_H */