summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-06-20 08:07:53 -0400
committerTom Rini <[email protected]>2022-07-05 17:05:00 -0400
commit31a8f5545eb8f2d2e1bdf0ccdb1d1b63a16c9008 (patch)
tree062c8dd96dd2924daaf02c505d2fd79d0a7848dc
parent9ee06d286ae6bd9ae5c5edbfdc07bba71e2badff (diff)
Convert CONFIG_SH7751_PCI to Kconfig
This converts the following to Kconfig: CONFIG_SH7751_PCI Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--configs/r2dplus_defconfig1
-rw-r--r--drivers/pci/Kconfig6
-rw-r--r--include/configs/r2dplus.h5
3 files changed, 7 insertions, 5 deletions
diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig
index 5a38b070437..2beda3a2fe0 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 53d0ebd745e..680d5baa802 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 ae712629df3..409d5af0241 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 */