diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2013-10-18 11:47:23 +0200 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-10-24 09:36:18 -0700 |
commit | 935b402eaec0f78ffdafd614aa8176a777d8b6d9 (patch) | |
tree | d6cf06666345e9a4ae5894bb2c1919a5f95fb798 /arch/powerpc/include/asm | |
parent | 2f9e559a6cd0b33acbc00a2ea040121c03a8f80b (diff) | |
download | u-boot-imx-935b402eaec0f78ffdafd614aa8176a777d8b6d9.zip u-boot-imx-935b402eaec0f78ffdafd614aa8176a777d8b6d9.tar.gz u-boot-imx-935b402eaec0f78ffdafd614aa8176a777d8b6d9.tar.bz2 |
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 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/fsl_serdes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_serdes.h b/arch/powerpc/include/asm/fsl_serdes.h index 1106d28..cce892c 100644 --- a/arch/powerpc/include/asm/fsl_serdes.h +++ b/arch/powerpc/include/asm/fsl_serdes.h @@ -86,6 +86,7 @@ enum srds { int is_serdes_configured(enum srds_prtcl device); void fsl_serdes_init(void); +const char *serdes_clock_to_string(u32 clock); #ifdef CONFIG_FSL_CORENET #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2 |