summaryrefslogtreecommitdiff
path: root/include/405gp_enet.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-08-02 14:43:57 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-08-02 14:43:57 +0200
commit7d939f89471d05ee40764156dd7147bca148c068 (patch)
treed486d08a91b344617454ee501678f184595d6ba3 /include/405gp_enet.h
parent0f18cb6eef469688a1c57647e486c1341c045b9f (diff)
parent7770ce47e4904b295632cae95f24fa6f62eb9e32 (diff)
downloadu-boot-imx-7d939f89471d05ee40764156dd7147bca148c068.zip
u-boot-imx-7d939f89471d05ee40764156dd7147bca148c068.tar.gz
u-boot-imx-7d939f89471d05ee40764156dd7147bca148c068.tar.bz2
Merge with /home/sr/git/u-boot
Diffstat (limited to 'include/405gp_enet.h')
-rw-r--r--include/405gp_enet.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/405gp_enet.h b/include/405gp_enet.h
index 88ac4add..233ea11 100644
--- a/include/405gp_enet.h
+++ b/include/405gp_enet.h
@@ -67,7 +67,11 @@ struct arp_entry {
/*Register addresses */
#if defined(CONFIG_440)
+#if defined(CONFIG_440_EP) || defined(CONFIG_440_GR)
+#define ZMII_BASE (CFG_PERIPHERAL_BASE + 0x0D00)
+#else
#define ZMII_BASE (CFG_PERIPHERAL_BASE + 0x0780)
+#endif
#define ZMII_FER (ZMII_BASE)
#define ZMII_SSR (ZMII_BASE + 4)
#define ZMII_SMIISR (ZMII_BASE + 8)
@@ -77,7 +81,11 @@ struct arp_entry {
#endif /* CONFIG_440 */
#if defined(CONFIG_440)
-#define EMAC_BASE (CFG_PERIPHERAL_BASE + 0x0800)
+#if defined(CONFIG_440_EP) || defined(CONFIG_440_GR)
+#define EMAC_BASE (CFG_PERIPHERAL_BASE + 0x0E00)
+#else
+#define EMAC_BASE (CFG_PERIPHERAL_BASE + 0x0800)
+#endif
#else
#define EMAC_BASE 0xEF600800
#endif