Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 2 | /* |
Tony Dinh | 594e650 | 2022-02-03 14:32:29 -0800 | [diff] [blame] | 3 | * Copyright (C) 2022 Tony Dinh <mibodhi@gmail.com> |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 4 | * Copyright (C) 2010 Eric C. Cooper <ecc@cmu.edu> |
| 5 | * |
| 6 | * Based on sheevaplug.h originally written by |
| 7 | * Prafulla Wadaskar <prafulla@marvell.com> |
| 8 | * (C) Copyright 2009 |
| 9 | * Marvell Semiconductor <www.marvell.com> |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef _CONFIG_DOCKSTAR_H |
| 13 | #define _CONFIG_DOCKSTAR_H |
| 14 | |
| 15 | /* |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 16 | * mv-common.h should be defined after CMD configs since it used them |
| 17 | * to enable certain macros |
| 18 | */ |
| 19 | #include "mv-common.h" |
| 20 | |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 21 | /* |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 22 | * Default environment variables |
| 23 | */ |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 24 | |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 25 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 26 | "console=console=ttyS0,115200\0" \ |
| 27 | "mtdids=nand0=orion_nand\0" \ |
Tony Dinh | 594e650 | 2022-02-03 14:32:29 -0800 | [diff] [blame] | 28 | "mtdparts=" CONFIG_MTDPARTS_DEFAULT \ |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 29 | "kernel=/boot/uImage\0" \ |
| 30 | "initrd=/boot/uInitrd\0" \ |
| 31 | "bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro\0" |
| 32 | |
| 33 | /* |
| 34 | * Ethernet Driver configuration |
| 35 | */ |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 36 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 37 | #define CONFIG_PHY_BASE_ADR 0 |
Eric Cooper | a3f41c8 | 2010-11-24 17:11:32 +0530 | [diff] [blame] | 38 | |
| 39 | #endif /* _CONFIG_DOCKSTAR_H */ |