2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2009-07-16 15:28:00 +00:00
|
|
|
/*
|
2014-09-07 16:01:21 +00:00
|
|
|
* (C) Copyright 2009-2014
|
|
|
|
* Gerald Kerma <dreagle@doukki.net>
|
2009-07-16 15:28:00 +00:00
|
|
|
* Marvell Semiconductor <www.marvell.com>
|
|
|
|
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_SHEEVAPLUG_H
|
|
|
|
#define _CONFIG_SHEEVAPLUG_H
|
|
|
|
|
2021-12-17 23:08:44 +00:00
|
|
|
#include "mv-common.h"
|
2009-07-16 15:28:00 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Environment variables configurations
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* max 4k env size is enough, but in case of nand
|
|
|
|
* it has to be rounded to sector size
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Default environment variables
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
|
2017-10-22 21:55:07 +00:00
|
|
|
"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS_DEFAULT \
|
2016-01-17 17:23:45 +00:00
|
|
|
"x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \
|
2009-07-16 15:28:00 +00:00
|
|
|
"x_bootcmd_usb=usb start\0" \
|
|
|
|
"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Ethernet Driver configuration
|
|
|
|
*/
|
|
|
|
#ifdef CONFIG_CMD_NET
|
2010-07-12 20:24:28 +00:00
|
|
|
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
|
2009-07-16 15:28:00 +00:00
|
|
|
#define CONFIG_PHY_BASE_ADR 0
|
|
|
|
#endif /* CONFIG_CMD_NET */
|
|
|
|
|
2014-09-07 16:01:21 +00:00
|
|
|
/*
|
|
|
|
* SATA driver configuration
|
|
|
|
*/
|
2021-07-14 04:35:46 +00:00
|
|
|
#ifdef CONFIG_SATA
|
|
|
|
#define CONFIG_LBA48
|
|
|
|
#endif /* CONFIG_SATA */
|
2014-09-07 16:01:21 +00:00
|
|
|
|
2009-07-16 15:28:00 +00:00
|
|
|
#endif /* _CONFIG_SHEEVAPLUG_H */
|