Convert CONFIG_PCI_GT64120 to Kconfig
This converts the following to Kconfig:
CONFIG_PCI_GT64120
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/configs/malta64_defconfig b/configs/malta64_defconfig
index cbea4fa..a2d938c 100644
--- a/configs/malta64_defconfig
+++ b/configs/malta64_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_RTC_MC146818=y
CONFIG_SYS_NS16550=y
diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig
index 206d5bb..301652c 100644
--- a/configs/malta64el_defconfig
+++ b/configs/malta64el_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_RTC_MC146818=y
CONFIG_SYS_NS16550=y
diff --git a/configs/malta_defconfig b/configs/malta_defconfig
index 7b1b505..ae9cad8 100644
--- a/configs/malta_defconfig
+++ b/configs/malta_defconfig
@@ -37,5 +37,6 @@
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 540864b..963b9be 100644
--- a/configs/maltael_defconfig
+++ b/configs/maltael_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_RTC_MC146818=y
CONFIG_SYS_NS16550=y
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index f4c4aec..0ef5c29 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -101,6 +101,10 @@
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 225ed7c..75f3800 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