Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 2 | /* |
Tony Dinh | 3bbf127 | 2022-04-17 16:42:32 -0700 | [diff] [blame] | 3 | * (C) Copyright 2022 Tony Dinh <mibodhi@gmail.com> |
DrEagle | 9ea4800 | 2014-09-07 18:01:21 +0200 | [diff] [blame] | 4 | * (C) Copyright 2009-2014 |
| 5 | * Gerald Kerma <dreagle@doukki.net> |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 6 | * Marvell Semiconductor <www.marvell.com> |
| 7 | * Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef _CONFIG_SHEEVAPLUG_H |
| 11 | #define _CONFIG_SHEEVAPLUG_H |
| 12 | |
Tom Rini | b7b337b | 2021-12-17 18:08:44 -0500 | [diff] [blame] | 13 | #include "mv-common.h" |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 14 | |
| 15 | /* |
| 16 | * Environment variables configurations |
| 17 | */ |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 18 | #define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \ |
Tony Dinh | 3bbf127 | 2022-04-17 16:42:32 -0700 | [diff] [blame] | 19 | "=ttyS0,115200 mtdparts=" CONFIG_MTDPARTS_DEFAULT \ |
Peter Korsgaard | 280eb45 | 2016-01-17 18:23:45 +0100 | [diff] [blame] | 20 | "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \ |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 21 | "x_bootcmd_usb=usb start\0" \ |
| 22 | "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0" |
| 23 | |
| 24 | /* |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 25 | * Ethernet Driver configuration |
| 26 | */ |
Albert Aribaud | e91d7d3 | 2010-07-12 22:24:28 +0200 | [diff] [blame] | 27 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 28 | #define CONFIG_PHY_BASE_ADR 0 |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 29 | |
Prafulla Wadaskar | 6263464 | 2009-07-16 20:58:00 +0530 | [diff] [blame] | 30 | #endif /* _CONFIG_SHEEVAPLUG_H */ |