]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/configs/eco5pk.h
configs: Re-sync almost all of cmd/Kconfig
[people/ms/u-boot.git] / include / configs / eco5pk.h
CommitLineData
843a7ee8
RA
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 *
1a459660 10 * SPDX-License-Identifier: GPL-2.0+
843a7ee8
RA
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
843a7ee8
RA
21
22/* Our console port is port3 */
23#undef CONFIG_CONS_INDEX
24#undef CONFIG_SYS_NS16550_COM1
25#undef CONFIG_SERIAL1
26
27#define CONFIG_CONS_INDEX 3
28#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
29#define CONFIG_SERIAL3
30
31#define MACH_TYPE_ECO5_PK 4017
32#define CONFIG_MACH_TYPE MACH_TYPE_ECO5_PK
33
34#define CONFIG_BOOTDELAY 10
35#define CONFIG_BOOTFILE "uImage"
36#define CONFIG_AUTO_COMPLETE
37
843a7ee8
RA
38/*
39 * Set its own mtdparts, different from common
40 */
41#undef MTDIDS_DEFAULT
42#undef MTDPARTS_DEFAULT
43#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
44#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(xloader-nand)," \
45 "1024k(uboot-nand),256k(params-nand)," \
46 "5120k(kernel),-(ubifs)"
47
48/*
49 * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
50 */
51#undef CONFIG_ENV_OFFSET_REDUND
52#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + \
53 CONFIG_SYS_ENV_SECT_SIZE)
54
55#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_TAM3517_SETTINGS \
56 "install_kernel=if dhcp $bootfile; then nand erase kernel;" \
57 "nand write $fileaddr kernel; fi\0" \
58 "mtdparts="MTDPARTS_DEFAULT"\0" \
59 "serverip=192.168.142.60\0"
60
61
62#endif /* __CONFIG_H */