blob: 733f919cf88a6cbf87f855753e81b65759342b53 [file] [log] [blame]
Anton Vorontsov453316a2008-03-24 17:40:32 +03001#ifndef __FSL_SERDES_H
2#define __FSL_SERDES_H
3
4#include <config.h>
5
6#define FSL_SERDES_CLK_100 0
7#define FSL_SERDES_CLK_125 1
8#define FSL_SERDES_CLK_150 3
9#define FSL_SERDES_PROTO_SATA 0
10#define FSL_SERDES_PROTO_PEX 1
11#define FSL_SERDES_PROTO_PEX_X2 2
12#define FSL_SERDES_PROTO_SGMII 3
13#define FSL_SERDES_VDD_1V 1
14
15#ifdef CONFIG_FSL_SERDES
16extern void fsl_setup_serdes(u32 offset, char proto, char rfcks, char vdd);
17#else
18static void fsl_setup_serdes(u32 offset, char proto, char rfcks, char vdd) {}
19#endif /* CONFIG_FSL_SERDES */
20
21#endif /* __FSL_SERDES_H */