Merge tag 'xilinx-for-v2022.04-rc3' of https://gitlab.denx.de/u-boot/custodians/u...
[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 #define CONFIG_RESET_PHY_R
31 #endif /* CONFIG_CMD_NET */
32
33 /* SATA driver configuration */
34 #ifdef CONFIG_SATA
35 #define CONFIG_LBA48
36 #endif /* CONFIG_SATA */
37
38 #endif /* _CONFIG_NSA310S_H */