blob: 19701ccce22e3c7b7fb5e1b5b889606b69f685be [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Prafulla Wadaskar62634642009-07-16 20:58:00 +05302/*
Tony Dinh3bbf1272022-04-17 16:42:32 -07003 * (C) Copyright 2022 Tony Dinh <mibodhi@gmail.com>
DrEagle9ea48002014-09-07 18:01:21 +02004 * (C) Copyright 2009-2014
5 * Gerald Kerma <dreagle@doukki.net>
Prafulla Wadaskar62634642009-07-16 20:58:00 +05306 * Marvell Semiconductor <www.marvell.com>
7 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
Prafulla Wadaskar62634642009-07-16 20:58:00 +05308 */
9
10#ifndef _CONFIG_SHEEVAPLUG_H
11#define _CONFIG_SHEEVAPLUG_H
12
Tom Rinib7b337b2021-12-17 18:08:44 -050013#include "mv-common.h"
Prafulla Wadaskar62634642009-07-16 20:58:00 +053014
15/*
16 * Environment variables configurations
17 */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053018#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
Tony Dinh3bbf1272022-04-17 16:42:32 -070019 "=ttyS0,115200 mtdparts=" CONFIG_MTDPARTS_DEFAULT \
Peter Korsgaard280eb452016-01-17 18:23:45 +010020 "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \
Prafulla Wadaskar62634642009-07-16 20:58:00 +053021 "x_bootcmd_usb=usb start\0" \
22 "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
23
24/*
Prafulla Wadaskar62634642009-07-16 20:58:00 +053025 * Ethernet Driver configuration
26 */
Albert Aribaude91d7d32010-07-12 22:24:28 +020027#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053028#define CONFIG_PHY_BASE_ADR 0
Prafulla Wadaskar62634642009-07-16 20:58:00 +053029
Prafulla Wadaskar62634642009-07-16 20:58:00 +053030#endif /* _CONFIG_SHEEVAPLUG_H */