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 * Enable GPI0 support 19 */ 20 21/* 22 * Enable I2C support 23 */ 24#ifdef CONFIG_CMD_I2C 25/* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */ 26#if defined(CONFIG_NET2BIG_V2) 27#define CFG_SYS_I2C_G762_ADDR 0x3e 28#endif 29#endif /* CONFIG_CMD_I2C */ 30 31/* 32 * Partition support 33 */ 34 35/* 36 * File systems support 37 */ 38 39/* 40 * Environment variables configurations 41 */ 42 43/* 44 * Default environment variables 45 */ 46 47#define CFG_EXTRA_ENV_SETTINGS \ 48 "stdin=serial\0" \ 49 "stdout=serial\0" \ 50 "stderr=serial\0" \ 51 "bootfile=uImage\0" \ 52 "loadaddr=0x800000\0" \ 53 "netconsole=" \ 54 "set stdin $stdin,nc; " \ 55 "set stdout $stdout,nc; " \ 56 "set stderr $stderr,nc;\0" \ 57 "diskload=sata init && " \ 58 "ext2load sata 0:1 $loadaddr /boot/$bootfile\0" \ 59 "usbload=usb start && " \ 60 "fatload usb 0:1 $loadaddr /boot/$bootfile\0" 61 62#endif /* _CONFIG_LACIE_KW_H */ 63