diff options
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 512b39438548..661030d6bc6c 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -379,6 +379,13 @@ choice | |||
379 | Say Y here if you want kernel low-level debugging support | 379 | Say Y here if you want kernel low-level debugging support |
380 | on Allwinner A1X based platforms on the UART1. | 380 | on Allwinner A1X based platforms on the UART1. |
381 | 381 | ||
382 | config DEBUG_TEGRA_UART | ||
383 | depends on ARCH_TEGRA | ||
384 | bool "Use Tegra UART for low-level debug" | ||
385 | help | ||
386 | Say Y here if you want kernel low-level debugging support | ||
387 | on Tegra based platforms. | ||
388 | |||
382 | config DEBUG_VEXPRESS_UART0_DETECT | 389 | config DEBUG_VEXPRESS_UART0_DETECT |
383 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" | 390 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" |
384 | depends on ARCH_VEXPRESS && CPU_CP15_MMU | 391 | depends on ARCH_VEXPRESS && CPU_CP15_MMU |
@@ -452,6 +459,36 @@ config DEBUG_IMX6Q_UART_PORT | |||
452 | Choose UART port on which kernel low-level debug messages | 459 | Choose UART port on which kernel low-level debug messages |
453 | should be output. | 460 | should be output. |
454 | 461 | ||
462 | choice | ||
463 | prompt "Low-level debug console UART" | ||
464 | depends on DEBUG_LL && DEBUG_TEGRA_UART | ||
465 | |||
466 | config TEGRA_DEBUG_UART_AUTO_ODMDATA | ||
467 | bool "Via ODMDATA" | ||
468 | help | ||
469 | Automatically determines which UART to use for low-level debug based | ||
470 | on the ODMDATA value. This value is part of the BCT, and is written | ||
471 | to the boot memory device using nvflash, or other flashing tool. | ||
472 | When bits 19:18 are 3, then bits 17:15 indicate which UART to use; | ||
473 | 0/1/2/3/4 are UART A/B/C/D/E. | ||
474 | |||
475 | config TEGRA_DEBUG_UARTA | ||
476 | bool "UART A" | ||
477 | |||
478 | config TEGRA_DEBUG_UARTB | ||
479 | bool "UART B" | ||
480 | |||
481 | config TEGRA_DEBUG_UARTC | ||
482 | bool "UART C" | ||
483 | |||
484 | config TEGRA_DEBUG_UARTD | ||
485 | bool "UART D" | ||
486 | |||
487 | config TEGRA_DEBUG_UARTE | ||
488 | bool "UART E" | ||
489 | |||
490 | endchoice | ||
491 | |||
455 | config DEBUG_LL_INCLUDE | 492 | config DEBUG_LL_INCLUDE |
456 | string | 493 | string |
457 | default "debug/icedcc.S" if DEBUG_ICEDCC | 494 | default "debug/icedcc.S" if DEBUG_ICEDCC |
@@ -469,6 +506,8 @@ config DEBUG_LL_INCLUDE | |||
469 | default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 | 506 | default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 |
470 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ | 507 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ |
471 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 | 508 | DEBUG_VEXPRESS_UART0_CA9 || DEBUG_VEXPRESS_UART0_RS1 |
509 | default "debug/tegra.S" if DEBUG_TEGRA_UART | ||
510 | default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 | ||
472 | default "mach/debug-macro.S" | 511 | default "mach/debug-macro.S" |
473 | 512 | ||
474 | config EARLY_PRINTK | 513 | config EARLY_PRINTK |