summaryrefslogtreecommitdiff
path: root/include/asm-ppc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/config.h')
-rw-r--r--include/asm-ppc/config.h6
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