Merge tag 'versal-qspi-for-v2022.10' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / include / configs / lacie_kw.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
4  */
5
6 #ifndef _CONFIG_LACIE_KW_H
7 #define _CONFIG_LACIE_KW_H
8
9 #include "mv-common.h"
10
11 /* Remove or override few declarations from mv-common.h */
12
13 /*
14  * Enable platform initialisation via misc_init_r() function
15  */
16
17 /*
18  * Ethernet Driver configuration
19  */
20 #ifdef CONFIG_CMD_NET
21 #define CONFIG_MVGBE_PORTS              {1, 0} /* enable port 0 only */
22 #endif
23
24 /*
25  * Enable GPI0 support
26  */
27
28 /*
29  * Enable I2C support
30  */
31 #ifdef CONFIG_CMD_I2C
32 /* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */
33 #if defined(CONFIG_NET2BIG_V2)
34 #define CONFIG_SYS_I2C_G762_ADDR                0x3e
35 #endif
36 #endif /* CONFIG_CMD_I2C */
37
38 /*
39  * Partition support
40  */
41
42 /*
43  * File systems support
44  */
45
46 /*
47  * Environment variables configurations
48  */
49
50 /*
51  * Default environment variables
52  */
53
54 #define CONFIG_EXTRA_ENV_SETTINGS                               \
55         "stdin=serial\0"                                        \
56         "stdout=serial\0"                                       \
57         "stderr=serial\0"                                       \
58         "bootfile=uImage\0"                                     \
59         "loadaddr=0x800000\0"                                   \
60         "netconsole="                                           \
61                 "set stdin $stdin,nc; "                         \
62                 "set stdout $stdout,nc; "                       \
63                 "set stderr $stderr,nc;\0"                      \
64         "diskload=sata init && "                                \
65                 "ext2load sata 0:1 $loadaddr /boot/$bootfile\0" \
66         "usbload=usb start && "                                 \
67                 "fatload usb 0:1 $loadaddr /boot/$bootfile\0"
68
69 #endif /* _CONFIG_LACIE_KW_H */