Skip to content

Commit 437f2b8

Browse files
Christoph Hellwigmasahir0y
authored andcommitted
MIPS: remove the HT_PCI config option
This option is always selected from LOONGSON_MACH3X. Switch to just seleting PCI from that option and definining LOONGSON_PCIIO_BASE based on CONFIG_LOONGSON_MACH3X. PCI already selects PCI_DOMAINS. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent ccda4af commit 437f2b8

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

arch/mips/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,17 +3040,6 @@ config PCI
30403040
your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
30413041
say Y, otherwise N.
30423042

3043-
config HT_PCI
3044-
bool "Support for HT-linked PCI"
3045-
default y
3046-
depends on CPU_LOONGSON3
3047-
select PCI
3048-
select PCI_DOMAINS
3049-
help
3050-
Loongson family machines use Hyper-Transport bus for inter-core
3051-
connection and device connection. The PCI bus is a subordinate
3052-
linked at HT. Choose Y for Loongson-3 based machines.
3053-
30543043
config PCI_DOMAINS
30553044
bool
30563045

arch/mips/include/asm/mach-loongson64/loongson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static inline void do_perfcnt_IRQ(void)
113113
#define LOONGSON_PCICFG_SIZE 0x00000800 /* 2K */
114114
#define LOONGSON_PCICFG_TOP (LOONGSON_PCICFG_BASE+LOONGSON_PCICFG_SIZE-1)
115115

116-
#if defined(CONFIG_HT_PCI)
116+
#ifdef CONFIG_CPU_LOONGSON3
117117
#define LOONGSON_PCIIO_BASE loongson_sysconf.pci_io_base
118118
#else
119119
#define LOONGSON_PCIIO_BASE 0x1fd00000

arch/mips/loongson64/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ config LOONGSON_MACH3X
7676
select CPU_HAS_WB
7777
select HW_HAS_PCI
7878
select ISA
79-
select HT_PCI
79+
select PCI
8080
select I8259
8181
select IRQ_MIPS_CPU
8282
select NR_CPUS_DEFAULT_4

0 commit comments

Comments
 (0)