proc: warn on non-existing proc entries
[safe/jmp/linux-2.6] / arch / mips / loongson / Kconfig
index a214127..3df1967 100644 (file)
@@ -34,10 +34,10 @@ config LEMOTE_MACH2F
        select ARCH_SPARSEMEM_ENABLE
        select BOARD_SCACHE
        select BOOT_ELF32
-       select CEVT_R4K
+       select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
        select CPU_HAS_WB
        select CS5536
-       select CSRC_R4K
+       select CSRC_R4K if ! MIPS_EXTERNAL_TIMER
        select DMA_NONCOHERENT
        select GENERIC_HARDIRQS_NO__DO_IRQ
        select GENERIC_ISA_DMA_SUPPORT_BROKEN
@@ -61,3 +61,25 @@ endchoice
 
 config CS5536
        bool
+
+config CS5536_MFGPT
+       bool "CS5536 MFGPT Timer"
+       depends on CS5536
+       select MIPS_EXTERNAL_TIMER
+       help
+         This option enables the mfgpt0 timer of AMD CS5536.
+
+         If you want to enable the Loongson2 CPUFreq Driver, Please enable
+         this option at first, otherwise, You will get wrong system time.
+
+         If unsure, say Yes.
+
+config LOONGSON_SUSPEND
+       bool
+       default y
+       depends on CPU_SUPPORTS_CPUFREQ && SUSPEND
+
+config LOONGSON_UART_BASE
+       bool
+       default y
+       depends on EARLY_PRINTK || SERIAL_8250