xref: /openbmc/u-boot/board/gdsys/common/ihs_mdio.h (revision 87a62bce)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2014
4  * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
5  */
6 
7 #ifndef _IHS_MDIO_H_
8 #define _IHS_MDIO_H_
9 
10 struct ihs_mdio_info {
11 #ifdef CONFIG_GDSYS_LEGACY_DRIVERS
12 	u32 fpga;
13 #else
14 	struct udevice *fpga;
15 	int base;
16 #endif
17 	char *name;
18 };
19 
20 int ihs_mdio_init(struct ihs_mdio_info *info);
21 
22 #endif
23