summaryrefslogtreecommitdiff
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-11-28 06:37:29 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:35 +0100
commit7c587d320d110e41008bc7b658655d22485d05a6 (patch)
tree58392efeb9f5db5e384d79dc169a61ded48b04ff /drivers/net/davinci_emac.c
parent27b8c8f267e260b10450a53b14843eed58cebeff (diff)
downloadu-boot-imx-7c587d320d110e41008bc7b658655d22485d05a6.zip
u-boot-imx-7c587d320d110e41008bc7b658655d22485d05a6.tar.gz
u-boot-imx-7c587d320d110e41008bc7b658655d22485d05a6.tar.bz2
davinci_emac: move arch-independent defines to separate header
DaVinci EMAC is found not only on DaVinci SoCs but on some OMAP3 SoCs also. This patch moves common defines from arch-davinci/emac_defs.h to drivers/net/davinci_emac.h DaVinci specific PHY drivers hacked to include the new header. We might want to switch to phylib in future. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'drivers/net/davinci_emac.c')
-rw-r--r--drivers/net/davinci_emac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 36c33af..43c4373 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -43,6 +43,7 @@
#include <malloc.h>
#include <asm/arch/emac_defs.h>
#include <asm/io.h>
+#include "davinci_emac.h"
unsigned int emac_dbg = 0;
#define debug_emac(fmt,args...) if (emac_dbg) printf(fmt,##args)