diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-09 07:17:32 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-09 15:27:30 -0500 |
commit | ca6f5494f5e0ff60675d99b51c4c56921d95fe1d (patch) | |
tree | cdd969c1b5e58883ed27b0b33da70f853f57ae7a /arch/mips | |
parent | 30fbc9f77c5a77f5f7f053d29eb92e41f6043406 (diff) |
[MIPS] Sibyte: Do not allow enabling LDT support if PCI is disabled.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/sibyte/Kconfig | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/mips/sibyte/Kconfig b/arch/mips/sibyte/Kconfig index 67dac6204b6d..10cc40304347 100644 --- a/arch/mips/sibyte/Kconfig +++ b/arch/mips/sibyte/Kconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | config SIBYTE_SB1250 | 1 | config SIBYTE_SB1250 |
2 | bool | 2 | bool |
3 | select HW_HAS_PCI | 3 | select HW_HAS_PCI |
4 | select SIBYTE_HAS_LDT | 4 | select SIBYTE_ENABLE_LDT_IF_PCI |
5 | select SIBYTE_SB1xxx_SOC | 5 | select SIBYTE_SB1xxx_SOC |
6 | select SYS_SUPPORTS_SMP | 6 | select SYS_SUPPORTS_SMP |
7 | 7 | ||
@@ -20,7 +20,7 @@ config SIBYTE_BCM1125H | |||
20 | bool | 20 | bool |
21 | select HW_HAS_PCI | 21 | select HW_HAS_PCI |
22 | select SIBYTE_BCM112X | 22 | select SIBYTE_BCM112X |
23 | select SIBYTE_HAS_LDT | 23 | select SIBYTE_ENABLE_LDT_IF_PCI |
24 | select SIBYTE_SB1xxx_SOC | 24 | select SIBYTE_SB1xxx_SOC |
25 | 25 | ||
26 | config SIBYTE_BCM112X | 26 | config SIBYTE_BCM112X |
@@ -95,8 +95,10 @@ config CPU_SB1_PASS_2 | |||
95 | 95 | ||
96 | config SIBYTE_HAS_LDT | 96 | config SIBYTE_HAS_LDT |
97 | bool | 97 | bool |
98 | depends on PCI && (SIBYTE_SB1250 || SIBYTE_BCM1125H) | 98 | |
99 | default y | 99 | config SIBYTE_ENABLE_LDT_IF_PCI |
100 | bool | ||
101 | select SIBYTE_HAS_LDT if PCI | ||
100 | 102 | ||
101 | config SIMULATION | 103 | config SIMULATION |
102 | bool "Running under simulation" | 104 | bool "Running under simulation" |