This converts the following to Kconfig:
CONFIG_FSL_SERDES
Signed-off-by: Tom Rini <trini@konsulko.com>
config FSL_ELBC
bool
+config FSL_SERDES
+ bool "SerDes initialization"
+ depends on !MPC83XX_SERDES
+
source "board/freescale/mpc837xerdb/Kconfig"
source "board/gdsys/mpc8308/Kconfig"
* Author: Li Yang <leoli@freescale.com>
*/
-#ifndef CONFIG_MPC83XX_SERDES
-
#include <config.h>
#include <common.h>
#include <asm/io.h>
tmp |= FSL_SRDSRSTCTL_RST;
out_be32(regs + FSL_SRDSRSTCTL_OFFS, tmp);
}
-
-#endif /* !CONFIG_MPC83XX_SERDES */
CONFIG_SPCR_TSECEP_3=y
CONFIG_LCRR_DBYP_PLL_BYPASSED=y
CONFIG_LCRR_CLKDIV_8=y
+CONFIG_FSL_SERDES=y
CONFIG_SYS_MONITOR_LEN=524288
CONFIG_OF_BOARD_SETUP=y
CONFIG_OF_STDOUT_VIA_ALIAS=y
#define CFG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR+0x4600)
/* SERDES */
-#define CONFIG_FSL_SERDES
#define CONFIG_FSL_SERDES1 0xe3000
#define CONFIG_FSL_SERDES2 0xe3100