Merge tag 'xilinx-for-v2022.04-rc1' of https://source.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / include / configs / ib62x0.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2011-2012
4  * Gerald Kerma <dreagle@doukki.net>
5  * Luka Perkov <luka@openwrt.org>
6  */
7
8 #ifndef _CONFIG_IB62x0_H
9 #define _CONFIG_IB62x0_H
10
11 #include "mv-common.h"
12
13 /*
14  * Environment variables configuration
15  */
16
17 /*
18  * Default environment variables
19  */
20
21 #define CONFIG_EXTRA_ENV_SETTINGS \
22         "console=console=ttyS0,115200\0"                                \
23         "mtdids=nand0=orion_nand\0"                                     \
24         "mtdparts="CONFIG_MTDPARTS_DEFAULT                      \
25         "kernel=/boot/zImage\0"                                         \
26         "fdt=/boot/ib62x0.dtb\0"                                        \
27         "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
28
29 /*
30  * Ethernet driver configuration
31  */
32 #ifdef CONFIG_CMD_NET
33 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
34 #define CONFIG_PHY_BASE_ADR     0
35 #undef CONFIG_RESET_PHY_R
36 #endif /* CONFIG_CMD_NET */
37
38 /*
39  * SATA driver configuration
40  */
41 #ifdef CONFIG_IDE
42 #define __io
43 #define CONFIG_SYS_ATA_IDE0_OFFSET      MV_SATA_PORT0_OFFSET
44 #define CONFIG_SYS_ATA_IDE1_OFFSET      MV_SATA_PORT1_OFFSET
45 #endif /* CONFIG_IDE */
46
47 #endif /* _CONFIG_IB62x0_H */