]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/mips/Kconfig.debug
Merge remote-tracking branch 'tip/auto-latest'
[karo-tx-linux.git] / arch / mips / Kconfig.debug
index b43e288ec56749d73be4b2de45a505ad6dbaa41c..f0e314ceb8baa84d36ea6664772f71df46ad003f 100644 (file)
@@ -159,4 +159,30 @@ config SCACHE_DEBUGFS
 
          If unsure, say N.
 
+menuconfig MIPS_CPS_NS16550
+       bool "CPS SMP NS16550 UART output"
+       depends on MIPS_CPS
+       help
+         Output debug information via an ns16550 compatible UART if exceptions
+         occur early in the boot process of a secondary core.
+
+if MIPS_CPS_NS16550
+
+config MIPS_CPS_NS16550_BASE
+       hex "UART Base Address"
+       default 0x1b0003f8 if MIPS_MALTA
+       help
+         The base address of the ns16550 compatible UART on which to output
+         debug information from the early stages of core startup.
+
+config MIPS_CPS_NS16550_SHIFT
+       int "UART Register Shift"
+       default 0 if MIPS_MALTA
+       help
+         The number of bits to shift ns16550 register indices by in order to
+         form their addresses. That is, log base 2 of the span between
+         adjacent ns16550 registers in the system.
+
+endif # MIPS_CPS_NS16550
+
 endmenu