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 */
32 /* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */
33 #if defined(CONFIG_NET2BIG_V2)
34 #define CONFIG_SYS_I2C_G762_ADDR 0x3e
36 #endif /* CONFIG_CMD_I2C */
43 * File systems support
47 * Environment variables configurations
51 * Default environment variables
54 #define CONFIG_EXTRA_ENV_SETTINGS \
59 "loadaddr=0x800000\0" \
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"
69 #endif /* _CONFIG_LACIE_KW_H */