blob: 44a4b4409f9e3a9aaff979a750370cb39ad67b0e [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" \
16 "mtdids=nand0=orion_nand\0" \
Tony Dinhb2564072022-02-01 21:59:27 -080017 "mtdparts=" CONFIG_MTDPARTS_DEFAULT \
Luka Perkov9f497062012-09-05 08:01:25 +000018 "kernel=/boot/uImage\0" \
19 "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
20
21/*
22 * Ethernet driver configuration
Tony Dinhb2564072022-02-01 21:59:27 -080023 *
24 * This board has PCIe Wifi card, so allow Ethernet to be disabled
Luka Perkov9f497062012-09-05 08:01:25 +000025 */
26#ifdef CONFIG_CMD_NET
27#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
28#define CONFIG_PHY_BASE_ADR 11
Tony Dinhb2564072022-02-01 21:59:27 -080029#ifdef CONFIG_RESET_PHY_R
30#undef CONFIG_RESET_PHY_R /* remove legacy reset_phy() */
31#endif
Luka Perkov9f497062012-09-05 08:01:25 +000032#endif /* CONFIG_CMD_NET */
33
Luka Perkov9f497062012-09-05 08:01:25 +000034#endif /* _CONFIG_ICONNECT_H */