From ae51f41d14f548d494ac41e0d21137c5a4c3f59c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 14:21:52 +0800 Subject: import the U-Boot code and make it compile --- include/mii_phy.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/mii_phy.h (limited to 'include/mii_phy.h') diff --git a/include/mii_phy.h b/include/mii_phy.h new file mode 100644 index 0000000..f0d3e62 --- /dev/null +++ b/include/mii_phy.h @@ -0,0 +1,8 @@ +#ifndef _MII_PHY_H_ +#define _MII_PHY_H_ + +void mii_discover_phy(void); +unsigned short mii_phy_read(unsigned short reg); +void mii_phy_write(unsigned short reg, unsigned short val); + +#endif -- cgit v1.2.3