blob: 381a189149ea169eed744d92453984293a0cb373 [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/*
Tony Dinh594e6502022-02-03 14:32:29 -08003 * Copyright (C) 2022 Tony Dinh <mibodhi@gmail.com>
Eric Coopera3f41c82010-11-24 17:11:32 +05304 * 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 Coopera3f41c82010-11-24 17:11:32 +053010 */
11
12#ifndef _CONFIG_DOCKSTAR_H
13#define _CONFIG_DOCKSTAR_H
14
15/*
Eric Coopera3f41c82010-11-24 17:11:32 +053016 * 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 Coopera3f41c82010-11-24 17:11:32 +053021/*
Eric Coopera3f41c82010-11-24 17:11:32 +053022 * Default environment variables
23 */
Eric Coopera3f41c82010-11-24 17:11:32 +053024
Eric Coopera3f41c82010-11-24 17:11:32 +053025#define CONFIG_EXTRA_ENV_SETTINGS \
26 "console=console=ttyS0,115200\0" \
27 "mtdids=nand0=orion_nand\0" \
Tony Dinh594e6502022-02-03 14:32:29 -080028 "mtdparts=" CONFIG_MTDPARTS_DEFAULT \
Eric Coopera3f41c82010-11-24 17:11:32 +053029 "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 Coopera3f41c82010-11-24 17:11:32 +053036#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
37#define CONFIG_PHY_BASE_ADR 0
Eric Coopera3f41c82010-11-24 17:11:32 +053038
39#endif /* _CONFIG_DOCKSTAR_H */