blob: c24e5885d1f6e23c3678e2ba70dbbba132cc3c92 [file] [log] [blame]
Simon Guinota35cb4c2011-11-21 19:25:47 +05301/*
2 * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com>
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Simon Guinota35cb4c2011-11-21 19:25:47 +05305 */
6
7#ifndef _LACIE_COMMON_H
8#define _LACIE_COMMON_H
9
10#if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R)
Simon Guinot0473b682012-06-05 13:16:00 +000011void mv_phy_88e1116_init(const char *name, u16 phyaddr);
Simon Guinot13c5ae62012-09-06 10:51:42 +000012void mv_phy_88e1318_init(const char *name, u16 phyaddr);
Simon Guinota35cb4c2011-11-21 19:25:47 +053013#endif
14#if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR)
15int lacie_read_mac_address(uchar *mac);
16#endif
17
18#endif /* _LACIE_COMMON_H */