blob: 8e7a86e06262e7cfdd7852138c96561811d2c75d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Walter Schweizerd2ac3262016-10-06 23:29:56 +02002/*
3 * (C) Copyright 2011
4 * Jason Cooper <u-boot@lakedaemon.net>
5 *
6 * Based on work by:
7 * Marvell Semiconductor <www.marvell.com>
8 * Written-by: Siddarth Gore <gores@marvell.com>
Walter Schweizerd2ac3262016-10-06 23:29:56 +02009 */
10
11#ifndef _CONFIG_DS109_H
12#define _CONFIG_DS109_H
13
Tom Rinib7b337b2021-12-17 18:08:44 -050014#include "mv-common.h"
Walter Schweizerd2ac3262016-10-06 23:29:56 +020015
16/*
17 * Environment variables configurations
18 */
Walter Schweizerd2ac3262016-10-06 23:29:56 +020019
Walter Schweizerd2ac3262016-10-06 23:29:56 +020020/*
21 * max 4k env size is enough, but in case of nand
22 * it has to be rounded to sector size
23 */
Walter Schweizerd2ac3262016-10-06 23:29:56 +020024
25/*
26 * Default environment variables
27 */
Walter Schweizerd2ac3262016-10-06 23:29:56 +020028
29#define CONFIG_EXTRA_ENV_SETTINGS \
30 "x_bootcmd_ethernet=ping 192.168.1.2\0" \
31 "x_bootcmd_usb=usb start\0" \
32 "x_bootcmd_kernel=fatload usb 0 0x6400000 uImage\0" \
33 "x_bootargs=console=ttyS0,115200\0" \
34 "x_bootargs_root=root=/dev/sda2 rootdelay=10\0" \
Phil Sutteref534b22021-03-07 22:22:27 +010035 "ipaddr=192.168.1.5\0" \
36 "usb0Mode=host\0"
Walter Schweizerd2ac3262016-10-06 23:29:56 +020037
Walter Schweizerd2ac3262016-10-06 23:29:56 +020038#endif /* _CONFIG_DS109_H */