Merge tag 'xilinx-for-v2022.04-rc3' of https://gitlab.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / include / configs / iconnect.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2022 Tony Dinh <mibodhi@gmail.com>
4  * (C) Copyright 2009-2012
5  * Wojciech Dubowik <wojciech.dubowik@neratec.com>
6  * Luka Perkov <luka@openwrt.org>
7  */
8
9 #ifndef _CONFIG_ICONNECT_H
10 #define _CONFIG_ICONNECT_H
11
12 #include "mv-common.h"
13
14 #define CONFIG_EXTRA_ENV_SETTINGS \
15         "console=console=ttyS0,115200\0"        \
16         "mtdids=nand0=orion_nand\0"             \
17         "mtdparts=" CONFIG_MTDPARTS_DEFAULT     \
18         "kernel=/boot/uImage\0"                 \
19         "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
20
21 /*
22  * Ethernet driver configuration
23  *
24  * This board has PCIe Wifi card, so allow Ethernet to be disabled
25  */
26 #ifdef CONFIG_CMD_NET
27 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
28 #define CONFIG_PHY_BASE_ADR     11
29 #ifdef CONFIG_RESET_PHY_R
30 #undef CONFIG_RESET_PHY_R       /* remove legacy reset_phy() */
31 #endif
32 #endif /* CONFIG_CMD_NET */
33
34 #endif /* _CONFIG_ICONNECT_H */