2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2012-04-17 09:22:17 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011-2012
|
|
|
|
* Gerald Kerma <dreagle@doukki.net>
|
2012-12-03 03:24:15 +00:00
|
|
|
* Luka Perkov <luka@openwrt.org>
|
2012-04-17 09:22:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_IB62x0_H
|
|
|
|
#define _CONFIG_IB62x0_H
|
|
|
|
|
|
|
|
#include "mv-common.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Environment variables configuration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Default environment variables
|
|
|
|
*/
|
2013-10-31 03:05:05 +00:00
|
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
2012-04-17 09:22:17 +00:00
|
|
|
"console=console=ttyS0,115200\0" \
|
|
|
|
"mtdids=nand0=orion_nand\0" \
|
2017-10-22 21:55:07 +00:00
|
|
|
"mtdparts="CONFIG_MTDPARTS_DEFAULT \
|
2013-10-31 03:05:05 +00:00
|
|
|
"kernel=/boot/zImage\0" \
|
|
|
|
"fdt=/boot/ib62x0.dtb\0" \
|
|
|
|
"bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
|
2012-04-17 09:22:17 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Ethernet driver configuration
|
|
|
|
*/
|
|
|
|
#ifdef CONFIG_CMD_NET
|
|
|
|
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
|
|
|
|
#define CONFIG_PHY_BASE_ADR 0
|
|
|
|
#endif /* CONFIG_CMD_NET */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SATA driver configuration
|
|
|
|
*/
|
2017-05-17 09:25:30 +00:00
|
|
|
#ifdef CONFIG_IDE
|
2012-04-17 09:22:17 +00:00
|
|
|
#define __io
|
2017-05-17 09:25:30 +00:00
|
|
|
#endif /* CONFIG_IDE */
|
2012-04-17 09:22:17 +00:00
|
|
|
|
|
|
|
#endif /* _CONFIG_IB62x0_H */
|