xref: /rk3399_rockchip-uboot/board/LaCie/common/common.h (revision 326ea986ac150acdc7656d57fca647db80b50158)
177ea071fSSimon Guinot /*
277ea071fSSimon Guinot  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
377ea071fSSimon Guinot  *
4*1a459660SWolfgang Denk  * SPDX-License-Identifier:	GPL-2.0+
577ea071fSSimon Guinot  */
677ea071fSSimon Guinot 
777ea071fSSimon Guinot #ifndef _LACIE_COMMON_H
877ea071fSSimon Guinot #define _LACIE_COMMON_H
977ea071fSSimon Guinot 
1077ea071fSSimon Guinot #if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
11c59c0857SSimon Guinot void mv_phy_88e1116_init(const char *name, u16 phyaddr);
1237235496SSimon Guinot void mv_phy_88e1318_init(const char *name, u16 phyaddr);
1377ea071fSSimon Guinot #endif
1477ea071fSSimon Guinot #if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
1577ea071fSSimon Guinot int lacie_read_mac_address(uchar *mac);
1677ea071fSSimon Guinot #endif
1777ea071fSSimon Guinot 
1877ea071fSSimon Guinot #endif /* _LACIE_COMMON_H */
19