Convert CONFIG_SH7751_PCI to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 20 Jun 2022 12:07:53 +0000 (08:07 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:05:00 +0000 (17:05 -0400)
This converts the following to Kconfig:
   CONFIG_SH7751_PCI

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/r2dplus_defconfig
drivers/pci/Kconfig
include/configs/r2dplus.h

index 5a38b07..2beda3a 100644 (file)
@@ -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
index 53d0ebd..680d5ba 100644 (file)
@@ -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
index ae71262..409d5af 100644 (file)
@@ -25,9 +25,4 @@
  */
 #define        CONFIG_SYS_PLL_SETTLING_TIME    100/* in us */
 
-/*
- * SuperH PCI Bridge Configration
- */
-#define CONFIG_SH7751_PCI
-
 #endif /* __CONFIG_H */