summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-20 17:12:52 -0400
committerTom Rini <trini@konsulko.com>2015-07-20 17:12:52 -0400
commitb217c89e8565ade3aaa9f74c33c93236bf151187 (patch)
tree878ccd12b9035fb6d2ccfda6d21ef3e1c85210f8 /common
parent73e1e7952a2a629dc071d894594df4852acc11ad (diff)
parentdb14f11dfe348550d8c10c6609277488d9f500d6 (diff)
downloadtalos-obmc-uboot-b217c89e8565ade3aaa9f74c33c93236bf151187.tar.gz
talos-obmc-uboot-b217c89e8565ade3aaa9f74c33c93236bf151187.zip
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'common')
-rw-r--r--common/exports.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/exports.c b/common/exports.c
index 333107c74c..b4f1f7af15 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -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));
OpenPOWER on IntegriCloud