2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2009-07-16 15:28:00 +00:00
|
|
|
/*
|
2022-04-17 23:42:32 +00:00
|
|
|
* (C) Copyright 2022 Tony Dinh <mibodhi@gmail.com>
|
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
|
|
|
|
*/
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
|
2022-04-17 23:42:32 +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
|
|
|
|
*/
|
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
|
|
|
|
|
2014-09-07 16:01:21 +00:00
|
|
|
/*
|
2022-04-17 23:42:32 +00:00
|
|
|
* Support large disk for SATA and USB
|
2014-09-07 16:01:21 +00:00
|
|
|
*/
|
2022-04-17 23:42:32 +00:00
|
|
|
#define CONFIG_SYS_64BIT_LBA
|
2021-07-14 04:35:46 +00:00
|
|
|
#define CONFIG_LBA48
|
2014-09-07 16:01:21 +00:00
|
|
|
|
2009-07-16 15:28:00 +00:00
|
|
|
#endif /* _CONFIG_SHEEVAPLUG_H */
|