diff options
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 112 |
1 files changed, 101 insertions, 11 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index b0f3857b3a4c..661030d6bc6c 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -132,6 +132,23 @@ choice | |||
132 | their output to UART1 serial port on DaVinci TNETV107X | 132 | their output to UART1 serial port on DaVinci TNETV107X |
133 | devices. | 133 | devices. |
134 | 134 | ||
135 | config DEBUG_ZYNQ_UART0 | ||
136 | bool "Kernel low-level debugging on Xilinx Zynq using UART0" | ||
137 | depends on ARCH_ZYNQ | ||
138 | help | ||
139 | Say Y here if you want the debug print routines to direct | ||
140 | their output to UART0 on the Zynq platform. | ||
141 | |||
142 | config DEBUG_ZYNQ_UART1 | ||
143 | bool "Kernel low-level debugging on Xilinx Zynq using UART1" | ||
144 | depends on ARCH_ZYNQ | ||
145 | help | ||
146 | Say Y here if you want the debug print routines to direct | ||
147 | their output to UART1 on the Zynq platform. | ||
148 | |||
149 | If you have a ZC702 board and want early boot messages to | ||
150 | appear on the USB serial adaptor, select this option. | ||
151 | |||
135 | config DEBUG_DC21285_PORT | 152 | config DEBUG_DC21285_PORT |
136 | bool "Kernel low-level debugging messages via footbridge serial port" | 153 | bool "Kernel low-level debugging messages via footbridge serial port" |
137 | depends on FOOTBRIDGE | 154 | depends on FOOTBRIDGE |
@@ -209,20 +226,12 @@ choice | |||
209 | Say Y here if you want kernel low-level debugging support | 226 | Say Y here if you want kernel low-level debugging support |
210 | on i.MX50 or i.MX53. | 227 | on i.MX50 or i.MX53. |
211 | 228 | ||
212 | config DEBUG_IMX6Q_UART2 | 229 | config DEBUG_IMX6Q_UART |
213 | bool "i.MX6Q Debug UART2" | 230 | bool "i.MX6Q Debug UART" |
214 | depends on SOC_IMX6Q | ||
215 | help | ||
216 | Say Y here if you want kernel low-level debugging support | ||
217 | on i.MX6Q UART2. This is correct for e.g. the SabreLite | ||
218 | board. | ||
219 | |||
220 | config DEBUG_IMX6Q_UART4 | ||
221 | bool "i.MX6Q Debug UART4" | ||
222 | depends on SOC_IMX6Q | 231 | depends on SOC_IMX6Q |
223 | help | 232 | help |
224 | Say Y here if you want kernel low-level debugging support | 233 | Say Y here if you want kernel low-level debugging support |
225 | on i.MX6Q UART4. | 234 | on i.MX6Q. |
226 | 235 | ||
227 | config DEBUG_MMP_UART2 | 236 | config DEBUG_MMP_UART2 |
228 | bool "Kernel low-level debugging message via MMP UART2" | 237 | bool "Kernel low-level debugging message via MMP UART2" |
@@ -338,6 +347,17 @@ choice | |||
338 | The uncompressor code port configuration is now handled | 347 | The uncompressor code port configuration is now handled |
339 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | 348 | by CONFIG_S3C_LOWLEVEL_UART_PORT. |
340 | 349 | ||
350 | config DEBUG_S3C_UART3 | ||
351 | depends on PLAT_SAMSUNG && ARCH_EXYNOS | ||
352 | bool "Use S3C UART 3 for low-level debug" | ||
353 | help | ||
354 | Say Y here if you want the debug print routines to direct | ||
355 | their output to UART 3. The port must have been initialised | ||
356 | by the boot-loader before use. | ||
357 | |||
358 | The uncompressor code port configuration is now handled | ||
359 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | ||
360 | |||
341 | config DEBUG_SOCFPGA_UART | 361 | config DEBUG_SOCFPGA_UART |
342 | depends on ARCH_SOCFPGA | 362 | depends on ARCH_SOCFPGA |
343 | bool "Use SOCFPGA UART for low-level debug" | 363 | bool "Use SOCFPGA UART for low-level debug" |
@@ -345,6 +365,27 @@ choice | |||
345 | Say Y here if you want kernel low-level debugging support | 365 | Say Y here if you want kernel low-level debugging support |
346 | on SOCFPGA based platforms. | 366 | on SOCFPGA based platforms. |
347 | 367 | ||
368 | config DEBUG_SUNXI_UART0 | ||
369 | bool "Kernel low-level debugging messages via sunXi UART0" | ||
370 | depends on ARCH_SUNXI | ||
371 | help | ||
372 | Say Y here if you want kernel low-level debugging support | ||
373 | on Allwinner A1X based platforms on the UART0. | ||
374 | |||
375 | config DEBUG_SUNXI_UART1 | ||
376 | bool "Kernel low-level debugging messages via sunXi UART1" | ||
377 | depends on ARCH_SUNXI | ||
378 | help | ||
379 | Say Y here if you want kernel low-level debugging support | ||
380 | on Allwinner A1X based platforms on the UART1. | ||
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 | |||
348 | config DEBUG_VEXPRESS_UART0_DETECT | 389 | config DEBUG_VEXPRESS_UART0_DETECT |
349 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" | 390 | bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" |
350 | depends on ARCH_VEXPRESS && CPU_CP15_MMU | 391 | depends on ARCH_VEXPRESS && CPU_CP15_MMU |
@@ -409,15 +450,64 @@ choice | |||
409 | 450 | ||
410 | endchoice | 451 | endchoice |
411 | 452 | ||
453 | config DEBUG_IMX6Q_UART_PORT | ||
454 | int "i.MX6Q Debug UART Port (1-5)" if DEBUG_IMX6Q_UART | ||
455 | range 1 5 | ||
456 | default 1 | ||
457 | depends on SOC_IMX6Q | ||
458 | help | ||
459 | Choose UART port on which kernel low-level debug messages | ||
460 | should be output. | ||
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 | |||
412 | config DEBUG_LL_INCLUDE | 492 | config DEBUG_LL_INCLUDE |
413 | string | 493 | string |
414 | default "debug/icedcc.S" if DEBUG_ICEDCC | 494 | default "debug/icedcc.S" if DEBUG_ICEDCC |
495 | default "debug/imx.S" if DEBUG_IMX1_UART || \ | ||
496 | DEBUG_IMX25_UART || \ | ||
497 | DEBUG_IMX21_IMX27_UART || \ | ||
498 | DEBUG_IMX31_IMX35_UART || \ | ||
499 | DEBUG_IMX51_UART || \ | ||
500 | DEBUG_IMX50_IMX53_UART ||\ | ||
501 | DEBUG_IMX6Q_UART | ||
415 | default "debug/highbank.S" if DEBUG_HIGHBANK_UART | 502 | default "debug/highbank.S" if DEBUG_HIGHBANK_UART |
416 | default "debug/mvebu.S" if DEBUG_MVEBU_UART | 503 | default "debug/mvebu.S" if DEBUG_MVEBU_UART |
417 | default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART | 504 | default "debug/picoxcell.S" if DEBUG_PICOXCELL_UART |
418 | default "debug/socfpga.S" if DEBUG_SOCFPGA_UART | 505 | default "debug/socfpga.S" if DEBUG_SOCFPGA_UART |
506 | default "debug/sunxi.S" if DEBUG_SUNXI_UART0 || DEBUG_SUNXI_UART1 | ||
419 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ | 507 | default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT || \ |
420 | 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 | ||
421 | default "mach/debug-macro.S" | 511 | default "mach/debug-macro.S" |
422 | 512 | ||
423 | config EARLY_PRINTK | 513 | config EARLY_PRINTK |