summaryrefslogtreecommitdiff
path: root/board/freescale/corenet_ds
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2013-10-18 11:47:23 +0200
committerYork Sun <yorksun@freescale.com>2013-10-24 09:36:18 -0700
commit935b402eaec0f78ffdafd614aa8176a777d8b6d9 (patch)
treed6cf06666345e9a4ae5894bb2c1919a5f95fb798 /board/freescale/corenet_ds
parent2f9e559a6cd0b33acbc00a2ea040121c03a8f80b (diff)
fsl/mpc85xx: define common serdes_clock_to_string function
This allows to share some common code for the boards that use a corenet base SoC. Two different versions of the function are available in fsl_corenet_serdes.c and fsl_corenet2_serdes.c files. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> [York Sun: fix t1040qds.c] Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/corenet_ds')
-rw-r--r--board/freescale/corenet_ds/corenet_ds.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/board/freescale/corenet_ds/corenet_ds.c b/board/freescale/corenet_ds/corenet_ds.c
index 60e2100af3..9212372fee 100644
--- a/board/freescale/corenet_ds/corenet_ds.c
+++ b/board/freescale/corenet_ds/corenet_ds.c
@@ -127,20 +127,6 @@ int board_early_init_r(void)
return 0;
}
-static const char *serdes_clock_to_string(u32 clock)
-{
- switch(clock) {
- case SRDS_PLLCR0_RFCK_SEL_100:
- return "100";
- case SRDS_PLLCR0_RFCK_SEL_125:
- return "125";
- case SRDS_PLLCR0_RFCK_SEL_156_25:
- return "156.25";
- default:
- return "150";
- }
-}
-
#define NUM_SRDS_BANKS 3
int misc_init_r(void)