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 | /* |
| 3 | * (C) Copyright 2009-2012 |
| 4 | * Wojciech Dubowik <wojciech.dubowik@neratec.com> |
Luka Perkov | 3fdf759 | 2012-12-03 03:24:15 +0000 | [diff] [blame] | 5 | * Luka Perkov <luka@openwrt.org> |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _CONFIG_ICONNECT_H |
| 9 | #define _CONFIG_ICONNECT_H |
| 10 | |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 11 | #include "mv-common.h" |
| 12 | |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 13 | /* |
| 14 | * Environment variables configuration |
| 15 | */ |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 16 | |
| 17 | /* |
| 18 | * Default environment variables |
| 19 | */ |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 20 | |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 21 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 22 | "console=console=ttyS0,115200\0" \ |
| 23 | "mtdids=nand0=orion_nand\0" \ |
Tom Rini | 43ede0b | 2017-10-22 17:55:07 -0400 | [diff] [blame] | 24 | "mtdparts="CONFIG_MTDPARTS_DEFAULT \ |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 25 | "kernel=/boot/uImage\0" \ |
| 26 | "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0" |
| 27 | |
| 28 | /* |
| 29 | * Ethernet driver configuration |
| 30 | */ |
| 31 | #ifdef CONFIG_CMD_NET |
| 32 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 33 | #define CONFIG_PHY_BASE_ADR 11 |
| 34 | #undef CONFIG_RESET_PHY_R |
| 35 | #endif /* CONFIG_CMD_NET */ |
| 36 | |
| 37 | /* |
| 38 | * File system |
| 39 | */ |
Luka Perkov | 9b91472 | 2012-09-05 08:01:25 +0000 | [diff] [blame] | 40 | |
| 41 | #endif /* _CONFIG_ICONNECT_H */ |