blob: 0cc58c3a7d98eebcee43ddeb9e13e6e385829736 [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/*
DrEagle9ea48002014-09-07 18:01:21 +02003 * (C) Copyright 2009-2014
4 * Gerald Kerma <dreagle@doukki.net>
Prafulla Wadaskar62634642009-07-16 20:58:00 +05305 * Marvell Semiconductor <www.marvell.com>
6 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
Prafulla Wadaskar62634642009-07-16 20:58:00 +05307 */
8
9#ifndef _CONFIG_SHEEVAPLUG_H
10#define _CONFIG_SHEEVAPLUG_H
11
Tom Rinib7b337b2021-12-17 18:08:44 -050012#include "mv-common.h"
Prafulla Wadaskar62634642009-07-16 20:58:00 +053013
14/*
15 * Environment variables configurations
16 */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053017/*
18 * max 4k env size is enough, but in case of nand
19 * it has to be rounded to sector size
20 */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053021
22/*
23 * Default environment variables
24 */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053025
Prafulla Wadaskar62634642009-07-16 20:58:00 +053026#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
Tom Rini5ad8e112017-10-22 17:55:07 -040027 "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS_DEFAULT \
Peter Korsgaard280eb452016-01-17 18:23:45 +010028 "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \
Prafulla Wadaskar62634642009-07-16 20:58:00 +053029 "x_bootcmd_usb=usb start\0" \
30 "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
31
32/*
Prafulla Wadaskar62634642009-07-16 20:58:00 +053033 * Ethernet Driver configuration
34 */
35#ifdef CONFIG_CMD_NET
Albert Aribaude91d7d32010-07-12 22:24:28 +020036#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
Prafulla Wadaskar62634642009-07-16 20:58:00 +053037#define CONFIG_PHY_BASE_ADR 0
Prafulla Wadaskar62634642009-07-16 20:58:00 +053038#endif /* CONFIG_CMD_NET */
39
40/*
DrEagle9ea48002014-09-07 18:01:21 +020041 * SATA driver configuration
42 */
Tony Dinh488c519d2021-07-13 21:35:46 -070043#ifdef CONFIG_SATA
Tony Dinh488c519d2021-07-13 21:35:46 -070044#define CONFIG_LBA48
45#endif /* CONFIG_SATA */
DrEagle9ea48002014-09-07 18:01:21 +020046
Prafulla Wadaskar62634642009-07-16 20:58:00 +053047#endif /* _CONFIG_SHEEVAPLUG_H */