]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/phy.h
mpc8313, signed fit: enable legacy image format on ids8313 board
[karo-tx-uboot.git] / include / phy.h
index d3001f1381f772dfdfca61fcbaf623e23c568a39..d3ecd6378b3b97b718748ad06a8346a8dc409f03 100644 (file)
@@ -163,6 +163,14 @@ struct phy_device {
        u32 flags;
 };
 
+struct fixed_link {
+       int phy_id;
+       int duplex;
+       int link_speed;
+       int pause;
+       int asym_pause;
+};
+
 static inline int phy_read(struct phy_device *phydev, int devad, int regnum)
 {
        struct mii_dev *bus = phydev->bus;
@@ -226,6 +234,8 @@ int phy_smsc_init(void);
 int phy_teranetics_init(void);
 int phy_vitesse_init(void);
 
+int board_phy_config(struct phy_device *phydev);
+
 /* PHY UIDs for various PHYs that are referenced in external code */
 #define PHY_UID_TN2020 0x00a19410