[MIPS] Sibyte: Do not allow enabling LDT support if PCI is disabled.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 9 Mar 2007 12:17:32 +0000 (12:17 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 9 Mar 2007 20:27:30 +0000 (20:27 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/Kconfig

index 67dac6204b6da32cc9d76880ab5874716c80cd8d..10cc403043479f3c4ec82508faeaba042db277c0 100644 (file)
@@ -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
 
@@ -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
@@ -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"