]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h
authorShaveta Leekha <shaveta@freescale.com>
Tue, 2 Jul 2013 09:12:07 +0000 (14:42 +0530)
committerYork Sun <yorksun@freescale.com>
Fri, 9 Aug 2013 19:41:41 +0000 (12:41 -0700)
It allows files not in the same path to use this function
as required by B4 board file

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h
arch/powerpc/include/asm/fsl_serdes.h

index 6de572d5945b590023aecc7dbd08907707489889..d515b234a4914fb3d3eb1607732aada988693fbc 100644 (file)
@@ -9,5 +9,4 @@
 
 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
 int serdes_lane_enabled(int lane);
-enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
 #endif /* __FSL_CORENET2_SERDES_H */
index 59189adb395f57cc4c25bbb81310268d80ad333c..1106d280583e065ba364989140a031bcec391877 100644 (file)
@@ -90,6 +90,7 @@ void fsl_serdes_init(void);
 #ifdef CONFIG_FSL_CORENET
 #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
 int serdes_get_first_lane(u32 sd, enum srds_prtcl device);
+enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
 #else
 int serdes_get_first_lane(enum srds_prtcl device);
 #endif