diff options
author | Tom Rini | 2022-11-19 18:45:13 -0500 |
---|---|---|
committer | Tom Rini | 2022-12-05 16:06:43 -0500 |
commit | 5cafaedeac41c966b8f554182944d9dc0b531190 (patch) | |
tree | 80fa252245623e6cc694e90c23e68bf4f796e371 /arch/powerpc | |
parent | d58d0663cbaa6a1ff9a71cafe777a2346ef24dc6 (diff) |
Convert CONFIG_FSL_SERDES to Kconfig
This converts the following to Kconfig:
CONFIG_FSL_SERDES
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/Kconfig | 4 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/serdes.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig index ec3405e9678..563f52c5fdb 100644 --- a/arch/powerpc/cpu/mpc83xx/Kconfig +++ b/arch/powerpc/cpu/mpc83xx/Kconfig @@ -196,6 +196,10 @@ config 83XX_PCICLK config FSL_ELBC bool +config FSL_SERDES + bool "SerDes initialization" + depends on !MPC83XX_SERDES + source "board/freescale/mpc837xerdb/Kconfig" source "board/gdsys/mpc8308/Kconfig" diff --git a/arch/powerpc/cpu/mpc83xx/serdes.c b/arch/powerpc/cpu/mpc83xx/serdes.c index bb963ee5e2f..d4848b2ec4d 100644 --- a/arch/powerpc/cpu/mpc83xx/serdes.c +++ b/arch/powerpc/cpu/mpc83xx/serdes.c @@ -8,8 +8,6 @@ * Author: Li Yang <leoli@freescale.com> */ -#ifndef CONFIG_MPC83XX_SERDES - #include <config.h> #include <common.h> #include <asm/io.h> @@ -151,5 +149,3 @@ 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 */ |