Skip to content

Commit

Permalink
[MIPS] Sibyte: Do not allow enabling LDT support if PCI is disabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Mar 9, 2007
1 parent 30fbc9f commit ca6f549
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions arch/mips/sibyte/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config SIBYTE_SB1250
bool
select HW_HAS_PCI
select SIBYTE_HAS_LDT
select SIBYTE_ENABLE_LDT_IF_PCI
select SIBYTE_SB1xxx_SOC
select SYS_SUPPORTS_SMP

Expand All @@ -20,7 +20,7 @@ config SIBYTE_BCM1125H
bool
select HW_HAS_PCI
select SIBYTE_BCM112X
select SIBYTE_HAS_LDT
select SIBYTE_ENABLE_LDT_IF_PCI
select SIBYTE_SB1xxx_SOC

config SIBYTE_BCM112X
Expand Down Expand Up @@ -95,8 +95,10 @@ config CPU_SB1_PASS_2

config SIBYTE_HAS_LDT
bool
depends on PCI && (SIBYTE_SB1250 || SIBYTE_BCM1125H)
default y

config SIBYTE_ENABLE_LDT_IF_PCI
bool
select SIBYTE_HAS_LDT if PCI

config SIMULATION
bool "Running under simulation"
Expand Down

0 comments on commit ca6f549

Please sign in to comment.