]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
79642098 SG |
2 | /* |
3 | * Copyright (C) 2011 Simon Guinot <[email protected]> | |
79642098 SG |
4 | */ |
5 | ||
77ea071f SG |
6 | #ifndef _CONFIG_LACIE_KW_H |
7 | #define _CONFIG_LACIE_KW_H | |
79642098 | 8 | |
79642098 SG |
9 | #include "mv-common.h" |
10 | ||
11 | /* Remove or override few declarations from mv-common.h */ | |
79642098 | 12 | |
2af4d0f4 SG |
13 | /* |
14 | * Enable platform initialisation via misc_init_r() function | |
15 | */ | |
2af4d0f4 | 16 | |
79642098 SG |
17 | /* |
18 | * Ethernet Driver configuration | |
19 | */ | |
20 | #ifdef CONFIG_CMD_NET | |
21 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ | |
79642098 SG |
22 | #endif |
23 | ||
79642098 SG |
24 | /* |
25 | * Enable GPI0 support | |
26 | */ | |
79642098 | 27 | |
c841c12c SG |
28 | /* |
29 | * Enable I2C support | |
30 | */ | |
31 | #ifdef CONFIG_CMD_I2C | |
32 | /* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */ | |
2af4d0f4 SG |
33 | #if defined(CONFIG_NET2BIG_V2) |
34 | #define CONFIG_SYS_I2C_G762_ADDR 0x3e | |
35 | #endif | |
c841c12c SG |
36 | #endif /* CONFIG_CMD_I2C */ |
37 | ||
8e622436 SG |
38 | /* |
39 | * Partition support | |
40 | */ | |
8e622436 | 41 | |
79642098 SG |
42 | /* |
43 | * File systems support | |
44 | */ | |
79642098 | 45 | |
79642098 SG |
46 | /* |
47 | * Environment variables configurations | |
48 | */ | |
79642098 SG |
49 | |
50 | /* | |
51 | * Default environment variables | |
52 | */ | |
79642098 SG |
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" \ | |
79642098 SG |
60 | "netconsole=" \ |
61 | "set stdin $stdin,nc; " \ | |
62 | "set stdout $stdout,nc; " \ | |
63 | "set stderr $stderr,nc;\0" \ | |
6620c652 SG |
64 | "diskload=sata init && " \ |
65 | "ext2load sata 0:1 $loadaddr /boot/$bootfile\0" \ | |
79642098 SG |
66 | "usbload=usb start && " \ |
67 | "fatload usb 0:1 $loadaddr /boot/$bootfile\0" | |
68 | ||
77ea071f | 69 | #endif /* _CONFIG_LACIE_KW_H */ |