[PATCH 14/22] MPC837XERDB: Move CONFIG_PCIE to Kconfig

Tom Rini trini at konsulko.com
Wed Mar 23 22:20:01 CET 2022


Move this symbol to the board Kconfig file.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/freescale/mpc837xerdb/Kconfig | 3 +++
 configs/MPC837XERDB_defconfig       | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/board/freescale/mpc837xerdb/Kconfig b/board/freescale/mpc837xerdb/Kconfig
index 03415f9fc941..3779625edd52 100644
--- a/board/freescale/mpc837xerdb/Kconfig
+++ b/board/freescale/mpc837xerdb/Kconfig
@@ -1,5 +1,8 @@
 if TARGET_MPC837XERDB
 
+config PCIE
+	def_bool y
+
 config SYS_BOARD
 	default "mpc837xerdb"
 
diff --git a/configs/MPC837XERDB_defconfig b/configs/MPC837XERDB_defconfig
index e83097b69a48..32604fcefbaf 100644
--- a/configs/MPC837XERDB_defconfig
+++ b/configs/MPC837XERDB_defconfig
@@ -147,7 +147,6 @@ CONFIG_LCRR_DBYP_PLL_BYPASSED=y
 CONFIG_LCRR_CLKDIV_8=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_SYS_EXTRA_OPTIONS="PCIE"
 CONFIG_BOOTDELAY=6
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_MISC_INIT_R=y
-- 
2.25.1



More information about the U-Boot mailing list