Merge tag 'next-20220328' of https://source.denx.de/u-boot/custodians/u-boot-video...
[platform/kernel/u-boot.git] / include / configs / nsa310s.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2015, 2021 Tony Dinh <mibodhi@gmail.com>
4  * Copyright (C) 2015
5  * Gerald Kerma <dreagle@doukki.net>
6  * Luka Perkov <luka.perkov@sartura.hr>
7  */
8
9 #ifndef _CONFIG_NSA310S_H
10 #define _CONFIG_NSA310S_H
11
12 #include "mv-common.h"
13
14 /* environment variables configuration */
15
16 /* default environment variables */
17
18 #define CONFIG_EXTRA_ENV_SETTINGS \
19         "console=console=ttyS0,115200\0" \
20         "mtdids=nand0=orion_nand\0" \
21         "mtdparts="CONFIG_MTDPARTS_DEFAULT \
22         "kernel=/boot/zImage\0" \
23         "fdt=/boot/nsa310s.dtb\0" \
24         "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
25
26 /* Ethernet driver configuration */
27 #ifdef CONFIG_CMD_NET
28 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
29 #define CONFIG_PHY_BASE_ADR     1
30 #endif /* CONFIG_CMD_NET */
31
32 /* SATA driver configuration */
33 #ifdef CONFIG_SATA
34 #define CONFIG_LBA48
35 #endif /* CONFIG_SATA */
36
37 #endif /* _CONFIG_NSA310S_H */