2011-11-21 13:55:47 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-11-21 13:55:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LACIE_COMMON_H
|
|
|
|
#define _LACIE_COMMON_H
|
|
|
|
|
|
|
|
#if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
|
2012-06-05 13:16:00 +00:00
|
|
|
void mv_phy_88e1116_init(const char *name, u16 phyaddr);
|
2012-09-06 10:51:42 +00:00
|
|
|
void mv_phy_88e1318_init(const char *name, u16 phyaddr);
|
2011-11-21 13:55:47 +00:00
|
|
|
#endif
|
|
|
|
#if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
|
|
|
|
int lacie_read_mac_address(uchar *mac);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _LACIE_COMMON_H */
|