diff options
-rw-r--r-- | arch/arm/Kconfig.debug | 328 |
1 files changed, 191 insertions, 137 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 6e03229622db..9064ed492fb5 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -376,12 +376,72 @@ choice | |||
376 | Say Y here if you want kernel low-level debugging support | 376 | Say Y here if you want kernel low-level debugging support |
377 | on TI-NSPIRE CX models. | 377 | on TI-NSPIRE CX models. |
378 | 378 | ||
379 | config DEBUG_OMAP2PLUS_UART | 379 | config DEBUG_OMAP2UART1 |
380 | bool "Kernel low-level debugging messages via OMAP2PLUS UART" | 380 | bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" |
381 | depends on ARCH_OMAP2PLUS | 381 | depends on ARCH_OMAP2PLUS |
382 | select DEBUG_OMAP2PLUS_UART | ||
382 | help | 383 | help |
383 | Say Y here if you want kernel low-level debugging support | 384 | This covers at least h4, 2430sdp, 3430sdp, 3630sdp, |
384 | on OMAP2PLUS based platforms. | 385 | omap3 torpedo and 3530 lv som. |
386 | |||
387 | config DEBUG_OMAP2UART2 | ||
388 | bool "Kernel low-level debugging messages via OMAP2/3/4 UART2" | ||
389 | depends on ARCH_OMAP2PLUS | ||
390 | select DEBUG_OMAP2PLUS_UART | ||
391 | |||
392 | config DEBUG_OMAP2UART3 | ||
393 | bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)" | ||
394 | depends on ARCH_OMAP2PLUS | ||
395 | select DEBUG_OMAP2PLUS_UART | ||
396 | |||
397 | config DEBUG_OMAP3UART3 | ||
398 | bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)" | ||
399 | depends on ARCH_OMAP2PLUS | ||
400 | select DEBUG_OMAP2PLUS_UART | ||
401 | help | ||
402 | This covers at least cm_t3x, beagle, crane, devkit8000, | ||
403 | igep00x0, ldp, n900, n9(50), pandora, overo, touchbook, | ||
404 | and 3517evm. | ||
405 | |||
406 | config DEBUG_OMAP4UART3 | ||
407 | bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)" | ||
408 | depends on ARCH_OMAP2PLUS | ||
409 | select DEBUG_OMAP2PLUS_UART | ||
410 | |||
411 | config DEBUG_OMAP3UART4 | ||
412 | bool "Kernel low-level debugging messages via OMAP36XX UART4" | ||
413 | depends on ARCH_OMAP2PLUS | ||
414 | select DEBUG_OMAP2PLUS_UART | ||
415 | |||
416 | config DEBUG_OMAP4UART4 | ||
417 | bool "Kernel low-level debugging messages via OMAP4/5 UART4" | ||
418 | depends on ARCH_OMAP2PLUS | ||
419 | select DEBUG_OMAP2PLUS_UART | ||
420 | |||
421 | config DEBUG_TI81XXUART1 | ||
422 | bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)" | ||
423 | depends on ARCH_OMAP2PLUS | ||
424 | select DEBUG_OMAP2PLUS_UART | ||
425 | |||
426 | config DEBUG_TI81XXUART2 | ||
427 | bool "Kernel low-level debugging messages via TI81XX UART2" | ||
428 | depends on ARCH_OMAP2PLUS | ||
429 | select DEBUG_OMAP2PLUS_UART | ||
430 | |||
431 | config DEBUG_TI81XXUART3 | ||
432 | bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)" | ||
433 | depends on ARCH_OMAP2PLUS | ||
434 | select DEBUG_OMAP2PLUS_UART | ||
435 | |||
436 | config DEBUG_AM33XXUART1 | ||
437 | bool "Kernel low-level debugging messages via AM33XX UART1" | ||
438 | depends on ARCH_OMAP2PLUS | ||
439 | select DEBUG_OMAP2PLUS_UART | ||
440 | |||
441 | config DEBUG_ZOOM_UART | ||
442 | bool "Kernel low-level debugging messages via Zoom2/3 UART" | ||
443 | depends on ARCH_OMAP2PLUS | ||
444 | select DEBUG_OMAP2PLUS_UART | ||
385 | 445 | ||
386 | config DEBUG_PICOXCELL_UART | 446 | config DEBUG_PICOXCELL_UART |
387 | depends on ARCH_PICOXCELL | 447 | depends on ARCH_PICOXCELL |
@@ -413,9 +473,58 @@ choice | |||
413 | their output to the standard serial port on the RealView | 473 | their output to the standard serial port on the RealView |
414 | PB1176 platform. | 474 | PB1176 platform. |
415 | 475 | ||
416 | config DEBUG_ROCKCHIP_UART | 476 | config DEBUG_RK29_UART0 |
417 | bool "Kernel low-level debugging messages via Rockchip UART" | 477 | bool "Kernel low-level debugging messages via Rockchip RK29 UART0" |
478 | depends on ARCH_ROCKCHIP | ||
479 | select DEBUG_ROCKCHIP_UART | ||
480 | help | ||
481 | Say Y here if you want kernel low-level debugging support | ||
482 | on Rockchip based platforms. | ||
483 | |||
484 | config DEBUG_RK29_UART1 | ||
485 | bool "Kernel low-level debugging messages via Rockchip RK29 UART1" | ||
486 | depends on ARCH_ROCKCHIP | ||
487 | select DEBUG_ROCKCHIP_UART | ||
488 | help | ||
489 | Say Y here if you want kernel low-level debugging support | ||
490 | on Rockchip based platforms. | ||
491 | |||
492 | config DEBUG_RK29_UART2 | ||
493 | bool "Kernel low-level debugging messages via Rockchip RK29 UART2" | ||
494 | depends on ARCH_ROCKCHIP | ||
495 | select DEBUG_ROCKCHIP_UART | ||
496 | help | ||
497 | Say Y here if you want kernel low-level debugging support | ||
498 | on Rockchip based platforms. | ||
499 | |||
500 | config DEBUG_RK3X_UART0 | ||
501 | bool "Kernel low-level debugging messages via Rockchip RK3X UART0" | ||
502 | depends on ARCH_ROCKCHIP | ||
503 | select DEBUG_ROCKCHIP_UART | ||
504 | help | ||
505 | Say Y here if you want kernel low-level debugging support | ||
506 | on Rockchip based platforms. | ||
507 | |||
508 | config DEBUG_RK3X_UART1 | ||
509 | bool "Kernel low-level debugging messages via Rockchip RK3X UART1" | ||
418 | depends on ARCH_ROCKCHIP | 510 | depends on ARCH_ROCKCHIP |
511 | select DEBUG_ROCKCHIP_UART | ||
512 | help | ||
513 | Say Y here if you want kernel low-level debugging support | ||
514 | on Rockchip based platforms. | ||
515 | |||
516 | config DEBUG_RK3X_UART2 | ||
517 | bool "Kernel low-level debugging messages via Rockchip RK3X UART2" | ||
518 | depends on ARCH_ROCKCHIP | ||
519 | select DEBUG_ROCKCHIP_UART | ||
520 | help | ||
521 | Say Y here if you want kernel low-level debugging support | ||
522 | on Rockchip based platforms. | ||
523 | |||
524 | config DEBUG_RK3X_UART3 | ||
525 | bool "Kernel low-level debugging messages via Rockchip RK3X UART3" | ||
526 | depends on ARCH_ROCKCHIP | ||
527 | select DEBUG_ROCKCHIP_UART | ||
419 | help | 528 | help |
420 | Say Y here if you want kernel low-level debugging support | 529 | Say Y here if you want kernel low-level debugging support |
421 | on Rockchip based platforms. | 530 | on Rockchip based platforms. |
@@ -489,9 +598,54 @@ choice | |||
489 | Say Y here if you want kernel low-level debugging support | 598 | Say Y here if you want kernel low-level debugging support |
490 | on Allwinner A1X based platforms on the UART1. | 599 | on Allwinner A1X based platforms on the UART1. |
491 | 600 | ||
492 | config DEBUG_TEGRA_UART | 601 | config TEGRA_DEBUG_UART_AUTO_ODMDATA |
602 | bool "Kernel low-level debugging messages via Tegra UART via ODMDATA" | ||
493 | depends on ARCH_TEGRA | 603 | depends on ARCH_TEGRA |
494 | bool "Use Tegra UART for low-level debug" | 604 | select DEBUG_TEGRA_UART |
605 | help | ||
606 | Automatically determines which UART to use for low-level | ||
607 | debug based on the ODMDATA value. This value is part of | ||
608 | the BCT, and is written to the boot memory device using | ||
609 | nvflash, or other flashing tool. When bits 19:18 are 3, | ||
610 | then bits 17:15 indicate which UART to use; 0/1/2/3/4 | ||
611 | are UART A/B/C/D/E. | ||
612 | |||
613 | config TEGRA_DEBUG_UARTA | ||
614 | bool "Kernel low-level debugging messages via Tegra UART A" | ||
615 | depends on ARCH_TEGRA | ||
616 | select DEBUG_TEGRA_UART | ||
617 | help | ||
618 | Say Y here if you want kernel low-level debugging support | ||
619 | on Tegra based platforms. | ||
620 | |||
621 | config TEGRA_DEBUG_UARTB | ||
622 | bool "Kernel low-level debugging messages via Tegra UART B" | ||
623 | depends on ARCH_TEGRA | ||
624 | select DEBUG_TEGRA_UART | ||
625 | help | ||
626 | Say Y here if you want kernel low-level debugging support | ||
627 | on Tegra based platforms. | ||
628 | |||
629 | config TEGRA_DEBUG_UARTC | ||
630 | bool "Kernel low-level debugging messages via Tegra UART C" | ||
631 | depends on ARCH_TEGRA | ||
632 | select DEBUG_TEGRA_UART | ||
633 | help | ||
634 | Say Y here if you want kernel low-level debugging support | ||
635 | on Tegra based platforms. | ||
636 | |||
637 | config TEGRA_DEBUG_UARTD | ||
638 | bool "Kernel low-level debugging messages via Tegra UART D" | ||
639 | depends on ARCH_TEGRA | ||
640 | select DEBUG_TEGRA_UART | ||
641 | help | ||
642 | Say Y here if you want kernel low-level debugging support | ||
643 | on Tegra based platforms. | ||
644 | |||
645 | config TEGRA_DEBUG_UARTE | ||
646 | bool "Kernel low-level debugging messages via Tegra UART E" | ||
647 | depends on ARCH_TEGRA | ||
648 | select DEBUG_TEGRA_UART | ||
495 | help | 649 | help |
496 | Say Y here if you want kernel low-level debugging support | 650 | Say Y here if you want kernel low-level debugging support |
497 | on Tegra based platforms. | 651 | on Tegra based platforms. |
@@ -510,13 +664,25 @@ choice | |||
510 | Say Y here if you want the debug print routines to direct | 664 | Say Y here if you want the debug print routines to direct |
511 | their output to the uart1 port on SiRFmarco devices. | 665 | their output to the uart1 port on SiRFmarco devices. |
512 | 666 | ||
513 | config DEBUG_STI_UART | 667 | config STIH41X_DEBUG_ASC2 |
668 | bool "Use StiH415/416 ASC2 UART for low-level debug" | ||
669 | depends on ARCH_STI | ||
670 | select DEBUG_STI_UART | ||
671 | help | ||
672 | Say Y here if you want kernel low-level debugging support | ||
673 | on STiH415/416 based platforms like b2000, which has | ||
674 | default UART wired up to ASC2. | ||
675 | |||
676 | If unsure, say N. | ||
677 | |||
678 | config STIH41X_DEBUG_SBC_ASC1 | ||
679 | bool "Use StiH415/416 SBC ASC1 UART for low-level debug" | ||
514 | depends on ARCH_STI | 680 | depends on ARCH_STI |
515 | bool "Use StiH415/416 ASC for low-level debug" | 681 | select DEBUG_STI_UART |
516 | help | 682 | help |
517 | Say Y here if you want kernel low-level debugging support | 683 | Say Y here if you want kernel low-level debugging support |
518 | on StiH415/416 based platforms like B2000, B2020. | 684 | on STiH415/416 based platforms like b2020. which has |
519 | It support UART2 and SBC_UART1. | 685 | default UART wired up to SBC ASC1. |
520 | 686 | ||
521 | If unsure, say N. | 687 | If unsure, say N. |
522 | 688 | ||
@@ -615,6 +781,10 @@ endchoice | |||
615 | config DEBUG_EXYNOS_UART | 781 | config DEBUG_EXYNOS_UART |
616 | bool | 782 | bool |
617 | 783 | ||
784 | config DEBUG_OMAP2PLUS_UART | ||
785 | bool | ||
786 | depends on ARCH_OMAP2PLUS | ||
787 | |||
618 | config DEBUG_IMX_UART_PORT | 788 | config DEBUG_IMX_UART_PORT |
619 | int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ | 789 | int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ |
620 | DEBUG_IMX25_UART || \ | 790 | DEBUG_IMX25_UART || \ |
@@ -631,133 +801,17 @@ config DEBUG_IMX_UART_PORT | |||
631 | Choose UART port on which kernel low-level debug messages | 801 | Choose UART port on which kernel low-level debug messages |
632 | should be output. | 802 | should be output. |
633 | 803 | ||
634 | choice | 804 | config DEBUG_ROCKCHIP_UART |
635 | prompt "Low-level debug console UART" | 805 | bool |
636 | depends on DEBUG_OMAP2PLUS_UART | 806 | depends on ARCH_ROCKCHIP |
637 | |||
638 | config DEBUG_OMAP2UART1 | ||
639 | bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" | ||
640 | help | ||
641 | This covers at least h4, 2430sdp, 3430sdp, 3630sdp, | ||
642 | omap3 torpedo and 3530 lv som. | ||
643 | |||
644 | config DEBUG_OMAP2UART2 | ||
645 | bool "OMAP2/3/4 UART2" | ||
646 | |||
647 | config DEBUG_OMAP2UART3 | ||
648 | bool "OMAP2 UART3 (n8x0)" | ||
649 | |||
650 | config DEBUG_OMAP3UART3 | ||
651 | bool "OMAP3 UART3 (most omap3 boards)" | ||
652 | help | ||
653 | This covers at least cm_t3x, beagle, crane, devkit8000, | ||
654 | igep00x0, ldp, n900, n9(50), pandora, overo, touchbook, | ||
655 | and 3517evm. | ||
656 | |||
657 | config DEBUG_OMAP4UART3 | ||
658 | bool "OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)" | ||
659 | |||
660 | config DEBUG_OMAP3UART4 | ||
661 | bool "OMAP36XX UART4" | ||
662 | |||
663 | config DEBUG_OMAP4UART4 | ||
664 | bool "OMAP4/5 UART4" | ||
665 | |||
666 | config DEBUG_TI81XXUART1 | ||
667 | bool "TI81XX UART1 (ti8148evm)" | ||
668 | |||
669 | config DEBUG_TI81XXUART2 | ||
670 | bool "TI81XX UART2" | ||
671 | |||
672 | config DEBUG_TI81XXUART3 | ||
673 | bool "TI81XX UART3 (ti8168evm)" | ||
674 | |||
675 | config DEBUG_AM33XXUART1 | ||
676 | bool "AM33XX UART1" | ||
677 | |||
678 | config DEBUG_ZOOM_UART | ||
679 | bool "Zoom2/3 UART" | ||
680 | endchoice | ||
681 | |||
682 | choice | ||
683 | prompt "Low-level debug console UART" | ||
684 | depends on DEBUG_ROCKCHIP_UART | ||
685 | |||
686 | config DEBUG_RK29_UART0 | ||
687 | bool "RK29 UART0" | ||
688 | |||
689 | config DEBUG_RK29_UART1 | ||
690 | bool "RK29 UART1" | ||
691 | |||
692 | config DEBUG_RK29_UART2 | ||
693 | bool "RK29 UART2" | ||
694 | |||
695 | config DEBUG_RK3X_UART0 | ||
696 | bool "RK3X UART0" | ||
697 | |||
698 | config DEBUG_RK3X_UART1 | ||
699 | bool "RK3X UART1" | ||
700 | |||
701 | config DEBUG_RK3X_UART2 | ||
702 | bool "RK3X UART2" | ||
703 | |||
704 | config DEBUG_RK3X_UART3 | ||
705 | bool "RK3X UART3" | ||
706 | endchoice | ||
707 | |||
708 | choice | ||
709 | prompt "Low-level debug console UART" | ||
710 | depends on DEBUG_LL && DEBUG_TEGRA_UART | ||
711 | |||
712 | config TEGRA_DEBUG_UART_AUTO_ODMDATA | ||
713 | bool "Via ODMDATA" | ||
714 | help | ||
715 | Automatically determines which UART to use for low-level debug based | ||
716 | on the ODMDATA value. This value is part of the BCT, and is written | ||
717 | to the boot memory device using nvflash, or other flashing tool. | ||
718 | When bits 19:18 are 3, then bits 17:15 indicate which UART to use; | ||
719 | 0/1/2/3/4 are UART A/B/C/D/E. | ||
720 | |||
721 | config TEGRA_DEBUG_UARTA | ||
722 | bool "UART A" | ||
723 | |||
724 | config TEGRA_DEBUG_UARTB | ||
725 | bool "UART B" | ||
726 | |||
727 | config TEGRA_DEBUG_UARTC | ||
728 | bool "UART C" | ||
729 | |||
730 | config TEGRA_DEBUG_UARTD | ||
731 | bool "UART D" | ||
732 | |||
733 | config TEGRA_DEBUG_UARTE | ||
734 | bool "UART E" | ||
735 | |||
736 | endchoice | ||
737 | |||
738 | choice | ||
739 | prompt "Low-level debug console UART" | ||
740 | depends on DEBUG_LL && DEBUG_STI_UART | ||
741 | |||
742 | config STIH41X_DEBUG_ASC2 | ||
743 | bool "ASC2 UART" | ||
744 | help | ||
745 | Say Y here if you want kernel low-level debugging support | ||
746 | on STiH415/416 based platforms like b2000, which has | ||
747 | default UART wired up to ASC2. | ||
748 | |||
749 | If unsure, say N. | ||
750 | |||
751 | config STIH41X_DEBUG_SBC_ASC1 | ||
752 | bool "SBC ASC1 UART" | ||
753 | help | ||
754 | Say Y here if you want kernel low-level debugging support | ||
755 | on STiH415/416 based platforms like b2020. which has | ||
756 | default UART wired up to SBC ASC1. | ||
757 | 807 | ||
758 | If unsure, say N. | 808 | config DEBUG_TEGRA_UART |
809 | bool | ||
810 | depends on ARCH_TEGRA | ||
759 | 811 | ||
760 | endchoice | 812 | config DEBUG_STI_UART |
813 | bool | ||
814 | depends on ARCH_STI | ||
761 | 815 | ||
762 | config DEBUG_LL_INCLUDE | 816 | config DEBUG_LL_INCLUDE |
763 | string | 817 | string |