Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 2 | /* |
Tony Dinh | b256407 | 2022-02-01 21:59:27 -0800 | [diff] [blame] | 3 | * Copyright (C) 2022 Tony Dinh <mibodhi@gmail.com> |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 4 | * (C) Copyright 2009-2012 |
| 5 | * Wojciech Dubowik <wojciech.dubowik@neratec.com> |
Luka Perkov | e91505d | 2012-12-03 03:24:15 +0000 | [diff] [blame] | 6 | * Luka Perkov <luka@openwrt.org> |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef _CONFIG_ICONNECT_H |
| 10 | #define _CONFIG_ICONNECT_H |
| 11 | |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 12 | #include "mv-common.h" |
| 13 | |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 14 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 15 | "console=console=ttyS0,115200\0" \ |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 16 | "kernel=/boot/uImage\0" \ |
| 17 | "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0" |
| 18 | |
| 19 | /* |
| 20 | * Ethernet driver configuration |
Tony Dinh | b256407 | 2022-02-01 21:59:27 -0800 | [diff] [blame] | 21 | * |
| 22 | * This board has PCIe Wifi card, so allow Ethernet to be disabled |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 23 | */ |
| 24 | #ifdef CONFIG_CMD_NET |
| 25 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 26 | #define CONFIG_PHY_BASE_ADR 11 |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 27 | #endif /* CONFIG_CMD_NET */ |
| 28 | |
Luka Perkov | 9f49706 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 29 | #endif /* _CONFIG_ICONNECT_H */ |