diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-08-06 11:23:46 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-09-18 17:12:21 +0300 |
commit | d2166319df17286b2a3e2a1a7ce89f01e4f8bac9 (patch) | |
tree | b102f2c59d51a124be29bf9f4e6a0bae60e6fdab /arch/powerpc/include | |
parent | 19fbdca47b3d847824ada3ab2ed575019c88516e (diff) | |
download | u-boot-d2166319df17286b2a3e2a1a7ce89f01e4f8bac9.tar.xz |
misc: Add MPC83xx serdes driver
Add a driver to configure the SerDes (Serializer/Deserializer) lanes on
the MPC83xx architecture.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/fsl_mpc83xx_serdes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_mpc83xx_serdes.h b/arch/powerpc/include/asm/fsl_mpc83xx_serdes.h index e51d060d6a..a02b599265 100644 --- a/arch/powerpc/include/asm/fsl_mpc83xx_serdes.h +++ b/arch/powerpc/include/asm/fsl_mpc83xx_serdes.h @@ -6,6 +6,8 @@ #ifndef __FSL_MPC83XX_SERDES_H #define __FSL_MPC83XX_SERDES_H +#ifndef CONFIG_MPC83XX_SERDES + #include <config.h> #define FSL_SERDES_CLK_100 (0 << 28) @@ -19,4 +21,6 @@ extern void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd); +#endif /* !CONFIG_MPC83XX_SERDES */ + #endif /* __FSL_MPC83XX_SERDES_H */ |