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/cpu | |
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/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/serdes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/serdes.c b/arch/powerpc/cpu/mpc83xx/serdes.c index 982a4475f0..8242f95265 100644 --- a/arch/powerpc/cpu/mpc83xx/serdes.c +++ b/arch/powerpc/cpu/mpc83xx/serdes.c @@ -8,6 +8,8 @@ * Author: Li Yang <leoli@freescale.com> */ +#ifndef CONFIG_MPC83XX_SERDES + #include <config.h> #include <common.h> #include <asm/io.h> @@ -148,3 +150,5 @@ void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd) tmp |= FSL_SRDSRSTCTL_RST; out_be32(regs + FSL_SRDSRSTCTL_OFFS, tmp); } + +#endif /* !CONFIG_MPC83XX_SERDES */ |