From ef26b53a11d8c2c7872fa5dc6fa28de1ee2d94f4 Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Wed, 23 Mar 2022 17:20:01 -0400
Subject: [PATCH] MPC837XERDB: Move CONFIG_PCIE to Kconfig

Move this symbol to the board Kconfig file.

Signed-off-by: Tom Rini <trini@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 03415f9fc9..3779625edd 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 e83097b69a..32604fcefb 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.39.5