[PATCH 14/17] Convert CONFIG_PCI_MSC01 to Kconfig

Tom Rini trini at konsulko.com
Mon Jun 20 14:07:55 CEST 2022


This converts the following to Kconfig:
   CONFIG_PCI_MSC01

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/malta64_defconfig   | 1 +
 configs/malta64el_defconfig | 1 +
 configs/malta_defconfig     | 1 +
 configs/maltael_defconfig   | 1 +
 drivers/pci/Kconfig         | 4 ++++
 include/configs/malta.h     | 2 --
 6 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/configs/malta64_defconfig b/configs/malta64_defconfig
index a2d938c0dc74..be8689071665 100644
--- a/configs/malta64_defconfig
+++ b/configs/malta64_defconfig
@@ -39,5 +39,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
 CONFIG_PCI_GT64120=y
+CONFIG_PCI_MSC01=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig
index f7345b2484a4..436bae8af87c 100644
--- a/configs/malta64el_defconfig
+++ b/configs/malta64el_defconfig
@@ -41,5 +41,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
 CONFIG_PCI_GT64120=y
+CONFIG_PCI_MSC01=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/malta_defconfig b/configs/malta_defconfig
index ae9cad857e2c..88c0d5628dee 100644
--- a/configs/malta_defconfig
+++ b/configs/malta_defconfig
@@ -38,5 +38,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
 CONFIG_PCI_GT64120=y
+CONFIG_PCI_MSC01=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/maltael_defconfig b/configs/maltael_defconfig
index 963b9be59ea0..58d31d6a4432 100644
--- a/configs/maltael_defconfig
+++ b/configs/maltael_defconfig
@@ -40,5 +40,6 @@ CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
 CONFIG_PCI_GT64120=y
+CONFIG_PCI_MSC01=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 680d5baa8029..e4c60561ee5d 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -146,6 +146,10 @@ config PCI_MPC85XX
 	  Say Y here if you want to enable PCI controller support on FSL
 	  PowerPC MPC85xx SoC.
 
+config PCI_MSC01
+	bool "MSC01 PCI support"
+	depends on TARGET_MALTA
+
 config PCI_RCAR_GEN2
 	bool "Renesas RCar Gen2 PCIe driver"
 	depends on RCAR_32
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 75f38000f6ba..affee0069402 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -13,8 +13,6 @@
 
 #define CONFIG_MEMSIZE_IN_BYTES
 
-#define CONFIG_PCI_MSC01
-
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS	0
 
 /*
-- 
2.25.1



More information about the U-Boot mailing list