blob: f1aad1efde64f4a86cb65661a7681c594376190c [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Luka Perkov9b914722012-09-05 08:01:25 +00002/*
3 * (C) Copyright 2009-2012
4 * Wojciech Dubowik <wojciech.dubowik@neratec.com>
Luka Perkov3fdf7592012-12-03 03:24:15 +00005 * Luka Perkov <luka@openwrt.org>
Luka Perkov9b914722012-09-05 08:01:25 +00006 */
7
8#ifndef _CONFIG_ICONNECT_H
9#define _CONFIG_ICONNECT_H
10
Luka Perkov9b914722012-09-05 08:01:25 +000011#include "mv-common.h"
12
Luka Perkov9b914722012-09-05 08:01:25 +000013/*
14 * Environment variables configuration
15 */
Luka Perkov9b914722012-09-05 08:01:25 +000016
17/*
18 * Default environment variables
19 */
Luka Perkov9b914722012-09-05 08:01:25 +000020
Luka Perkov9b914722012-09-05 08:01:25 +000021#define CONFIG_EXTRA_ENV_SETTINGS \
22 "console=console=ttyS0,115200\0" \
23 "mtdids=nand0=orion_nand\0" \
Tom Rini43ede0b2017-10-22 17:55:07 -040024 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
Luka Perkov9b914722012-09-05 08:01:25 +000025 "kernel=/boot/uImage\0" \
26 "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
27
28/*
29 * Ethernet driver configuration
30 */
31#ifdef CONFIG_CMD_NET
32#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
33#define CONFIG_PHY_BASE_ADR 11
34#undef CONFIG_RESET_PHY_R
35#endif /* CONFIG_CMD_NET */
36
37/*
38 * File system
39 */
Luka Perkov9b914722012-09-05 08:01:25 +000040
41#endif /* _CONFIG_ICONNECT_H */