diff options
Diffstat (limited to 'arch/arm/Kconfig.debug')
-rw-r--r-- | arch/arm/Kconfig.debug | 220 |
1 files changed, 176 insertions, 44 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 5ddd4906f7a7..970de7518341 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -115,16 +115,22 @@ choice | |||
115 | 0x80024000 | 0xf0024000 | UART9 | 115 | 0x80024000 | 0xf0024000 | UART9 |
116 | 116 | ||
117 | config AT91_DEBUG_LL_DBGU0 | 117 | config AT91_DEBUG_LL_DBGU0 |
118 | bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl" | 118 | bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10, 9rl, 9x5, 9n12" |
119 | depends on HAVE_AT91_DBGU0 | 119 | select DEBUG_AT91_UART |
120 | depends on ARCH_AT91 | ||
121 | depends on SOC_AT91RM9200 || SOC_AT91SAM9 | ||
120 | 122 | ||
121 | config AT91_DEBUG_LL_DBGU1 | 123 | config AT91_DEBUG_LL_DBGU1 |
122 | bool "Kernel low-level debugging on 9263 and 9g45" | 124 | bool "Kernel low-level debugging on 9263, 9g45 and sama5d3" |
123 | depends on HAVE_AT91_DBGU1 | 125 | select DEBUG_AT91_UART |
126 | depends on ARCH_AT91 | ||
127 | depends on SOC_AT91SAM9 || SOC_SAMA5 | ||
124 | 128 | ||
125 | config AT91_DEBUG_LL_DBGU2 | 129 | config AT91_DEBUG_LL_DBGU2 |
126 | bool "Kernel low-level debugging on sama5d4" | 130 | bool "Kernel low-level debugging on sama5d4" |
127 | depends on HAVE_AT91_DBGU2 | 131 | select DEBUG_AT91_UART |
132 | depends on ARCH_AT91 | ||
133 | depends on SOC_SAMA5 | ||
128 | 134 | ||
129 | config DEBUG_BCM2835 | 135 | config DEBUG_BCM2835 |
130 | bool "Kernel low-level debugging on BCM2835 PL011 UART" | 136 | bool "Kernel low-level debugging on BCM2835 PL011 UART" |
@@ -241,6 +247,13 @@ choice | |||
241 | Say Y here if you want the debug print routines to direct | 247 | Say Y here if you want the debug print routines to direct |
242 | their output to the serial port in the DC21285 (Footbridge). | 248 | their output to the serial port in the DC21285 (Footbridge). |
243 | 249 | ||
250 | config DEBUG_DIGICOLOR_UA0 | ||
251 | bool "Kernel low-level debugging messages via Digicolor UA0" | ||
252 | depends on ARCH_DIGICOLOR | ||
253 | help | ||
254 | Say Y here if you want the debug print routines to direct | ||
255 | their output to the UA0 serial port in the CX92755. | ||
256 | |||
244 | config DEBUG_FOOTBRIDGE_COM1 | 257 | config DEBUG_FOOTBRIDGE_COM1 |
245 | bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1" | 258 | bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1" |
246 | depends on FOOTBRIDGE | 259 | depends on FOOTBRIDGE |
@@ -272,6 +285,14 @@ choice | |||
272 | Say Y here if you want the debug print routines to direct | 285 | Say Y here if you want the debug print routines to direct |
273 | their output to the UART on Highbank based devices. | 286 | their output to the UART on Highbank based devices. |
274 | 287 | ||
288 | config DEBUG_HIP01_UART | ||
289 | bool "Hisilicon Hip01 Debug UART" | ||
290 | depends on ARCH_HIP01 | ||
291 | select DEBUG_UART_8250 | ||
292 | help | ||
293 | Say Y here if you want kernel low-level debugging support | ||
294 | on HIP01 UART. | ||
295 | |||
275 | config DEBUG_HIP04_UART | 296 | config DEBUG_HIP04_UART |
276 | bool "Hisilicon HiP04 Debug UART" | 297 | bool "Hisilicon HiP04 Debug UART" |
277 | depends on ARCH_HIP04 | 298 | depends on ARCH_HIP04 |
@@ -397,6 +418,13 @@ choice | |||
397 | Say Y here if you want the debug print routines to direct | 418 | Say Y here if you want the debug print routines to direct |
398 | their output to UART1 serial port on KEYSTONE2 devices. | 419 | their output to UART1 serial port on KEYSTONE2 devices. |
399 | 420 | ||
421 | config DEBUG_KS8695_UART | ||
422 | bool "KS8695 Debug UART" | ||
423 | depends on ARCH_KS8695 | ||
424 | help | ||
425 | Say Y here if you want kernel low-level debugging support | ||
426 | on KS8695. | ||
427 | |||
400 | config DEBUG_MESON_UARTAO | 428 | config DEBUG_MESON_UARTAO |
401 | bool "Kernel low-level debugging via Meson6 UARTAO" | 429 | bool "Kernel low-level debugging via Meson6 UARTAO" |
402 | depends on ARCH_MESON | 430 | depends on ARCH_MESON |
@@ -427,7 +455,7 @@ choice | |||
427 | Say Y here if you want the debug print routines to direct | 455 | Say Y here if you want the debug print routines to direct |
428 | their output to the serial port on MSM devices. | 456 | their output to the serial port on MSM devices. |
429 | 457 | ||
430 | ARCH DEBUG_UART_PHYS DEBUG_UART_BASE # | 458 | ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT # |
431 | MSM7X00A, QSD8X50 0xa9a00000 0xe1000000 UART1 | 459 | MSM7X00A, QSD8X50 0xa9a00000 0xe1000000 UART1 |
432 | MSM7X00A, QSD8X50 0xa9b00000 0xe1000000 UART2 | 460 | MSM7X00A, QSD8X50 0xa9b00000 0xe1000000 UART2 |
433 | MSM7X00A, QSD8X50 0xa9c00000 0xe1000000 UART3 | 461 | MSM7X00A, QSD8X50 0xa9c00000 0xe1000000 UART3 |
@@ -446,7 +474,8 @@ choice | |||
446 | Say Y here if you want the debug print routines to direct | 474 | Say Y here if you want the debug print routines to direct |
447 | their output to the serial port on Qualcomm devices. | 475 | their output to the serial port on Qualcomm devices. |
448 | 476 | ||
449 | ARCH DEBUG_UART_PHYS DEBUG_UART_BASE | 477 | ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT |
478 | APQ8064 0x16640000 0xf0040000 | ||
450 | APQ8084 0xf995e000 0xfa75e000 | 479 | APQ8084 0xf995e000 0xfa75e000 |
451 | MSM8X60 0x19c40000 0xf0040000 | 480 | MSM8X60 0x19c40000 0xf0040000 |
452 | MSM8960 0x16440000 0xf0040000 | 481 | MSM8960 0x16440000 0xf0040000 |
@@ -455,13 +484,13 @@ choice | |||
455 | Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration | 484 | Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration |
456 | options based on your needs. | 485 | options based on your needs. |
457 | 486 | ||
458 | config DEBUG_MVEBU_UART | 487 | config DEBUG_MVEBU_UART0 |
459 | bool "Kernel low-level debugging messages via MVEBU UART (old bootloaders)" | 488 | bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)" |
460 | depends on ARCH_MVEBU | 489 | depends on ARCH_MVEBU |
461 | select DEBUG_UART_8250 | 490 | select DEBUG_UART_8250 |
462 | help | 491 | help |
463 | Say Y here if you want kernel low-level debugging support | 492 | Say Y here if you want kernel low-level debugging support |
464 | on MVEBU based platforms. | 493 | on MVEBU based platforms on UART0. |
465 | 494 | ||
466 | This option should be used with the old bootloaders | 495 | This option should be used with the old bootloaders |
467 | that left the internal registers mapped at | 496 | that left the internal registers mapped at |
@@ -474,13 +503,28 @@ choice | |||
474 | when u-boot hands over to the kernel, the system | 503 | when u-boot hands over to the kernel, the system |
475 | silently crashes, with no serial output at all. | 504 | silently crashes, with no serial output at all. |
476 | 505 | ||
477 | config DEBUG_MVEBU_UART_ALTERNATE | 506 | config DEBUG_MVEBU_UART0_ALTERNATE |
478 | bool "Kernel low-level debugging messages via MVEBU UART (new bootloaders)" | 507 | bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)" |
479 | depends on ARCH_MVEBU | 508 | depends on ARCH_MVEBU |
480 | select DEBUG_UART_8250 | 509 | select DEBUG_UART_8250 |
481 | help | 510 | help |
482 | Say Y here if you want kernel low-level debugging support | 511 | Say Y here if you want kernel low-level debugging support |
483 | on MVEBU based platforms. | 512 | on MVEBU based platforms on UART0. |
513 | |||
514 | This option should be used with the new bootloaders | ||
515 | that remap the internal registers at 0xf1000000. | ||
516 | |||
517 | If the wrong DEBUG_MVEBU_UART* option is selected, | ||
518 | when u-boot hands over to the kernel, the system | ||
519 | silently crashes, with no serial output at all. | ||
520 | |||
521 | config DEBUG_MVEBU_UART1_ALTERNATE | ||
522 | bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)" | ||
523 | depends on ARCH_MVEBU | ||
524 | select DEBUG_UART_8250 | ||
525 | help | ||
526 | Say Y here if you want kernel low-level debugging support | ||
527 | on MVEBU based platforms on UART1. | ||
484 | 528 | ||
485 | This option should be used with the new bootloaders | 529 | This option should be used with the new bootloaders |
486 | that remap the internal registers at 0xf1000000. | 530 | that remap the internal registers at 0xf1000000. |
@@ -496,6 +540,13 @@ choice | |||
496 | Say Y here if you want kernel low-level debugging support | 540 | Say Y here if you want kernel low-level debugging support |
497 | on Vybrid based platforms. | 541 | on Vybrid based platforms. |
498 | 542 | ||
543 | config DEBUG_NETX_UART | ||
544 | bool "Kernel low-level debugging messages via NetX UART" | ||
545 | depends on ARCH_NETX | ||
546 | help | ||
547 | Say Y here if you want kernel low-level debugging support | ||
548 | on Hilscher NetX based platforms. | ||
549 | |||
499 | config DEBUG_NOMADIK_UART | 550 | config DEBUG_NOMADIK_UART |
500 | bool "Kernel low-level debugging messages via NOMADIK UART" | 551 | bool "Kernel low-level debugging messages via NOMADIK UART" |
501 | depends on ARCH_NOMADIK | 552 | depends on ARCH_NOMADIK |
@@ -520,6 +571,30 @@ choice | |||
520 | Say Y here if you want kernel low-level debugging support | 571 | Say Y here if you want kernel low-level debugging support |
521 | on TI-NSPIRE CX models. | 572 | on TI-NSPIRE CX models. |
522 | 573 | ||
574 | config DEBUG_OMAP1UART1 | ||
575 | bool "Kernel low-level debugging via OMAP1 UART1" | ||
576 | depends on ARCH_OMAP1 | ||
577 | select DEBUG_UART_8250 | ||
578 | help | ||
579 | Say Y here if you want kernel low-level debugging support | ||
580 | on OMAP1 based platforms (except OMAP730) on the UART1. | ||
581 | |||
582 | config DEBUG_OMAP1UART2 | ||
583 | bool "Kernel low-level debugging via OMAP1 UART2" | ||
584 | depends on ARCH_OMAP1 | ||
585 | select DEBUG_UART_8250 | ||
586 | help | ||
587 | Say Y here if you want kernel low-level debugging support | ||
588 | on OMAP1 based platforms (except OMAP730) on the UART2. | ||
589 | |||
590 | config DEBUG_OMAP1UART3 | ||
591 | bool "Kernel low-level debugging via OMAP1 UART3" | ||
592 | depends on ARCH_OMAP1 | ||
593 | select DEBUG_UART_8250 | ||
594 | help | ||
595 | Say Y here if you want kernel low-level debugging support | ||
596 | on OMAP1 based platforms (except OMAP730) on the UART3. | ||
597 | |||
523 | config DEBUG_OMAP2UART1 | 598 | config DEBUG_OMAP2UART1 |
524 | bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" | 599 | bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" |
525 | depends on ARCH_OMAP2PLUS | 600 | depends on ARCH_OMAP2PLUS |
@@ -562,6 +637,30 @@ choice | |||
562 | depends on ARCH_OMAP2PLUS | 637 | depends on ARCH_OMAP2PLUS |
563 | select DEBUG_OMAP2PLUS_UART | 638 | select DEBUG_OMAP2PLUS_UART |
564 | 639 | ||
640 | config DEBUG_OMAP7XXUART1 | ||
641 | bool "Kernel low-level debugging via OMAP730 UART1" | ||
642 | depends on ARCH_OMAP730 | ||
643 | select DEBUG_UART_8250 | ||
644 | help | ||
645 | Say Y here if you want kernel low-level debugging support | ||
646 | on OMAP730 based platforms on the UART1. | ||
647 | |||
648 | config DEBUG_OMAP7XXUART2 | ||
649 | bool "Kernel low-level debugging via OMAP730 UART2" | ||
650 | depends on ARCH_OMAP730 | ||
651 | select DEBUG_UART_8250 | ||
652 | help | ||
653 | Say Y here if you want kernel low-level debugging support | ||
654 | on OMAP730 based platforms on the UART2. | ||
655 | |||
656 | config DEBUG_OMAP7XXUART3 | ||
657 | bool "Kernel low-level debugging via OMAP730 UART3" | ||
658 | depends on ARCH_OMAP730 | ||
659 | select DEBUG_UART_8250 | ||
660 | help | ||
661 | Say Y here if you want kernel low-level debugging support | ||
662 | on OMAP730 based platforms on the UART3. | ||
663 | |||
565 | config DEBUG_TI81XXUART1 | 664 | config DEBUG_TI81XXUART1 |
566 | bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)" | 665 | bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)" |
567 | depends on ARCH_OMAP2PLUS | 666 | depends on ARCH_OMAP2PLUS |
@@ -916,16 +1015,28 @@ choice | |||
916 | config DEBUG_SIRFPRIMA2_UART1 | 1015 | config DEBUG_SIRFPRIMA2_UART1 |
917 | bool "Kernel low-level debugging messages via SiRFprimaII UART1" | 1016 | bool "Kernel low-level debugging messages via SiRFprimaII UART1" |
918 | depends on ARCH_PRIMA2 | 1017 | depends on ARCH_PRIMA2 |
1018 | select DEBUG_SIRFSOC_UART | ||
919 | help | 1019 | help |
920 | Say Y here if you want the debug print routines to direct | 1020 | Say Y here if you want the debug print routines to direct |
921 | their output to the uart1 port on SiRFprimaII devices. | 1021 | their output to the uart1 port on SiRFprimaII devices. |
922 | 1022 | ||
923 | config DEBUG_SIRFMARCO_UART1 | 1023 | config DEBUG_SIRFATLAS7_UART0 |
924 | bool "Kernel low-level debugging messages via SiRFmarco UART1" | 1024 | bool "Kernel low-level debugging messages via SiRFatlas7 UART0" |
925 | depends on ARCH_MARCO | 1025 | depends on ARCH_ATLAS7 |
1026 | select DEBUG_SIRFSOC_UART | ||
1027 | help | ||
1028 | Say Y here if you want the debug print routines to direct | ||
1029 | their output to the uart0 port on SiRFATLAS7 devices.The uart0 | ||
1030 | is used on SiRFATLAS7 as a extra debug port.sometimes an extra | ||
1031 | debug port can be very useful. | ||
1032 | |||
1033 | config DEBUG_SIRFATLAS7_UART1 | ||
1034 | bool "Kernel low-level debugging messages via SiRFatlas7 UART1" | ||
1035 | depends on ARCH_ATLAS7 | ||
1036 | select DEBUG_SIRFSOC_UART | ||
926 | help | 1037 | help |
927 | Say Y here if you want the debug print routines to direct | 1038 | Say Y here if you want the debug print routines to direct |
928 | their output to the uart1 port on SiRFmarco devices. | 1039 | their output to the uart1 port on SiRFATLAS7 devices. |
929 | 1040 | ||
930 | config STIH41X_DEBUG_ASC2 | 1041 | config STIH41X_DEBUG_ASC2 |
931 | bool "Use StiH415/416 ASC2 UART for low-level debug" | 1042 | bool "Use StiH415/416 ASC2 UART for low-level debug" |
@@ -973,7 +1084,7 @@ choice | |||
973 | for Mediatek mt6589 based platforms on UART0. | 1084 | for Mediatek mt6589 based platforms on UART0. |
974 | 1085 | ||
975 | config DEBUG_MT8127_UART0 | 1086 | config DEBUG_MT8127_UART0 |
976 | bool "Mediatek mt8127 UART0" | 1087 | bool "Mediatek mt8127/mt6592 UART0" |
977 | depends on ARCH_MEDIATEK | 1088 | depends on ARCH_MEDIATEK |
978 | select DEBUG_UART_8250 | 1089 | select DEBUG_UART_8250 |
979 | help | 1090 | help |
@@ -1031,15 +1142,6 @@ choice | |||
1031 | This option selects UART0 on VIA/Wondermedia System-on-a-chip | 1142 | This option selects UART0 on VIA/Wondermedia System-on-a-chip |
1032 | devices, including VT8500, WM8505, WM8650 and WM8850. | 1143 | devices, including VT8500, WM8505, WM8650 and WM8850. |
1033 | 1144 | ||
1034 | config DEBUG_LL_UART_NONE | ||
1035 | bool "No low-level debugging UART" | ||
1036 | depends on !ARCH_MULTIPLATFORM | ||
1037 | help | ||
1038 | Say Y here if your platform doesn't provide a UART option | ||
1039 | above. This relies on your platform choosing the right UART | ||
1040 | definition internally in order for low-level debugging to | ||
1041 | work. | ||
1042 | |||
1043 | config DEBUG_ICEDCC | 1145 | config DEBUG_ICEDCC |
1044 | bool "Kernel low-level debugging via EmbeddedICE DCC channel" | 1146 | bool "Kernel low-level debugging via EmbeddedICE DCC channel" |
1045 | help | 1147 | help |
@@ -1109,6 +1211,10 @@ choice | |||
1109 | 1211 | ||
1110 | endchoice | 1212 | endchoice |
1111 | 1213 | ||
1214 | config DEBUG_AT91_UART | ||
1215 | bool | ||
1216 | depends on ARCH_AT91 | ||
1217 | |||
1112 | config DEBUG_EXYNOS_UART | 1218 | config DEBUG_EXYNOS_UART |
1113 | bool | 1219 | bool |
1114 | 1220 | ||
@@ -1161,10 +1267,15 @@ config DEBUG_STI_UART | |||
1161 | bool | 1267 | bool |
1162 | depends on ARCH_STI | 1268 | depends on ARCH_STI |
1163 | 1269 | ||
1270 | config DEBUG_SIRFSOC_UART | ||
1271 | bool | ||
1272 | depends on ARCH_SIRF | ||
1273 | |||
1164 | config DEBUG_LL_INCLUDE | 1274 | config DEBUG_LL_INCLUDE |
1165 | string | 1275 | string |
1166 | default "debug/sa1100.S" if DEBUG_SA1100 | 1276 | default "debug/sa1100.S" if DEBUG_SA1100 |
1167 | default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 | 1277 | default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 |
1278 | default "debug/at91.S" if DEBUG_AT91_UART | ||
1168 | default "debug/asm9260.S" if DEBUG_ASM9260_UART | 1279 | default "debug/asm9260.S" if DEBUG_ASM9260_UART |
1169 | default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 | 1280 | default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 |
1170 | default "debug/meson.S" if DEBUG_MESON_UARTAO | 1281 | default "debug/meson.S" if DEBUG_MESON_UARTAO |
@@ -1183,7 +1294,9 @@ config DEBUG_LL_INCLUDE | |||
1183 | DEBUG_IMX6Q_UART || \ | 1294 | DEBUG_IMX6Q_UART || \ |
1184 | DEBUG_IMX6SL_UART || \ | 1295 | DEBUG_IMX6SL_UART || \ |
1185 | DEBUG_IMX6SX_UART | 1296 | DEBUG_IMX6SX_UART |
1297 | default "debug/ks8695.S" if DEBUG_KS8695_UART | ||
1186 | default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM | 1298 | default "debug/msm.S" if DEBUG_MSM_UART || DEBUG_QCOM_UARTDM |
1299 | default "debug/netx.S" if DEBUG_NETX_UART | ||
1187 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART | 1300 | default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART |
1188 | default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2 | 1301 | default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2 |
1189 | default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0 | 1302 | default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0 |
@@ -1195,7 +1308,7 @@ config DEBUG_LL_INCLUDE | |||
1195 | default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4 | 1308 | default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4 |
1196 | default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART | 1309 | default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART |
1197 | default "debug/s5pv210.S" if DEBUG_S5PV210_UART | 1310 | default "debug/s5pv210.S" if DEBUG_S5PV210_UART |
1198 | default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1 | 1311 | default "debug/sirf.S" if DEBUG_SIRFSOC_UART |
1199 | default "debug/sti.S" if DEBUG_STI_UART | 1312 | default "debug/sti.S" if DEBUG_STI_UART |
1200 | default "debug/tegra.S" if DEBUG_TEGRA_UART | 1313 | default "debug/tegra.S" if DEBUG_TEGRA_UART |
1201 | default "debug/ux500.S" if DEBUG_UX500_UART | 1314 | default "debug/ux500.S" if DEBUG_UX500_UART |
@@ -1204,16 +1317,12 @@ config DEBUG_LL_INCLUDE | |||
1204 | default "debug/vt8500.S" if DEBUG_VT8500_UART0 | 1317 | default "debug/vt8500.S" if DEBUG_VT8500_UART0 |
1205 | default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 | 1318 | default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 |
1206 | default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX | 1319 | default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX |
1320 | default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0 | ||
1207 | default "mach/debug-macro.S" | 1321 | default "mach/debug-macro.S" |
1208 | 1322 | ||
1209 | # Compatibility options for PL01x | 1323 | # Compatibility options for PL01x |
1210 | config DEBUG_UART_PL01X | 1324 | config DEBUG_UART_PL01X |
1211 | def_bool ARCH_EP93XX || \ | 1325 | bool |
1212 | ARCH_INTEGRATOR || \ | ||
1213 | ARCH_SPEAR3XX || \ | ||
1214 | ARCH_SPEAR6XX || \ | ||
1215 | ARCH_SPEAR13XX || \ | ||
1216 | ARCH_VERSATILE | ||
1217 | 1326 | ||
1218 | # Compatibility options for 8250 | 1327 | # Compatibility options for 8250 |
1219 | config DEBUG_UART_8250 | 1328 | config DEBUG_UART_8250 |
@@ -1229,6 +1338,7 @@ config DEBUG_UART_BCM63XX | |||
1229 | 1338 | ||
1230 | config DEBUG_UART_PHYS | 1339 | config DEBUG_UART_PHYS |
1231 | hex "Physical base address of debug UART" | 1340 | hex "Physical base address of debug UART" |
1341 | default 0x00100a00 if DEBUG_NETX_UART | ||
1232 | default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 | 1342 | default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 |
1233 | default 0x01c28000 if DEBUG_SUNXI_UART0 | 1343 | default 0x01c28000 if DEBUG_SUNXI_UART0 |
1234 | default 0x01c28400 if DEBUG_SUNXI_UART1 | 1344 | default 0x01c28400 if DEBUG_SUNXI_UART1 |
@@ -1251,7 +1361,10 @@ config DEBUG_UART_PHYS | |||
1251 | default 0x11009000 if DEBUG_MT8135_UART3 | 1361 | default 0x11009000 if DEBUG_MT8135_UART3 |
1252 | default 0x16000000 if ARCH_INTEGRATOR | 1362 | default 0x16000000 if ARCH_INTEGRATOR |
1253 | default 0x18000300 if DEBUG_BCM_5301X | 1363 | default 0x18000300 if DEBUG_BCM_5301X |
1364 | default 0x18010000 if DEBUG_SIRFATLAS7_UART0 | ||
1365 | default 0x18020000 if DEBUG_SIRFATLAS7_UART1 | ||
1254 | default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 | 1366 | default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 |
1367 | default 0x20001000 if DEBUG_HIP01_UART | ||
1255 | default 0x20060000 if DEBUG_RK29_UART0 | 1368 | default 0x20060000 if DEBUG_RK29_UART0 |
1256 | default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 | 1369 | default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 |
1257 | default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 | 1370 | default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 |
@@ -1269,7 +1382,6 @@ config DEBUG_UART_PHYS | |||
1269 | DEBUG_S3C2410_UART2) | 1382 | DEBUG_S3C2410_UART2) |
1270 | default 0x78000000 if DEBUG_CNS3XXX | 1383 | default 0x78000000 if DEBUG_CNS3XXX |
1271 | default 0x7c0003f8 if FOOTBRIDGE | 1384 | default 0x7c0003f8 if FOOTBRIDGE |
1272 | default 0x78000000 if DEBUG_CNS3XXX | ||
1273 | default 0x80010000 if DEBUG_ASM9260_UART | 1385 | default 0x80010000 if DEBUG_ASM9260_UART |
1274 | default 0x80070000 if DEBUG_IMX23_UART | 1386 | default 0x80070000 if DEBUG_IMX23_UART |
1275 | default 0x80074000 if DEBUG_IMX28_UART | 1387 | default 0x80074000 if DEBUG_IMX28_UART |
@@ -1277,12 +1389,13 @@ config DEBUG_UART_PHYS | |||
1277 | default 0x808c0000 if ARCH_EP93XX | 1389 | default 0x808c0000 if ARCH_EP93XX |
1278 | default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART | 1390 | default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART |
1279 | default 0xa9a00000 if DEBUG_MSM_UART | 1391 | default 0xa9a00000 if DEBUG_MSM_UART |
1392 | default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1 | ||
1280 | default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX | 1393 | default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX |
1281 | default 0xc0013000 if DEBUG_U300_UART | 1394 | default 0xc0013000 if DEBUG_U300_UART |
1282 | default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN | 1395 | default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN |
1283 | default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN | 1396 | default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN |
1284 | default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX | 1397 | default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX |
1285 | default 0xd0012000 if DEBUG_MVEBU_UART | 1398 | default 0xd0012000 if DEBUG_MVEBU_UART0 |
1286 | default 0xc81004c0 if DEBUG_MESON_UARTAO | 1399 | default 0xc81004c0 if DEBUG_MESON_UARTAO |
1287 | default 0xd4017000 if DEBUG_MMP_UART2 | 1400 | default 0xd4017000 if DEBUG_MMP_UART2 |
1288 | default 0xd4018000 if DEBUG_MMP_UART3 | 1401 | default 0xd4018000 if DEBUG_MMP_UART3 |
@@ -1296,7 +1409,8 @@ config DEBUG_UART_PHYS | |||
1296 | default 0xe8008000 if DEBUG_R7S72100_SCIF2 | 1409 | default 0xe8008000 if DEBUG_R7S72100_SCIF2 |
1297 | default 0xf0000be0 if ARCH_EBSA110 | 1410 | default 0xf0000be0 if ARCH_EBSA110 |
1298 | default 0xf040ab00 if DEBUG_BRCMSTB_UART | 1411 | default 0xf040ab00 if DEBUG_BRCMSTB_UART |
1299 | default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE | 1412 | default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE |
1413 | default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE | ||
1300 | default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \ | 1414 | default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \ |
1301 | ARCH_ORION5X | 1415 | ARCH_ORION5X |
1302 | default 0xf7fc9000 if DEBUG_BERLIN_UART | 1416 | default 0xf7fc9000 if DEBUG_BERLIN_UART |
@@ -1310,20 +1424,27 @@ config DEBUG_UART_PHYS | |||
1310 | default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0 | 1424 | default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0 |
1311 | default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2 | 1425 | default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2 |
1312 | default 0xfff36000 if DEBUG_HIGHBANK_UART | 1426 | default 0xfff36000 if DEBUG_HIGHBANK_UART |
1427 | default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 | ||
1428 | default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 | ||
1429 | default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 | ||
1313 | default 0xfffe8600 if DEBUG_UART_BCM63XX | 1430 | default 0xfffe8600 if DEBUG_UART_BCM63XX |
1314 | default 0xfffff700 if ARCH_IOP33X | 1431 | default 0xfffff700 if ARCH_IOP33X |
1315 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ | 1432 | depends on ARCH_EP93XX || \ |
1433 | DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ | ||
1316 | DEBUG_LL_UART_EFM32 || \ | 1434 | DEBUG_LL_UART_EFM32 || \ |
1317 | DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ | 1435 | DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ |
1318 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \ | 1436 | DEBUG_MSM_UART || DEBUG_NETX_UART || \ |
1437 | DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \ | ||
1319 | DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \ | 1438 | DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \ |
1320 | DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \ | 1439 | DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \ |
1321 | DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ | 1440 | DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ |
1322 | DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ | 1441 | DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ |
1323 | DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART | 1442 | DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \ |
1443 | DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 | ||
1324 | 1444 | ||
1325 | config DEBUG_UART_VIRT | 1445 | config DEBUG_UART_VIRT |
1326 | hex "Virtual base address of debug UART" | 1446 | hex "Virtual base address of debug UART" |
1447 | default 0xe0000a00 if DEBUG_NETX_UART | ||
1327 | default 0xe0010fe0 if ARCH_RPC | 1448 | default 0xe0010fe0 if ARCH_RPC |
1328 | default 0xe1000000 if DEBUG_MSM_UART | 1449 | default 0xe1000000 if DEBUG_MSM_UART |
1329 | default 0xf0000be0 if ARCH_EBSA110 | 1450 | default 0xf0000be0 if ARCH_EBSA110 |
@@ -1377,8 +1498,12 @@ config DEBUG_UART_VIRT | |||
1377 | default 0xfeb30c00 if DEBUG_KEYSTONE_UART0 | 1498 | default 0xfeb30c00 if DEBUG_KEYSTONE_UART0 |
1378 | default 0xfeb31000 if DEBUG_KEYSTONE_UART1 | 1499 | default 0xfeb31000 if DEBUG_KEYSTONE_UART1 |
1379 | default 0xfec02000 if DEBUG_SOCFPGA_UART | 1500 | default 0xfec02000 if DEBUG_SOCFPGA_UART |
1380 | default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE | 1501 | default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE |
1502 | default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE | ||
1503 | default 0xfec10000 if DEBUG_SIRFATLAS7_UART0 | ||
1381 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 | 1504 | default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 |
1505 | default 0xfec20000 if DEBUG_SIRFATLAS7_UART1 | ||
1506 | default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1 | ||
1382 | default 0xfec90000 if DEBUG_RK32_UART2 | 1507 | default 0xfec90000 if DEBUG_RK32_UART2 |
1383 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 | 1508 | default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 |
1384 | default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 | 1509 | default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 |
@@ -1392,18 +1517,25 @@ config DEBUG_UART_VIRT | |||
1392 | default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN | 1517 | default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN |
1393 | default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN | 1518 | default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN |
1394 | default 0xfef36000 if DEBUG_HIGHBANK_UART | 1519 | default 0xfef36000 if DEBUG_HIGHBANK_UART |
1520 | default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 | ||
1521 | default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 | ||
1522 | default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 | ||
1395 | default 0xfefff700 if ARCH_IOP33X | 1523 | default 0xfefff700 if ARCH_IOP33X |
1396 | default 0xff003000 if DEBUG_U300_UART | 1524 | default 0xff003000 if DEBUG_U300_UART |
1525 | default 0xffd01000 if DEBUG_HIP01_UART | ||
1397 | default DEBUG_UART_PHYS if !MMU | 1526 | default DEBUG_UART_PHYS if !MMU |
1398 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ | 1527 | depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ |
1399 | DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ | 1528 | DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ |
1400 | DEBUG_MSM_UART || DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ | 1529 | DEBUG_MSM_UART || DEBUG_NETX_UART || \ |
1401 | DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART | 1530 | DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ |
1531 | DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \ | ||
1532 | DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 | ||
1402 | 1533 | ||
1403 | config DEBUG_UART_8250_SHIFT | 1534 | config DEBUG_UART_8250_SHIFT |
1404 | int "Register offset shift for the 8250 debug UART" | 1535 | int "Register offset shift for the 8250 debug UART" |
1405 | depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 | 1536 | depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 |
1406 | default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X | 1537 | default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X || \ |
1538 | DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3 | ||
1407 | default 2 | 1539 | default 2 |
1408 | 1540 | ||
1409 | config DEBUG_UART_8250_WORD | 1541 | config DEBUG_UART_8250_WORD |