summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorShaveta Leekha <shaveta@freescale.com>2013-07-02 14:42:07 +0530
committerYork Sun <yorksun@freescale.com>2013-08-09 12:41:41 -0700
commit40f398a42b2f7509f08cfe2dd0e77aa3eeec6540 (patch)
treecba1fcd22871f8e4757259cf21d3f9e2e59d9523 /arch
parent6fbe9889016e84b6e3e7188955f555f936ecb832 (diff)
downloadu-boot-imx-40f398a42b2f7509f08cfe2dd0e77aa3eeec6540.zip
u-boot-imx-40f398a42b2f7509f08cfe2dd0e77aa3eeec6540.tar.gz
u-boot-imx-40f398a42b2f7509f08cfe2dd0e77aa3eeec6540.tar.bz2
powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h1
-rw-r--r--arch/powerpc/include/asm/fsl_serdes.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h
index 6de572d..d515b23 100644
--- a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h
+++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h
@@ -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 */
diff --git a/arch/powerpc/include/asm/fsl_serdes.h b/arch/powerpc/include/asm/fsl_serdes.h
index 59189ad..1106d28 100644
--- a/arch/powerpc/include/asm/fsl_serdes.h
+++ b/arch/powerpc/include/asm/fsl_serdes.h
@@ -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