This converts the following to Kconfig:
   CONFIG_PCI_GT64120

Signed-off-by: Tom Rini <tr...@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     | 1 -
 6 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/configs/malta64_defconfig b/configs/malta64_defconfig
index cbea4fadff7e..a2d938c0dc74 100644
--- a/configs/malta64_defconfig
+++ b/configs/malta64_defconfig
@@ -38,5 +38,6 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
+CONFIG_PCI_GT64120=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig
index b268e33a379f..f7345b2484a4 100644
--- a/configs/malta64el_defconfig
+++ b/configs/malta64el_defconfig
@@ -40,5 +40,6 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
+CONFIG_PCI_GT64120=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/malta_defconfig b/configs/malta_defconfig
index 7b1b50547a4d..ae9cad857e2c 100644
--- a/configs/malta_defconfig
+++ b/configs/malta_defconfig
@@ -37,5 +37,6 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
+CONFIG_PCI_GT64120=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/maltael_defconfig b/configs/maltael_defconfig
index 540864b57327..963b9be59ea0 100644
--- a/configs/maltael_defconfig
+++ b/configs/maltael_defconfig
@@ -39,5 +39,6 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PCNET=y
+CONFIG_PCI_GT64120=y
 CONFIG_RTC_MC146818=y
 CONFIG_SYS_NS16550=y
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index f4c4aece58d7..0ef5c2923378 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -101,6 +101,10 @@ config PCIE_ECAM_SYNQUACER
          Note that this must be configured when boot because Linux driver
          expects the PCIe RC has been configured in the bootloader.
 
+config PCI_GT64120
+       bool "GT64120 PCI support"
+       depends on MIPS
+
 config PCI_PHYTIUM
        bool "Phytium PCIe support"
        help
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 225ed7cd5cdc..75f38000f6ba 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -13,7 +13,6 @@
 
 #define CONFIG_MEMSIZE_IN_BYTES
 
-#define CONFIG_PCI_GT64120
 #define CONFIG_PCI_MSC01
 
 #define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
-- 
2.25.1

Reply via email to