diff options
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 54 |
1 files changed, 52 insertions, 2 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 149d1f02ea23..8f90595069a1 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -616,6 +616,7 @@ choice | |||
616 | config DEBUG_S3C_UART0 | 616 | config DEBUG_S3C_UART0 |
617 | depends on PLAT_SAMSUNG | 617 | depends on PLAT_SAMSUNG |
618 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS | 618 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS |
619 | select DEBUG_S3C24XX_UART if ARCH_S3C24XX | ||
619 | bool "Use S3C UART 0 for low-level debug" | 620 | bool "Use S3C UART 0 for low-level debug" |
620 | help | 621 | help |
621 | Say Y here if you want the debug print routines to direct | 622 | Say Y here if you want the debug print routines to direct |
@@ -628,6 +629,7 @@ choice | |||
628 | config DEBUG_S3C_UART1 | 629 | config DEBUG_S3C_UART1 |
629 | depends on PLAT_SAMSUNG | 630 | depends on PLAT_SAMSUNG |
630 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS | 631 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS |
632 | select DEBUG_S3C24XX_UART if ARCH_S3C24XX | ||
631 | bool "Use S3C UART 1 for low-level debug" | 633 | bool "Use S3C UART 1 for low-level debug" |
632 | help | 634 | help |
633 | Say Y here if you want the debug print routines to direct | 635 | Say Y here if you want the debug print routines to direct |
@@ -640,6 +642,7 @@ choice | |||
640 | config DEBUG_S3C_UART2 | 642 | config DEBUG_S3C_UART2 |
641 | depends on PLAT_SAMSUNG | 643 | depends on PLAT_SAMSUNG |
642 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS | 644 | select DEBUG_EXYNOS_UART if ARCH_EXYNOS |
645 | select DEBUG_S3C24XX_UART if ARCH_S3C24XX | ||
643 | bool "Use S3C UART 2 for low-level debug" | 646 | bool "Use S3C UART 2 for low-level debug" |
644 | help | 647 | help |
645 | Say Y here if you want the debug print routines to direct | 648 | Say Y here if you want the debug print routines to direct |
@@ -661,6 +664,33 @@ choice | |||
661 | The uncompressor code port configuration is now handled | 664 | The uncompressor code port configuration is now handled |
662 | by CONFIG_S3C_LOWLEVEL_UART_PORT. | 665 | by CONFIG_S3C_LOWLEVEL_UART_PORT. |
663 | 666 | ||
667 | config DEBUG_S3C2410_UART0 | ||
668 | depends on ARCH_S3C24XX | ||
669 | select DEBUG_S3C2410_UART | ||
670 | bool "Use S3C2410/S3C2412 UART 0 for low-level debug" | ||
671 | help | ||
672 | Say Y here if you want the debug print routines to direct | ||
673 | their output to UART 0. The port must have been initialised | ||
674 | by the boot-loader before use. | ||
675 | |||
676 | config DEBUG_S3C2410_UART1 | ||
677 | depends on ARCH_S3C24XX | ||
678 | select DEBUG_S3C2410_UART | ||
679 | bool "Use S3C2410/S3C2412 UART 1 for low-level debug" | ||
680 | help | ||
681 | Say Y here if you want the debug print routines to direct | ||
682 | their output to UART 1. The port must have been initialised | ||
683 | by the boot-loader before use. | ||
684 | |||
685 | config DEBUG_S3C2410_UART2 | ||
686 | depends on ARCH_S3C24XX | ||
687 | select DEBUG_S3C2410_UART | ||
688 | bool "Use S3C2410/S3C2412 UART 2 for low-level debug" | ||
689 | help | ||
690 | Say Y here if you want the debug print routines to direct | ||
691 | their output to UART 2. The port must have been initialised | ||
692 | by the boot-loader before use. | ||
693 | |||
664 | config DEBUG_SOCFPGA_UART | 694 | config DEBUG_SOCFPGA_UART |
665 | depends on ARCH_SOCFPGA | 695 | depends on ARCH_SOCFPGA |
666 | bool "Use SOCFPGA UART for low-level debug" | 696 | bool "Use SOCFPGA UART for low-level debug" |
@@ -912,6 +942,13 @@ endchoice | |||
912 | config DEBUG_EXYNOS_UART | 942 | config DEBUG_EXYNOS_UART |
913 | bool | 943 | bool |
914 | 944 | ||
945 | config DEBUG_S3C2410_UART | ||
946 | bool | ||
947 | select DEBUG_S3C24XX_UART | ||
948 | |||
949 | config DEBUG_S3C24XX_UART | ||
950 | bool | ||
951 | |||
915 | config DEBUG_OMAP2PLUS_UART | 952 | config DEBUG_OMAP2PLUS_UART |
916 | bool | 953 | bool |
917 | depends on ARCH_OMAP2PLUS | 954 | depends on ARCH_OMAP2PLUS |
@@ -971,6 +1008,7 @@ config DEBUG_LL_INCLUDE | |||
971 | DEBUG_IMX6SX_UART | 1008 | DEBUG_IMX6SX_UART |
972 | default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM | 1009 | default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM |
973 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART | 1010 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART |
1011 | default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART | ||
974 | default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 | 1012 | default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 |
975 | default "debug/sti.S" if DEBUG_STI_UART | 1013 | default "debug/sti.S" if DEBUG_STI_UART |
976 | default "debug/tegra.S" if DEBUG_TEGRA_UART | 1014 | default "debug/tegra.S" if DEBUG_TEGRA_UART |
@@ -1027,6 +1065,12 @@ config DEBUG_UART_PHYS | |||
1027 | default 0x40090000 if ARCH_LPC32XX | 1065 | default 0x40090000 if ARCH_LPC32XX |
1028 | default 0x40100000 if DEBUG_PXA_UART1 | 1066 | default 0x40100000 if DEBUG_PXA_UART1 |
1029 | default 0x42000000 if ARCH_GEMINI | 1067 | default 0x42000000 if ARCH_GEMINI |
1068 | default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ | ||
1069 | DEBUG_S3C2410_UART0) | ||
1070 | default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ | ||
1071 | DEBUG_S3C2410_UART1) | ||
1072 | default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ | ||
1073 | DEBUG_S3C2410_UART2) | ||
1030 | default 0x7c0003f8 if FOOTBRIDGE | 1074 | default 0x7c0003f8 if FOOTBRIDGE |
1031 | default 0x80070000 if DEBUG_IMX23_UART | 1075 | default 0x80070000 if DEBUG_IMX23_UART |
1032 | default 0x80074000 if DEBUG_IMX28_UART | 1076 | default 0x80074000 if DEBUG_IMX28_UART |
@@ -1059,7 +1103,7 @@ config DEBUG_UART_PHYS | |||
1059 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ | 1103 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ |
1060 | DEBUG_LL_UART_EFM32 || \ | 1104 | DEBUG_LL_UART_EFM32 || \ |
1061 | DEBUG_UART_8250 || DEBUG_UART_PL01X || \ | 1105 | DEBUG_UART_8250 || DEBUG_UART_PL01X || \ |
1062 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM | 1106 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART |
1063 | 1107 | ||
1064 | config DEBUG_UART_VIRT | 1108 | config DEBUG_UART_VIRT |
1065 | hex "Virtual base address of debug UART" | 1109 | hex "Virtual base address of debug UART" |
@@ -1077,6 +1121,12 @@ config DEBUG_UART_VIRT | |||
1077 | default 0xf2100000 if DEBUG_PXA_UART1 | 1121 | default 0xf2100000 if DEBUG_PXA_UART1 |
1078 | default 0xf4090000 if ARCH_LPC32XX | 1122 | default 0xf4090000 if ARCH_LPC32XX |
1079 | default 0xf4200000 if ARCH_GEMINI | 1123 | default 0xf4200000 if ARCH_GEMINI |
1124 | default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ | ||
1125 | DEBUG_S3C2410_UART0) | ||
1126 | default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ | ||
1127 | DEBUG_S3C2410_UART1) | ||
1128 | default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ | ||
1129 | DEBUG_S3C2410_UART2) | ||
1080 | default 0xf7fc9000 if DEBUG_BERLIN_UART | 1130 | default 0xf7fc9000 if DEBUG_BERLIN_UART |
1081 | default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 | 1131 | default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 |
1082 | default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 | 1132 | default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 |
@@ -1120,7 +1170,7 @@ config DEBUG_UART_VIRT | |||
1120 | default DEBUG_UART_PHYS if !MMU | 1170 | default DEBUG_UART_PHYS if !MMU |
1121 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ | 1171 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ |
1122 | DEBUG_UART_8250 || DEBUG_UART_PL01X || \ | 1172 | DEBUG_UART_8250 || DEBUG_UART_PL01X || \ |
1123 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM | 1173 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART |
1124 | 1174 | ||
1125 | config DEBUG_UART_8250_SHIFT | 1175 | config DEBUG_UART_8250_SHIFT |
1126 | int "Register offset shift for the 8250 debug UART" | 1176 | int "Register offset shift for the 8250 debug UART" |