blob: f2e3608d3a3fe6ab2daabe8b3788509791f87cf9 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Luka Perkov9f497062012-09-05 08:01:25 +00002/*
Tony Dinhb2564072022-02-01 21:59:27 -08003 * Copyright (C) 2022 Tony Dinh <mibodhi@gmail.com>
Luka Perkov9f497062012-09-05 08:01:25 +00004 * (C) Copyright 2009-2012
5 * Wojciech Dubowik <wojciech.dubowik@neratec.com>
Luka Perkove91505d2012-12-03 03:24:15 +00006 * Luka Perkov <luka@openwrt.org>
Luka Perkov9f497062012-09-05 08:01:25 +00007 */
8
9#ifndef _CONFIG_ICONNECT_H
10#define _CONFIG_ICONNECT_H
11
Luka Perkov9f497062012-09-05 08:01:25 +000012#include "mv-common.h"
13
Luka Perkov9f497062012-09-05 08:01:25 +000014#define CONFIG_EXTRA_ENV_SETTINGS \
15 "console=console=ttyS0,115200\0" \
Luka Perkov9f497062012-09-05 08:01:25 +000016 "kernel=/boot/uImage\0" \
17 "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
18
19/*
20 * Ethernet driver configuration
Tony Dinhb2564072022-02-01 21:59:27 -080021 *
22 * This board has PCIe Wifi card, so allow Ethernet to be disabled
Luka Perkov9f497062012-09-05 08:01:25 +000023 */
24#ifdef CONFIG_CMD_NET
25#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
26#define CONFIG_PHY_BASE_ADR 11
Luka Perkov9f497062012-09-05 08:01:25 +000027#endif /* CONFIG_CMD_NET */
28
Luka Perkov9f497062012-09-05 08:01:25 +000029#endif /* _CONFIG_ICONNECT_H */