Merge branch '2021-12-27-CONFIG-migrations' into next
[platform/kernel/u-boot.git] / include / configs / dockstar.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
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>
9  */
10
11 #ifndef _CONFIG_DOCKSTAR_H
12 #define _CONFIG_DOCKSTAR_H
13
14 /*
15  * 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
20 /*
21  *  Environment variables configurations
22  */
23 /*
24  * max 4k env size is enough, but in case of nand
25  * it has to be rounded to sector size
26  */
27
28 /*
29  * Default environment variables
30  */
31
32 #define CONFIG_EXTRA_ENV_SETTINGS \
33         "console=console=ttyS0,115200\0" \
34         "mtdids=nand0=orion_nand\0" \
35         "mtdparts="CONFIG_MTDPARTS_DEFAULT \
36         "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  */
51
52 #endif /* _CONFIG_DOCKSTAR_H */