blob: 0ad04eee1b74fe26ba92b89ab46027c3a2f4c23c [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Eric Coopera3f41c82010-11-24 17:11:32 +05302/*
3 * Copyright (C) 2010 Eric C. Cooper <ecc@cmu.edu>
4 *
5 * Based on sheevaplug.h originally written by
6 * Prafulla Wadaskar <prafulla@marvell.com>
7 * (C) Copyright 2009
8 * Marvell Semiconductor <www.marvell.com>
Eric Coopera3f41c82010-11-24 17:11:32 +05309 */
10
11#ifndef _CONFIG_DOCKSTAR_H
12#define _CONFIG_DOCKSTAR_H
13
14/*
Eric Coopera3f41c82010-11-24 17:11:32 +053015 * mv-common.h should be defined after CMD configs since it used them
16 * to enable certain macros
17 */
18#include "mv-common.h"
19
Eric Coopera3f41c82010-11-24 17:11:32 +053020/*
21 * Environment variables configurations
22 */
Eric Coopera3f41c82010-11-24 17:11:32 +053023/*
24 * max 4k env size is enough, but in case of nand
25 * it has to be rounded to sector size
26 */
Eric Coopera3f41c82010-11-24 17:11:32 +053027
28/*
29 * Default environment variables
30 */
Eric Coopera3f41c82010-11-24 17:11:32 +053031
Eric Coopera3f41c82010-11-24 17:11:32 +053032#define CONFIG_EXTRA_ENV_SETTINGS \
33 "console=console=ttyS0,115200\0" \
34 "mtdids=nand0=orion_nand\0" \
Tom Rini5ad8e112017-10-22 17:55:07 -040035 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
Eric Coopera3f41c82010-11-24 17:11:32 +053036 "kernel=/boot/uImage\0" \
37 "initrd=/boot/uInitrd\0" \
38 "bootargs_root=ubi.mtd=1 root=ubi0:root rootfstype=ubifs ro\0"
39
40/*
41 * Ethernet Driver configuration
42 */
43#ifdef CONFIG_CMD_NET
44#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
45#define CONFIG_PHY_BASE_ADR 0
46#endif /* CONFIG_CMD_NET */
47
48/*
49 * File system
50 */
Eric Coopera3f41c82010-11-24 17:11:32 +053051
52#endif /* _CONFIG_DOCKSTAR_H */