diff mbox series

[12/17] Convert CONFIG_SH7751_PCI to Kconfig

Message ID 20220620120758.765049-12-trini@konsulko.com
State Accepted
Commit 31a8f5545eb8f2d2e1bdf0ccdb1d1b63a16c9008
Delegated to: Tom Rini
Headers show
Series [01/17] Convert CONFIG_FSL_FIXED_MMC_LOCATION et al to Kconfig | expand

Commit Message

Tom Rini June 20, 2022, 12:07 p.m. UTC
This converts the following to Kconfig:
   CONFIG_SH7751_PCI

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 configs/r2dplus_defconfig | 1 +
 drivers/pci/Kconfig       | 6 ++++++
 include/configs/r2dplus.h | 5 -----
 3 files changed, 7 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig
index 5a38b070437d..2beda3a2fe0a 100644
--- a/configs/r2dplus_defconfig
+++ b/configs/r2dplus_defconfig
@@ -52,6 +52,7 @@  CONFIG_PCNET=y
 CONFIG_RTL8139=y
 CONFIG_TULIP=y
 CONFIG_PCI=y
+CONFIG_SH7751_PCI=y
 CONFIG_SPECIFY_CONSOLE_INDEX=y
 CONFIG_DM_SERIAL=y
 CONFIG_SERIAL_RX_BUFFER=y
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 53d0ebd745e7..680d5baa8029 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -171,6 +171,12 @@  config PCI_SANDBOX
 	  the device tree but the normal PCI scan technique is used to find
 	  then.
 
+config SH7751_PCI
+	bool "SH7751 PCI controller support"
+	depends on SH
+	help
+	  SuperH PCI Bridge Configuration
+
 config PCI_TEGRA
 	bool "Tegra PCI support"
 	depends on ARCH_TEGRA
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index ae712629df34..409d5af0241d 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -25,9 +25,4 @@ 
  */
 #define	CONFIG_SYS_PLL_SETTLING_TIME	100/* in us */
 
-/*
- * SuperH PCI Bridge Configration
- */
-#define CONFIG_SH7751_PCI
-
 #endif /* __CONFIG_H */