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