Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2011-2012 |
| 4 | * Gerald Kerma <dreagle@doukki.net> |
Luka Perkov | e91505d | 2012-12-03 03:24:15 +0000 | [diff] [blame] | 5 | * Luka Perkov <luka@openwrt.org> |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _CONFIG_IB62x0_H |
| 9 | #define _CONFIG_IB62x0_H |
| 10 | |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 11 | #include "mv-common.h" |
| 12 | |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 13 | /* |
| 14 | * Environment variables configuration |
| 15 | */ |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 16 | |
| 17 | /* |
| 18 | * Default environment variables |
| 19 | */ |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 20 | |
Luka Perkov | 1c8cd81 | 2013-10-31 04:05:05 +0100 | [diff] [blame] | 21 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 22 | "console=console=ttyS0,115200\0" \ |
Luka Perkov | 1c8cd81 | 2013-10-31 04:05:05 +0100 | [diff] [blame] | 23 | "kernel=/boot/zImage\0" \ |
| 24 | "fdt=/boot/ib62x0.dtb\0" \ |
| 25 | "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0" |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 26 | |
| 27 | /* |
| 28 | * Ethernet driver configuration |
| 29 | */ |
| 30 | #ifdef CONFIG_CMD_NET |
| 31 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 32 | #define CONFIG_PHY_BASE_ADR 0 |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 33 | #endif /* CONFIG_CMD_NET */ |
| 34 | |
| 35 | /* |
| 36 | * SATA driver configuration |
| 37 | */ |
Simon Glass | b569a01 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 38 | #ifdef CONFIG_IDE |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 39 | #define __io |
Simon Glass | b569a01 | 2017-05-17 03:25:30 -0600 | [diff] [blame] | 40 | #endif /* CONFIG_IDE */ |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 41 | |
Luka Perkov | 2a3ce88 | 2012-04-17 09:22:17 +0000 | [diff] [blame] | 42 | #endif /* _CONFIG_IB62x0_H */ |