projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '2019-07-26-ti-imports'
[oweals/u-boot.git]
/
common
/
exports.c
diff --git
a/common/exports.c
b/common/exports.c
index 333107c74c3c68f9244eea3cdbd44a6f0c1c2802..b4f1f7af152997607aeab793637d2a832380abab 100644
(file)
--- 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;
#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));
void jumptable_init(void)
{
gd->jt = malloc(sizeof(struct jt_funcs));