blob: bf75d0a09782d9359321af8e5fedc7f90795a9d1 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Guinot77ea0712011-11-21 19:25:47 +05302/*
3 * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
Simon Guinot77ea0712011-11-21 19:25:47 +05304 */
5
6#ifndef _LACIE_COMMON_H
7#define _LACIE_COMMON_H
8
9#if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
Simon Guinotc59c0852012-06-05 13:16:00 +000010void mv_phy_88e1116_init(const char *name, u16 phyaddr);
Simon Guinot37235492012-09-06 10:51:42 +000011void mv_phy_88e1318_init(const char *name, u16 phyaddr);
Simon Guinot77ea0712011-11-21 19:25:47 +053012#endif
13#if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
14int lacie_read_mac_address(uchar *mac);
15#endif
16
17#endif /* _LACIE_COMMON_H */