summaryrefslogtreecommitdiff
path: root/include/asm-ppc/immap_85xx.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-10-31 11:23:41 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-01-05 13:49:04 -0600
commit3ad89c4ecba51564c97075f031aef4fa5eafbb16 (patch)
tree3e3bfe3ef003dfd606d9c6cbd2e4dd4c0c4d68ad /include/asm-ppc/immap_85xx.h
parentb9e186fc31683a4f1b6880c086950b2270e62e24 (diff)
downloadu-boot-imx-3ad89c4ecba51564c97075f031aef4fa5eafbb16.zip
u-boot-imx-3ad89c4ecba51564c97075f031aef4fa5eafbb16.tar.gz
u-boot-imx-3ad89c4ecba51564c97075f031aef4fa5eafbb16.tar.bz2
NET: Base support for etsec2.0
1. Modified the tsec_mdio structure to include the new regs 2. Modified the MDIO_BASE_ADDR so that it will handle both older version and new version of etsec. Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/immap_85xx.h')
-rw-r--r--include/asm-ppc/immap_85xx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
index 3d24ebe..43b3a2c 100644
--- a/include/asm-ppc/immap_85xx.h
+++ b/include/asm-ppc/immap_85xx.h
@@ -1959,8 +1959,12 @@ enum {
#define CONFIG_SYS_MPC85xx_L2_OFFSET 0x20000
#define CONFIG_SYS_MPC85xx_DMA_OFFSET 0x21000
#define CONFIG_SYS_MPC85xx_USB_OFFSET 0x22000
+#ifdef CONFIG_TSECV2
+#define CONFIG_SYS_TSEC1_OFFSET 0xB0000
+#else
#define CONFIG_SYS_TSEC1_OFFSET 0x24000
-#define CONFIG_SYS_MDIO1_OFFSET 0x24520
+#endif
+#define CONFIG_SYS_MDIO1_OFFSET 0x24000
#define CONFIG_SYS_MPC85xx_ESDHC_OFFSET 0x2e000
#define CONFIG_SYS_MPC85xx_SERDES2_OFFSET 0xE3100
#define CONFIG_SYS_MPC85xx_SERDES1_OFFSET 0xE3000