]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/config.h
tsec: Convert tsec to use PHY Lib
[u-boot] / arch / powerpc / include / asm / config.h
index 536f1423313aa0920d90bd85bcbdabd7ee196e73..624d8c2cc0477715433e4cdffd0e0ab4ee4123fd 100644 (file)
 #endif
 #endif
 
+/* The TSEC driver uses the PHYLIB infrastructure */
+#ifndef CONFIG_PHYLIB
+#if defined(CONFIG_TSEC_ENET)
+#define CONFIG_PHYLIB
+
+#include <config_phylib_all_drivers.h>
+#endif /* TSEC_ENET */
+#endif /* !CONFIG_PHYLIB */
+
 /* All PPC boards must swap IDE bytes */
 #define CONFIG_IDE_SWAP_IO