]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
armv8: ls1088a: Add NXP LS1088A SoC support
[u-boot] / arch / arm / include / asm / arch-fsl-layerscape / fsl_serdes.h
index a8f9a505016da36f9b7ea9f16b9f899c09162a19..a2c7578311032b7b36ceae359b7c11181a4a10ca 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <config.h>
 
-#ifdef CONFIG_ARCH_LS2080A
+#ifdef CONFIG_FSL_LSCH3
 enum srds_prtcl {
        /*
         * Nobody will check whether the device 'NONE' has been configured,
@@ -158,6 +158,7 @@ void fsl_serdes_init(void);
 int serdes_get_first_lane(u32 sd, enum srds_prtcl device);
 enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
+int serdes_get_number(int serdes, int cfg);
 
 #ifdef CONFIG_FSL_LSCH2
 const char *serdes_clock_to_string(u32 clock);