Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Guinot | 77ea071 | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> |
Simon Guinot | 77ea071 | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _LACIE_COMMON_H |
| 7 | #define _LACIE_COMMON_H |
| 8 | |
| 9 | #if defined(CONFIG_CMD_NET) && defined(CONFIG_RESET_PHY_R) |
Simon Guinot | c59c085 | 2012-06-05 13:16:00 +0000 | [diff] [blame] | 10 | void mv_phy_88e1116_init(const char *name, u16 phyaddr); |
Simon Guinot | 3723549 | 2012-09-06 10:51:42 +0000 | [diff] [blame] | 11 | void mv_phy_88e1318_init(const char *name, u16 phyaddr); |
Simon Guinot | 77ea071 | 2011-11-21 19:25:47 +0530 | [diff] [blame] | 12 | #endif |
| 13 | #if defined(CONFIG_CMD_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR) |
| 14 | int lacie_read_mac_address(uchar *mac); |
| 15 | #endif |
| 16 | |
| 17 | #endif /* _LACIE_COMMON_H */ |