diff options
author | Emil Medve <Emilian.Medve@freescale.com> | 2010-08-31 22:57:36 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-27 22:29:04 -0500 |
commit | 3d28c5c8ed84c47314fcc447c86964e7c898a1d5 (patch) | |
tree | 5369a0d43f54c9454692e8d5355d5f4e8dcb8066 /arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h | |
parent | 02bb49891eb68739b38fa7d0b1480a00e81558d0 (diff) | |
download | u-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/cpu/mpc85xx/fsl_corenet_serdes.h')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h index 42d771e..f261351 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_serdes.h @@ -33,7 +33,7 @@ enum srds_bank { int is_serdes_prtcl_valid(u32 prtcl); int serdes_get_lane_idx(int lane); -int serdes_get_bank(int lane); +int serdes_get_bank_by_lane(int lane); int serdes_lane_enabled(int lane); enum srds_prtcl serdes_get_prtcl(int cfg, int lane); |