xref: /openbmc/u-boot/board/LaCie/common/common.h (revision e8f80a5a)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
277ea071fSSimon Guinot /*
377ea071fSSimon Guinot  * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
477ea071fSSimon Guinot  */
577ea071fSSimon Guinot 
677ea071fSSimon Guinot #ifndef _LACIE_COMMON_H
777ea071fSSimon Guinot #define _LACIE_COMMON_H
877ea071fSSimon Guinot 
977ea071fSSimon Guinot #if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
10c59c0857SSimon Guinot void mv_phy_88e1116_init(const char *name, u16 phyaddr);
1137235496SSimon Guinot void mv_phy_88e1318_init(const char *name, u16 phyaddr);
1277ea071fSSimon Guinot #endif
1377ea071fSSimon Guinot #if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
1477ea071fSSimon Guinot int lacie_read_mac_address(uchar *mac);
1577ea071fSSimon Guinot #endif
1677ea071fSSimon Guinot 
1777ea071fSSimon Guinot #endif /* _LACIE_COMMON_H */
18