diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2009-10-31 11:23:41 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-01-05 13:49:04 -0600 |
commit | 3ad89c4ecba51564c97075f031aef4fa5eafbb16 (patch) | |
tree | 3e3bfe3ef003dfd606d9c6cbd2e4dd4c0c4d68ad /include/asm-ppc/config.h | |
parent | b9e186fc31683a4f1b6880c086950b2270e62e24 (diff) | |
download | u-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/config.h')
-rw-r--r-- | include/asm-ppc/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h index af0853b..d5f82b4 100644 --- a/include/asm-ppc/config.h +++ b/include/asm-ppc/config.h @@ -57,6 +57,12 @@ #endif #endif +/* Enable TSEC2.0 for the platforms that have it if we are using TSEC */ +#if defined(CONFIG_TSEC_ENET) && \ + (defined(CONFIG_P1020) || defined(CONFIG_P1011)) +#define CONFIG_TSECV2 +#endif + /* Relocation to SDRAM works on all PPC boards */ #define CONFIG_RELOC_FIXUP_WORKS |