]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/fsl_serdes.h
powerpc/mp: add support for discontiguous cores
[u-boot] / arch / powerpc / include / asm / fsl_serdes.h
index d4839f4673f5c5b3c7c6ff6c6b0b62859db16dc2..0f31af1db320e8d9272eaefd8dbf9446a8b546a2 100644 (file)
@@ -32,8 +32,15 @@ enum srds_prtcl {
        SATA2,
        SRIO1,
        SRIO2,
-       SGMII_FM1,
-       SGMII_FM2,
+       SGMII_FM1_DTSEC1,
+       SGMII_FM1_DTSEC2,
+       SGMII_FM1_DTSEC3,
+       SGMII_FM1_DTSEC4,
+       SGMII_FM1_DTSEC5,
+       SGMII_FM2_DTSEC1,
+       SGMII_FM2_DTSEC2,
+       SGMII_FM2_DTSEC3,
+       SGMII_FM2_DTSEC4,
        SGMII_TSEC1,
        SGMII_TSEC2,
        SGMII_TSEC3,
@@ -44,5 +51,13 @@ enum srds_prtcl {
 };
 
 int is_serdes_configured(enum srds_prtcl device);
+void fsl_serdes_init(void);
+
+#ifdef CONFIG_FSL_CORENET
+int serdes_get_first_lane(enum srds_prtcl device);
+#ifdef CONFIG_SYS_P4080_ERRATUM_SERDES9
+void serdes_reset_rx(enum srds_prtcl device);
+#endif
+#endif
 
 #endif /* __FSL_SERDES_H */