blob: aff948cfe70819be8fe97d132dab43740cbfa18e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Luka Perkov2a3ce882012-04-17 09:22:17 +00002/*
3 * Copyright (C) 2011-2012
4 * Gerald Kerma <dreagle@doukki.net>
Luka Perkove91505d2012-12-03 03:24:15 +00005 * Luka Perkov <luka@openwrt.org>
Luka Perkov2a3ce882012-04-17 09:22:17 +00006 */
7
8#ifndef _CONFIG_IB62x0_H
9#define _CONFIG_IB62x0_H
10
Luka Perkov2a3ce882012-04-17 09:22:17 +000011#include "mv-common.h"
12
Luka Perkov2a3ce882012-04-17 09:22:17 +000013/*
14 * Environment variables configuration
15 */
Luka Perkov2a3ce882012-04-17 09:22:17 +000016
17/*
18 * Default environment variables
19 */
Luka Perkov2a3ce882012-04-17 09:22:17 +000020
Luka Perkov1c8cd812013-10-31 04:05:05 +010021#define CONFIG_EXTRA_ENV_SETTINGS \
Luka Perkov2a3ce882012-04-17 09:22:17 +000022 "console=console=ttyS0,115200\0" \
23 "mtdids=nand0=orion_nand\0" \
Tom Rini5ad8e112017-10-22 17:55:07 -040024 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
Luka Perkov1c8cd812013-10-31 04:05:05 +010025 "kernel=/boot/zImage\0" \
26 "fdt=/boot/ib62x0.dtb\0" \
27 "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
Luka Perkov2a3ce882012-04-17 09:22:17 +000028
29/*
30 * Ethernet driver configuration
31 */
32#ifdef CONFIG_CMD_NET
33#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
34#define CONFIG_PHY_BASE_ADR 0
Luka Perkov2a3ce882012-04-17 09:22:17 +000035#endif /* CONFIG_CMD_NET */
36
37/*
38 * SATA driver configuration
39 */
Simon Glassb569a012017-05-17 03:25:30 -060040#ifdef CONFIG_IDE
Luka Perkov2a3ce882012-04-17 09:22:17 +000041#define __io
Simon Glassb569a012017-05-17 03:25:30 -060042#endif /* CONFIG_IDE */
Luka Perkov2a3ce882012-04-17 09:22:17 +000043
Luka Perkov2a3ce882012-04-17 09:22:17 +000044#endif /* _CONFIG_IB62x0_H */