blob: cb4cf9beb7409b2d9fc4108f1ccbf8692c1bb815 [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
Luka Perkov9f497062012-09-05 08:01:25 +000029#endif /* CONFIG_CMD_NET */
30
Luka Perkov9f497062012-09-05 08:01:25 +000031#endif /* _CONFIG_ICONNECT_H */