blob: ea77abb4746ac5403e2dbbdc8f203c06fa2a6b8f [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Walter Schweizera0a868b2016-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 Schweizera0a868b2016-10-06 23:29:56 +02009 */
10
11#ifndef _CONFIG_DS109_H
12#define _CONFIG_DS109_H
13
Tom Rinif98b3be2021-12-17 18:08:44 -050014#include "mv-common.h"
Walter Schweizera0a868b2016-10-06 23:29:56 +020015
16/*
17 * Environment variables configurations
18 */
Walter Schweizera0a868b2016-10-06 23:29:56 +020019
Walter Schweizera0a868b2016-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 Schweizera0a868b2016-10-06 23:29:56 +020024
25/*
26 * Default environment variables
27 */
Walter Schweizera0a868b2016-10-06 23:29:56 +020028
Tom Rini0613c362022-12-04 10:03:50 -050029#define CFG_EXTRA_ENV_SETTINGS \
Walter Schweizera0a868b2016-10-06 23:29:56 +020030 "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 Suttere471ddf2021-03-07 22:22:27 +010035 "ipaddr=192.168.1.5\0" \
36 "usb0Mode=host\0"
Walter Schweizera0a868b2016-10-06 23:29:56 +020037
Walter Schweizera0a868b2016-10-06 23:29:56 +020038#endif /* _CONFIG_DS109_H */