]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/exports.c
tpm: Move the I2C TPM code into one file
[karo-tx-uboot.git] / common / exports.c
index 333107c74c3c68f9244eea3cdbd44a6f0c1c2802..b4f1f7af152997607aeab793637d2a832380abab 100644 (file)
@@ -16,6 +16,13 @@ unsigned long get_version(void)
 
 #define EXPORT_FUNC(f, a, x, ...)  gd->jt->x = f;
 
+#ifndef CONFIG_PHY_AQUANTIA
+# define mdio_get_current_dev          dummy
+# define phy_find_by_mask              dummy
+# define mdio_phydev_for_ethname       dummy
+# define miiphy_set_current_dev                dummy
+#endif
+
 void jumptable_init(void)
 {
        gd->jt = malloc(sizeof(struct jt_funcs));