[PoC 046/241] global: Migrate CONFIG_FSL_SERDES2 to CFG

Tom Rini
2022-11-20T13:52:55Z

board/freescale/mpc837xerdb/mpc837xerdb.c | 6 +++---
include/configs/MPC837XERDB.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c
index 9c08a2bfef02..8b1bfe0a9f91 100644
--- a/board/freescale/mpc837xerdb/mpc837xerdb.c
+++ b/board/freescale/mpc837xerdb/mpc837xerdb.c
@@ -148,17 +148,17 @@ int board_early_init_f(void)
case SPR_8377:
fsl_setup_serdes(CFG_FSL_SERDES1, FSL_SERDES_PROTO_SATA,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
- fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
+ fsl_setup_serdes(CFG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break;
case SPR_8378:
- fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
+ fsl_setup_serdes(CFG_FSL_SERDES2, FSL_SERDES_PROTO_PEX,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break;
case SPR_8379:
fsl_setup_serdes(CFG_FSL_SERDES1, FSL_SERDES_PROTO_SATA,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
- fsl_setup_serdes(CONFIG_FSL_SERDES2, FSL_SERDES_PROTO_SATA,
+ fsl_setup_serdes(CFG_FSL_SERDES2, FSL_SERDES_PROTO_SATA,
FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V);
break;
default:
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 4a3db8dec0ed..2e1264978908 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -154,7 +154,7 @@

/* SERDES */
#define CFG_FSL_SERDES1 0xe3000
-#define CONFIG_FSL_SERDES2 0xe3100
+#define CFG_FSL_SERDES2 0xe3100

/* I2C */
#define CFG_SYS_I2C_NOPROBES { {0, 0x51} }
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 29d5b933b9df..ea7eaef5d15f 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -46,7 +46,7 @@ CFG_FSL_PMIC_CS
CFG_FSL_PMIC_MODE
CFG_FSL_SDHC_V2_3
CFG_FSL_SERDES1
-CONFIG_FSL_SERDES2
+CFG_FSL_SERDES2
CONFIG_GATEWAYIP
CONFIG_GMII
CONFIG_G_DNL_THOR_PRODUCT_NUM
--
2.25.1