summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@freescale.com>2010-08-31 22:57:36 -0500
committerKumar Gala <galak@kernel.crashing.org>2011-04-27 22:29:04 -0500
commit3d28c5c8ed84c47314fcc447c86964e7c898a1d5 (patch)
tree5369a0d43f54c9454692e8d5355d5f4e8dcb8066 /arch/powerpc/include
parent02bb49891eb68739b38fa7d0b1480a00e81558d0 (diff)
downloadu-boot-imx-3d28c5c8ed84c47314fcc447c86964e7c898a1d5.zip
u-boot-imx-3d28c5c8ed84c47314fcc447c86964e7c898a1d5.tar.gz
u-boot-imx-3d28c5c8ed84c47314fcc447c86964e7c898a1d5.tar.bz2
powerpc/85xx: fsl_corenet_serdes code rework
Rework and add some new APIs to the fsl_corenet_serdes code for use by erratum and drivers. * Rename serdes_get_bank() to serdes_get_bank_by_lane() * Add serdes_get_first_lane returns which SERDES lane is used by device Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/fsl_serdes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_serdes.h b/arch/powerpc/include/asm/fsl_serdes.h
index 85518eb..9d9f2e4 100644
--- a/arch/powerpc/include/asm/fsl_serdes.h
+++ b/arch/powerpc/include/asm/fsl_serdes.h
@@ -53,4 +53,8 @@ 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);
+#endif
+
#endif /* __FSL_SERDES_H */