global: Migrate CONFIG_STACKBASE to CFG
[platform/kernel/u-boot.git] / include / configs / dns325.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2011
4  * Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
5  *
6  * Based on Kirkwood support:
7  * (C) Copyright 2009
8  * Marvell Semiconductor <www.marvell.com>
9  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10  */
11
12 #ifndef _CONFIG_DNS325_H
13 #define _CONFIG_DNS325_H
14
15 #include "mv-common.h"
16
17 /* Remove or override few declarations from mv-common.h */
18
19 /*
20  * Enable GPI0 support
21  */
22
23 /*
24  * Environment variables configurations
25  */
26
27 /*
28  * Default environment variables
29  */
30
31 #define CFG_EXTRA_ENV_SETTINGS \
32         "stdin=serial\0" \
33         "stdout=serial\0" \
34         "stderr=serial\0" \
35         "loadaddr=0x800000\0" \
36         "console=ttyS0,115200\0" \
37         "optargs=\0" \
38         "bootenv=uEnv.txt\0" \
39         "importbootenv=echo Importing environment ...; " \
40                 "env import -t ${loadaddr} ${filesize}\0" \
41         "loadbootenv=fatload usb 0 ${loadaddr} ${bootenv}\0" \
42         "setbootargs=setenv bootargs console=${console} " \
43                 "${optargs} " \
44                 "${mtdparts} " \
45                 "root=${bootenvroot} " \
46                 "rootfstype=${bootenvrootfstype}\0" \
47         "subbootcmd=run setbootargs; " \
48                 "if run bootenvloadimage; then " \
49                         "bootm ${loadaddr};" \
50                 "fi;\0" \
51         "nandroot=ubi0:rootfs ubi.mtd=rootfs\0" \
52         "nandrootfstype=ubifs\0" \
53         "nandloadimage=nand read ${loadaddr} kernel\0" \
54         "setnandbootenv=echo Booting from nand ...; " \
55                 "setenv bootenvroot ${nandroot}; " \
56                 "setenv bootenvrootfstype ${nandrootfstype}; " \
57                 "setenv bootenvloadimage ${nandloadimage}\0"
58
59 #endif /* _CONFIG_DNS325_H */