1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
6 #ifndef _CONFIG_LACIE_KW_H
7 #define _CONFIG_LACIE_KW_H
11 /* Remove or override few declarations from mv-common.h */
14 * Enable platform initialisation via misc_init_r() function
18 * Ethernet Driver configuration
21 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
25 * SATA Driver configuration
29 #define CONFIG_SYS_64BIT_LBA
31 #if defined(CONFIG_NETSPACE_MAX_V2) || defined(CONFIG_D2NET_V2) || \
32 defined(CONFIG_NET2BIG_V2)
34 #endif /* CONFIG_SATA */
44 /* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */
45 #if defined(CONFIG_NET2BIG_V2)
46 #define CONFIG_SYS_I2C_G762_ADDR 0x3e
48 #endif /* CONFIG_CMD_I2C */
55 * File systems support
59 * Environment variables configurations
63 * Default environment variables
66 #define CONFIG_EXTRA_ENV_SETTINGS \
71 "loadaddr=0x800000\0" \
74 "set stdin $stdin,nc; " \
75 "set stdout $stdout,nc; " \
76 "set stderr $stderr,nc;\0" \
77 "diskload=sata init && " \
78 "ext2load sata 0:1 $loadaddr /boot/$bootfile\0" \
79 "usbload=usb start && " \
80 "fatload usb 0:1 $loadaddr /boot/$bootfile\0"
82 #endif /* _CONFIG_LACIE_KW_H */