]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/Kconfig.debug
Merge remote-tracking branch 'imx-mxs/for-next'
[karo-tx-linux.git] / arch / arm / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config ARM_PTDUMP
6         bool "Export kernel pagetable layout ot userspace via debugfs"
7         depends on DEBUG_KERNEL
8         select DEBUG_FS
9         ---help---
10           Say Y here if you want to show the kernel pagetable layout in a
11           debugfs file. This information is only useful for kernel developers
12           who are working in architecture specific areas of the kernel.
13           It is probably not a good idea to enable this feature in a production
14           kernel.
15           If in doubt, say "N"
16
17 config STRICT_DEVMEM
18         bool "Filter access to /dev/mem"
19         depends on MMU
20         ---help---
21           If this option is disabled, you allow userspace (root) access to all
22           of memory, including kernel and userspace memory. Accidental
23           access to this is obviously disastrous, but specific access can
24           be used by people debugging the kernel.
25
26           If this option is switched on, the /dev/mem file only allows
27           userspace access to memory mapped peripherals.
28
29           If in doubt, say Y.
30
31 # RMK wants arm kernels compiled with frame pointers or stack unwinding.
32 # If you know what you are doing and are willing to live without stack
33 # traces, you can get a slightly smaller kernel by setting this option to
34 # n, but then RMK will have to kill you ;).
35 config FRAME_POINTER
36         bool
37         depends on !THUMB2_KERNEL
38         default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER
39         help
40           If you say N here, the resulting kernel will be slightly smaller and
41           faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled,
42           when a problem occurs with the kernel, the information that is
43           reported is severely limited.
44
45 config ARM_UNWIND
46         bool "Enable stack unwinding support (EXPERIMENTAL)"
47         depends on AEABI
48         default y
49         help
50           This option enables stack unwinding support in the kernel
51           using the information automatically generated by the
52           compiler. The resulting kernel image is slightly bigger but
53           the performance is not affected. Currently, this feature
54           only works with EABI compilers. If unsure say Y.
55
56 config OLD_MCOUNT
57         bool
58         depends on FUNCTION_TRACER && FRAME_POINTER
59         default y
60
61 config DEBUG_USER
62         bool "Verbose user fault messages"
63         help
64           When a user program crashes due to an exception, the kernel can
65           print a brief message explaining what the problem was. This is
66           sometimes helpful for debugging but serves no purpose on a
67           production system. Most people should say N here.
68
69           In addition, you need to pass user_debug=N on the kernel command
70           line to enable this feature.  N consists of the sum of:
71
72               1 - undefined instruction events
73               2 - system calls
74               4 - invalid data aborts
75               8 - SIGSEGV faults
76              16 - SIGBUS faults
77
78 # These options are only for real kernel hackers who want to get their hands dirty.
79 config DEBUG_LL
80         bool "Kernel low-level debugging functions (read help!)"
81         depends on DEBUG_KERNEL
82         help
83           Say Y here to include definitions of printascii, printch, printhex
84           in the kernel.  This is helpful if you are debugging code that
85           executes before the console is initialized.
86
87           Note that selecting this option will limit the kernel to a single
88           UART definition, as specified below. Attempting to boot the kernel
89           image on a different platform *will not work*, so this option should
90           not be enabled for kernels that are intended to be portable.
91
92 choice
93         prompt "Kernel low-level debugging port"
94         depends on DEBUG_LL
95
96         config AT91_DEBUG_LL_DBGU0
97                 bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl"
98                 depends on HAVE_AT91_DBGU0
99
100         config AT91_DEBUG_LL_DBGU1
101                 bool "Kernel low-level debugging on 9263 and 9g45"
102                 depends on HAVE_AT91_DBGU1
103
104         config DEBUG_BCM2835
105                 bool "Kernel low-level debugging on BCM2835 PL011 UART"
106                 depends on ARCH_BCM2835
107                 select DEBUG_UART_PL01X
108
109         config DEBUG_CLPS711X_UART1
110                 bool "Kernel low-level debugging messages via UART1"
111                 depends on ARCH_CLPS711X
112                 help
113                   Say Y here if you want the debug print routines to direct
114                   their output to the first serial port on these devices.
115
116         config DEBUG_CLPS711X_UART2
117                 bool "Kernel low-level debugging messages via UART2"
118                 depends on ARCH_CLPS711X
119                 help
120                   Say Y here if you want the debug print routines to direct
121                   their output to the second serial port on these devices.
122
123         config DEBUG_CNS3XXX
124                 bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
125                 depends on ARCH_CNS3XXX
126                 select DEBUG_UART_PL01X
127                 help
128                   Say Y here if you want the debug print routines to direct
129                   their output to the CNS3xxx UART0.
130
131         config DEBUG_DAVINCI_DA8XX_UART1
132                 bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
133                 depends on ARCH_DAVINCI_DA8XX
134                 select DEBUG_UART_8250
135                 help
136                   Say Y here if you want the debug print routines to direct
137                   their output to UART1 serial port on DaVinci DA8XX devices.
138
139         config DEBUG_DAVINCI_DA8XX_UART2
140                 bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
141                 depends on ARCH_DAVINCI_DA8XX
142                 select DEBUG_UART_8250
143                 help
144                   Say Y here if you want the debug print routines to direct
145                   their output to UART2 serial port on DaVinci DA8XX devices.
146
147         config DEBUG_DAVINCI_DMx_UART0
148                 bool "Kernel low-level debugging on DaVinci DMx using UART0"
149                 depends on ARCH_DAVINCI_DMx
150                 select DEBUG_UART_8250
151                 help
152                   Say Y here if you want the debug print routines to direct
153                   their output to UART0 serial port on DaVinci DMx devices.
154
155         config DEBUG_DAVINCI_TNETV107X_UART1
156                 bool "Kernel low-level debugging on DaVinci TNETV107x using UART1"
157                 depends on ARCH_DAVINCI_TNETV107X
158                 select DEBUG_UART_8250
159                 help
160                   Say Y here if you want the debug print routines to direct
161                   their output to UART1 serial port on DaVinci TNETV107X
162                   devices.
163
164         config DEBUG_ZYNQ_UART0
165                 bool "Kernel low-level debugging on Xilinx Zynq using UART0"
166                 depends on ARCH_ZYNQ
167                 help
168                   Say Y here if you want the debug print routines to direct
169                   their output to UART0 on the Zynq platform.
170
171         config DEBUG_ZYNQ_UART1
172                 bool "Kernel low-level debugging on Xilinx Zynq using UART1"
173                 depends on ARCH_ZYNQ
174                 help
175                   Say Y here if you want the debug print routines to direct
176                   their output to UART1 on the Zynq platform.
177
178                   If you have a ZC702 board and want early boot messages to
179                   appear on the USB serial adaptor, select this option.
180
181         config DEBUG_DC21285_PORT
182                 bool "Kernel low-level debugging messages via footbridge serial port"
183                 depends on FOOTBRIDGE
184                 help
185                   Say Y here if you want the debug print routines to direct
186                   their output to the serial port in the DC21285 (Footbridge).
187
188         config DEBUG_FOOTBRIDGE_COM1
189                 bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
190                 depends on FOOTBRIDGE
191                 help
192                   Say Y here if you want the debug print routines to direct
193                   their output to the 8250 at PCI COM1.
194
195         config DEBUG_HI3620_UART
196                 bool "Hisilicon HI3620 Debug UART"
197                 depends on ARCH_HI3xxx
198                 select DEBUG_UART_PL01X
199                 help
200                   Say Y here if you want kernel low-level debugging support
201                   on HI3620 UART.
202
203         config DEBUG_HI3716_UART
204                 bool "Hisilicon Hi3716 Debug UART"
205                 depends on ARCH_HI3xxx
206                 select DEBUG_UART_PL01X
207                 help
208                   Say Y here if you want kernel low-level debugging support
209                   on HI3716 UART.
210
211         config DEBUG_HIGHBANK_UART
212                 bool "Kernel low-level debugging messages via Highbank UART"
213                 depends on ARCH_HIGHBANK
214                 select DEBUG_UART_PL01X
215                 help
216                   Say Y here if you want the debug print routines to direct
217                   their output to the UART on Highbank based devices.
218
219         config DEBUG_IMX1_UART
220                 bool "i.MX1 Debug UART"
221                 depends on SOC_IMX1
222                 help
223                   Say Y here if you want kernel low-level debugging support
224                   on i.MX1.
225
226         config DEBUG_IMX23_UART
227                 bool "i.MX23 Debug UART"
228                 depends on SOC_IMX23
229                 select DEBUG_UART_PL01X
230                 help
231                   Say Y here if you want kernel low-level debugging support
232                   on i.MX23.
233
234         config DEBUG_IMX25_UART
235                 bool "i.MX25 Debug UART"
236                 depends on SOC_IMX25
237                 help
238                   Say Y here if you want kernel low-level debugging support
239                   on i.MX25.
240
241         config DEBUG_IMX21_IMX27_UART
242                 bool "i.MX21 and i.MX27 Debug UART"
243                 depends on SOC_IMX21 || SOC_IMX27
244                 help
245                   Say Y here if you want kernel low-level debugging support
246                   on i.MX21 or i.MX27.
247
248         config DEBUG_IMX28_UART
249                 bool "i.MX28 Debug UART"
250                 depends on SOC_IMX28
251                 select DEBUG_UART_PL01X
252                 help
253                   Say Y here if you want kernel low-level debugging support
254                   on i.MX28.
255
256         config DEBUG_IMX31_UART
257                 bool "i.MX31 Debug UART"
258                 depends on SOC_IMX31
259                 help
260                   Say Y here if you want kernel low-level debugging support
261                   on i.MX31.
262
263         config DEBUG_IMX35_UART
264                 bool "i.MX35 Debug UART"
265                 depends on SOC_IMX35
266                 help
267                   Say Y here if you want kernel low-level debugging support
268                   on i.MX35.
269
270         config DEBUG_IMX50_UART
271                 bool "i.MX50 Debug UART"
272                 depends on SOC_IMX50
273                 help
274                   Say Y here if you want kernel low-level debugging support
275                   on i.MX50.
276
277         config DEBUG_IMX51_UART
278                 bool "i.MX51 Debug UART"
279                 depends on SOC_IMX51
280                 help
281                   Say Y here if you want kernel low-level debugging support
282                   on i.MX51.
283
284         config DEBUG_IMX53_UART
285                 bool "i.MX53 Debug UART"
286                 depends on SOC_IMX53
287                 help
288                   Say Y here if you want kernel low-level debugging support
289                   on i.MX53.
290
291         config DEBUG_IMX6Q_UART
292                 bool "i.MX6Q/DL Debug UART"
293                 depends on SOC_IMX6Q
294                 help
295                   Say Y here if you want kernel low-level debugging support
296                   on i.MX6Q/DL.
297
298         config DEBUG_IMX6SL_UART
299                 bool "i.MX6SL Debug UART"
300                 depends on SOC_IMX6SL
301                 help
302                   Say Y here if you want kernel low-level debugging support
303                   on i.MX6SL.
304
305         config DEBUG_KEYSTONE_UART0
306                 bool "Kernel low-level debugging on KEYSTONE2 using UART0"
307                 depends on ARCH_KEYSTONE
308                 select DEBUG_UART_8250
309                 help
310                   Say Y here if you want the debug print routines to direct
311                   their output to UART0 serial port on KEYSTONE2 devices.
312
313         config DEBUG_KEYSTONE_UART1
314                 bool "Kernel low-level debugging on KEYSTONE2 using UART1"
315                 depends on ARCH_KEYSTONE
316                 select DEBUG_UART_8250
317                 help
318                   Say Y here if you want the debug print routines to direct
319                   their output to UART1 serial port on KEYSTONE2 devices.
320
321         config DEBUG_MMP_UART2
322                 bool "Kernel low-level debugging message via MMP UART2"
323                 depends on ARCH_MMP
324                 select DEBUG_UART_8250
325                 help
326                   Say Y here if you want kernel low-level debugging support
327                   on MMP UART2.
328
329         config DEBUG_MMP_UART3
330                 bool "Kernel low-level debugging message via MMP UART3"
331                 depends on ARCH_MMP
332                 select DEBUG_UART_8250
333                 help
334                   Say Y here if you want kernel low-level debugging support
335                   on MMP UART3.
336
337         config DEBUG_MSM_UART1
338                 bool "Kernel low-level debugging messages via MSM UART1"
339                 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
340                 select DEBUG_MSM_UART
341                 help
342                   Say Y here if you want the debug print routines to direct
343                   their output to the first serial port on MSM devices.
344
345         config DEBUG_MSM_UART2
346                 bool "Kernel low-level debugging messages via MSM UART2"
347                 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
348                 select DEBUG_MSM_UART
349                 help
350                   Say Y here if you want the debug print routines to direct
351                   their output to the second serial port on MSM devices.
352
353         config DEBUG_MSM_UART3
354                 bool "Kernel low-level debugging messages via MSM UART3"
355                 depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50
356                 select DEBUG_MSM_UART
357                 help
358                   Say Y here if you want the debug print routines to direct
359                   their output to the third serial port on MSM devices.
360
361         config DEBUG_MSM8660_UART
362                 bool "Kernel low-level debugging messages via MSM 8660 UART"
363                 depends on ARCH_MSM8X60
364                 select MSM_HAS_DEBUG_UART_HS
365                 select DEBUG_MSM_UART
366                 help
367                   Say Y here if you want the debug print routines to direct
368                   their output to the serial port on MSM 8660 devices.
369
370         config DEBUG_MSM8960_UART
371                 bool "Kernel low-level debugging messages via MSM 8960 UART"
372                 depends on ARCH_MSM8960
373                 select MSM_HAS_DEBUG_UART_HS
374                 select DEBUG_MSM_UART
375                 help
376                   Say Y here if you want the debug print routines to direct
377                   their output to the serial port on MSM 8960 devices.
378
379         config DEBUG_MSM8974_UART
380                 bool "Kernel low-level debugging messages via MSM 8974 UART"
381                 depends on ARCH_MSM8974
382                 select MSM_HAS_DEBUG_UART_HS
383                 select DEBUG_MSM_UART
384                 help
385                   Say Y here if you want the debug print routines to direct
386                   their output to the serial port on MSM 8974 devices.
387
388         config DEBUG_MVEBU_UART
389                 bool "Kernel low-level debugging messages via MVEBU UART (old bootloaders)"
390                 depends on ARCH_MVEBU
391                 select DEBUG_UART_8250
392                 help
393                   Say Y here if you want kernel low-level debugging support
394                   on MVEBU based platforms.
395
396                   This option should be used with the old bootloaders
397                   that left the internal registers mapped at
398                   0xd0000000. As of today, this is the case on
399                   platforms such as the Globalscale Mirabox or the
400                   Plathome OpenBlocks AX3, when using the original
401                   bootloader.
402
403                   If the wrong DEBUG_MVEBU_UART* option is selected,
404                   when u-boot hands over to the kernel, the system
405                   silently crashes, with no serial output at all.
406
407         config DEBUG_MVEBU_UART_ALTERNATE
408                 bool "Kernel low-level debugging messages via MVEBU UART (new bootloaders)"
409                 depends on ARCH_MVEBU
410                 select DEBUG_UART_8250
411                 help
412                   Say Y here if you want kernel low-level debugging support
413                   on MVEBU based platforms.
414
415                   This option should be used with the new bootloaders
416                   that remap the internal registers at 0xf1000000.
417
418                   If the wrong DEBUG_MVEBU_UART* option is selected,
419                   when u-boot hands over to the kernel, the system
420                   silently crashes, with no serial output at all.
421
422         config DEBUG_VF_UART
423                 bool "Vybrid UART"
424                 depends on SOC_VF610
425                 help
426                   Say Y here if you want kernel low-level debugging support
427                   on Vybrid based platforms.
428
429         config DEBUG_NOMADIK_UART
430                 bool "Kernel low-level debugging messages via NOMADIK UART"
431                 depends on ARCH_NOMADIK
432                 select DEBUG_UART_PL01X
433                 help
434                   Say Y here if you want kernel low-level debugging support
435                   on NOMADIK based platforms.
436
437         config DEBUG_NSPIRE_CLASSIC_UART
438                 bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
439                 depends on ARCH_NSPIRE
440                 select DEBUG_UART_8250
441                 help
442                   Say Y here if you want kernel low-level debugging support
443                   on TI-NSPIRE classic models.
444
445         config DEBUG_NSPIRE_CX_UART
446                 bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
447                 depends on ARCH_NSPIRE
448                 select DEBUG_UART_PL01X
449                 help
450                   Say Y here if you want kernel low-level debugging support
451                   on TI-NSPIRE CX models.
452
453         config DEBUG_OMAP2UART1
454                 bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
455                 depends on ARCH_OMAP2PLUS
456                 select DEBUG_OMAP2PLUS_UART
457                 help
458                   This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
459                   omap3 torpedo and 3530 lv som.
460
461         config DEBUG_OMAP2UART2
462                 bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
463                 depends on ARCH_OMAP2PLUS
464                 select DEBUG_OMAP2PLUS_UART
465
466         config DEBUG_OMAP2UART3
467                 bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
468                 depends on ARCH_OMAP2PLUS
469                 select DEBUG_OMAP2PLUS_UART
470
471         config DEBUG_OMAP3UART3
472                 bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
473                 depends on ARCH_OMAP2PLUS
474                 select DEBUG_OMAP2PLUS_UART
475                 help
476                   This covers at least cm_t3x, beagle, crane, devkit8000,
477                   igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
478                   and 3517evm.
479
480         config DEBUG_OMAP4UART3
481                 bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
482                 depends on ARCH_OMAP2PLUS
483                 select DEBUG_OMAP2PLUS_UART
484
485         config DEBUG_OMAP3UART4
486                 bool "Kernel low-level debugging messages via OMAP36XX UART4"
487                 depends on ARCH_OMAP2PLUS
488                 select DEBUG_OMAP2PLUS_UART
489
490         config DEBUG_OMAP4UART4
491                 bool "Kernel low-level debugging messages via OMAP4/5 UART4"
492                 depends on ARCH_OMAP2PLUS
493                 select DEBUG_OMAP2PLUS_UART
494
495         config DEBUG_TI81XXUART1
496                 bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
497                 depends on ARCH_OMAP2PLUS
498                 select DEBUG_OMAP2PLUS_UART
499
500         config DEBUG_TI81XXUART2
501                 bool "Kernel low-level debugging messages via TI81XX UART2"
502                 depends on ARCH_OMAP2PLUS
503                 select DEBUG_OMAP2PLUS_UART
504
505         config DEBUG_TI81XXUART3
506                 bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
507                 depends on ARCH_OMAP2PLUS
508                 select DEBUG_OMAP2PLUS_UART
509
510         config DEBUG_AM33XXUART1
511                 bool "Kernel low-level debugging messages via AM33XX UART1"
512                 depends on ARCH_OMAP2PLUS
513                 select DEBUG_OMAP2PLUS_UART
514
515         config DEBUG_ZOOM_UART
516                 bool "Kernel low-level debugging messages via Zoom2/3 UART"
517                 depends on ARCH_OMAP2PLUS
518                 select DEBUG_OMAP2PLUS_UART
519
520         config DEBUG_PICOXCELL_UART
521                 depends on ARCH_PICOXCELL
522                 bool "Use PicoXcell UART for low-level debug"
523                 select DEBUG_UART_8250
524                 help
525                   Say Y here if you want kernel low-level debugging support
526                   on PicoXcell based platforms.
527
528         config DEBUG_PXA_UART1
529                 depends on ARCH_PXA
530                 bool "Use PXA UART1 for low-level debug"
531                 select DEBUG_UART_8250
532                 help
533                   Say Y here if you want kernel low-level debugging support
534                   on PXA UART1.
535
536         config DEBUG_REALVIEW_STD_PORT
537                 bool "RealView Default UART"
538                 depends on ARCH_REALVIEW
539                 select DEBUG_UART_PL01X
540                 help
541                   Say Y here if you want the debug print routines to direct
542                   their output to the serial port on RealView EB, PB11MP, PBA8
543                   and PBX platforms.
544
545         config DEBUG_REALVIEW_PB1176_PORT
546                 bool "RealView PB1176 UART"
547                 depends on MACH_REALVIEW_PB1176
548                 select DEBUG_UART_PL01X
549                 help
550                   Say Y here if you want the debug print routines to direct
551                   their output to the standard serial port on the RealView
552                   PB1176 platform.
553
554         config DEBUG_RK29_UART0
555                 bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
556                 depends on ARCH_ROCKCHIP
557                 select DEBUG_UART_8250
558                 help
559                   Say Y here if you want kernel low-level debugging support
560                   on Rockchip based platforms.
561
562         config DEBUG_RK29_UART1
563                 bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
564                 depends on ARCH_ROCKCHIP
565                 select DEBUG_UART_8250
566                 help
567                   Say Y here if you want kernel low-level debugging support
568                   on Rockchip based platforms.
569
570         config DEBUG_RK29_UART2
571                 bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
572                 depends on ARCH_ROCKCHIP
573                 select DEBUG_UART_8250
574                 help
575                   Say Y here if you want kernel low-level debugging support
576                   on Rockchip based platforms.
577
578         config DEBUG_RK3X_UART0
579                 bool "Kernel low-level debugging messages via Rockchip RK3X UART0"
580                 depends on ARCH_ROCKCHIP
581                 select DEBUG_UART_8250
582                 help
583                   Say Y here if you want kernel low-level debugging support
584                   on Rockchip based platforms.
585
586         config DEBUG_RK3X_UART1
587                 bool "Kernel low-level debugging messages via Rockchip RK3X UART1"
588                 depends on ARCH_ROCKCHIP
589                 select DEBUG_UART_8250
590                 help
591                   Say Y here if you want kernel low-level debugging support
592                   on Rockchip based platforms.
593
594         config DEBUG_RK3X_UART2
595                 bool "Kernel low-level debugging messages via Rockchip RK3X UART2"
596                 depends on ARCH_ROCKCHIP
597                 select DEBUG_UART_8250
598                 help
599                   Say Y here if you want kernel low-level debugging support
600                   on Rockchip based platforms.
601
602         config DEBUG_RK3X_UART3
603                 bool "Kernel low-level debugging messages via Rockchip RK3X UART3"
604                 depends on ARCH_ROCKCHIP
605                 select DEBUG_UART_8250
606                 help
607                   Say Y here if you want kernel low-level debugging support
608                   on Rockchip based platforms.
609
610         config DEBUG_S3C_UART0
611                 depends on PLAT_SAMSUNG
612                 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
613                 bool "Use S3C UART 0 for low-level debug"
614                 help
615                   Say Y here if you want the debug print routines to direct
616                   their output to UART 0. The port must have been initialised
617                   by the boot-loader before use.
618
619                   The uncompressor code port configuration is now handled
620                   by CONFIG_S3C_LOWLEVEL_UART_PORT.
621
622         config DEBUG_S3C_UART1
623                 depends on PLAT_SAMSUNG
624                 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
625                 bool "Use S3C UART 1 for low-level debug"
626                 help
627                   Say Y here if you want the debug print routines to direct
628                   their output to UART 1. The port must have been initialised
629                   by the boot-loader before use.
630
631                   The uncompressor code port configuration is now handled
632                   by CONFIG_S3C_LOWLEVEL_UART_PORT.
633
634         config DEBUG_S3C_UART2
635                 depends on PLAT_SAMSUNG
636                 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
637                 bool "Use S3C UART 2 for low-level debug"
638                 help
639                   Say Y here if you want the debug print routines to direct
640                   their output to UART 2. The port must have been initialised
641                   by the boot-loader before use.
642
643                   The uncompressor code port configuration is now handled
644                   by CONFIG_S3C_LOWLEVEL_UART_PORT.
645
646         config DEBUG_S3C_UART3
647                 depends on PLAT_SAMSUNG && ARCH_EXYNOS
648                 select DEBUG_EXYNOS_UART
649                 bool "Use S3C UART 3 for low-level debug"
650                 help
651                   Say Y here if you want the debug print routines to direct
652                   their output to UART 3. The port must have been initialised
653                   by the boot-loader before use.
654
655                   The uncompressor code port configuration is now handled
656                   by CONFIG_S3C_LOWLEVEL_UART_PORT.
657
658         config DEBUG_SOCFPGA_UART
659                 depends on ARCH_SOCFPGA
660                 bool "Use SOCFPGA UART for low-level debug"
661                 select DEBUG_UART_8250
662                 help
663                   Say Y here if you want kernel low-level debugging support
664                   on SOCFPGA based platforms.
665
666         config DEBUG_SUNXI_UART0
667                 bool "Kernel low-level debugging messages via sunXi UART0"
668                 depends on ARCH_SUNXI
669                 select DEBUG_UART_8250
670                 help
671                   Say Y here if you want kernel low-level debugging support
672                   on Allwinner A1X based platforms on the UART0.
673
674         config DEBUG_SUNXI_UART1
675                 bool "Kernel low-level debugging messages via sunXi UART1"
676                 depends on ARCH_SUNXI
677                 select DEBUG_UART_8250
678                 help
679                   Say Y here if you want kernel low-level debugging support
680                   on Allwinner A1X based platforms on the UART1.
681
682         config TEGRA_DEBUG_UART_AUTO_ODMDATA
683                 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
684                 depends on ARCH_TEGRA
685                 select DEBUG_TEGRA_UART
686                 help
687                   Automatically determines which UART to use for low-level
688                   debug based on the ODMDATA value. This value is part of
689                   the BCT, and is written to the boot memory device using
690                   nvflash, or other flashing tool.  When bits 19:18 are 3,
691                   then bits 17:15 indicate which UART to use; 0/1/2/3/4
692                   are UART A/B/C/D/E.
693
694         config TEGRA_DEBUG_UARTA
695                 bool "Kernel low-level debugging messages via Tegra UART A"
696                 depends on ARCH_TEGRA
697                 select DEBUG_TEGRA_UART
698                 help
699                   Say Y here if you want kernel low-level debugging support
700                   on Tegra based platforms.
701
702         config TEGRA_DEBUG_UARTB
703                 bool "Kernel low-level debugging messages via Tegra UART B"
704                 depends on ARCH_TEGRA
705                 select DEBUG_TEGRA_UART
706                 help
707                   Say Y here if you want kernel low-level debugging support
708                   on Tegra based platforms.
709
710         config TEGRA_DEBUG_UARTC
711                 bool "Kernel low-level debugging messages via Tegra UART C"
712                 depends on ARCH_TEGRA
713                 select DEBUG_TEGRA_UART
714                 help
715                   Say Y here if you want kernel low-level debugging support
716                   on Tegra based platforms.
717
718         config TEGRA_DEBUG_UARTD
719                 bool "Kernel low-level debugging messages via Tegra UART D"
720                 depends on ARCH_TEGRA
721                 select DEBUG_TEGRA_UART
722                 help
723                   Say Y here if you want kernel low-level debugging support
724                   on Tegra based platforms.
725
726         config TEGRA_DEBUG_UARTE
727                 bool "Kernel low-level debugging messages via Tegra UART E"
728                 depends on ARCH_TEGRA
729                 select DEBUG_TEGRA_UART
730                 help
731                   Say Y here if you want kernel low-level debugging support
732                   on Tegra based platforms.
733
734         config DEBUG_SIRFPRIMA2_UART1
735                 bool "Kernel low-level debugging messages via SiRFprimaII UART1"
736                 depends on ARCH_PRIMA2
737                 help
738                   Say Y here if you want the debug print routines to direct
739                   their output to the uart1 port on SiRFprimaII devices.
740
741         config DEBUG_SIRFMARCO_UART1
742                 bool "Kernel low-level debugging messages via SiRFmarco UART1"
743                 depends on ARCH_MARCO
744                 help
745                   Say Y here if you want the debug print routines to direct
746                   their output to the uart1 port on SiRFmarco devices.
747
748         config STIH41X_DEBUG_ASC2
749                 bool "Use StiH415/416 ASC2 UART for low-level debug"
750                 depends on ARCH_STI
751                 select DEBUG_STI_UART
752                 help
753                   Say Y here if you want kernel low-level debugging support
754                   on STiH415/416 based platforms like b2000, which has
755                   default UART wired up to ASC2.
756
757                   If unsure, say N.
758
759         config STIH41X_DEBUG_SBC_ASC1
760                 bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
761                 depends on ARCH_STI
762                 select DEBUG_STI_UART
763                 help
764                   Say Y here if you want kernel low-level debugging support
765                   on STiH415/416 based platforms like b2020. which has
766                   default UART wired up to SBC ASC1.
767
768                   If unsure, say N.
769
770         config DEBUG_U300_UART
771                 bool "Kernel low-level debugging messages via U300 UART0"
772                 depends on ARCH_U300
773                 select DEBUG_UART_PL01X
774                 help
775                   Say Y here if you want the debug print routines to direct
776                   their output to the uart port on U300 devices.
777
778         config DEBUG_UX500_UART
779                 depends on ARCH_U8500
780                 bool "Use Ux500 UART for low-level debug"
781                 help
782                   Say Y here if you want kernel low-level debugging support
783                   on Ux500 based platforms.
784
785         config DEBUG_VEXPRESS_UART0_DETECT
786                 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
787                 depends on ARCH_VEXPRESS && CPU_CP15_MMU
788                 help
789                   This option enables a simple heuristic which tries to determine
790                   the motherboard's memory map variant (original or RS1) and then
791                   choose the relevant UART0 base address.
792
793                   Note that this will only work with standard A-class core tiles,
794                   and may fail with non-standard SMM or custom software models.
795
796         config DEBUG_VEXPRESS_UART0_CA9
797                 bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
798                 depends on ARCH_VEXPRESS
799                 select DEBUG_UART_PL01X
800                 help
801                   This option selects UART0 at 0x10009000. Except for custom models,
802                   this applies only to the V2P-CA9 tile.
803
804         config DEBUG_VEXPRESS_UART0_RS1
805                 bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
806                 depends on ARCH_VEXPRESS
807                 select DEBUG_UART_PL01X
808                 help
809                   This option selects UART0 at 0x1c090000. This applies to most
810                   of the tiles using the RS1 memory map, including all new A-class
811                   core tiles, FPGA-based SMMs and software models.
812
813         config DEBUG_VEXPRESS_UART0_CRX
814                 bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
815                 depends on ARCH_VEXPRESS && !MMU
816                 select DEBUG_UART_PL01X
817                 help
818                   This option selects UART0 at 0xb0090000. This is appropriate for
819                   Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
820
821         config DEBUG_VT8500_UART0
822                 bool "Use UART0 on VIA/Wondermedia SoCs"
823                 depends on ARCH_VT8500
824                 help
825                   This option selects UART0 on VIA/Wondermedia System-on-a-chip
826                   devices, including VT8500, WM8505, WM8650 and WM8850.
827
828         config DEBUG_LL_UART_NONE
829                 bool "No low-level debugging UART"
830                 depends on !ARCH_MULTIPLATFORM
831                 help
832                   Say Y here if your platform doesn't provide a UART option
833                   above. This relies on your platform choosing the right UART
834                   definition internally in order for low-level debugging to
835                   work.
836
837         config DEBUG_ICEDCC
838                 bool "Kernel low-level debugging via EmbeddedICE DCC channel"
839                 help
840                   Say Y here if you want the debug print routines to direct
841                   their output to the EmbeddedICE macrocell's DCC channel using
842                   co-processor 14. This is known to work on the ARM9 style ICE
843                   channel and on the XScale with the PEEDI.
844
845                   Note that the system will appear to hang during boot if there
846                   is nothing connected to read from the DCC.
847
848         config DEBUG_SEMIHOSTING
849                 bool "Kernel low-level debug output via semihosting I/O"
850                 help
851                   Semihosting enables code running on an ARM target to use
852                   the I/O facilities on a host debugger/emulator through a
853                   simple SVC call. The host debugger or emulator must have
854                   semihosting enabled for the special svc call to be trapped
855                   otherwise the kernel will crash.
856
857                   This is known to work with OpenOCD, as well as
858                   ARM's Fast Models, or any other controlling environment
859                   that implements semihosting.
860
861                   For more details about semihosting, please see
862                   chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
863
864         config DEBUG_LL_UART_8250
865                 bool "Kernel low-level debugging via 8250 UART"
866                 help
867                   Say Y here if you wish the debug print routes to direct
868                   their output to an 8250 UART.  You can use this option
869                   to provide the parameters for the 8250 UART rather than
870                   selecting one of the platform specific options above if
871                   you know the parameters for the port.
872
873                   This option is preferred over the platform specific
874                   options; the platform specific options are deprecated
875                   and will be soon removed.
876
877         config DEBUG_LL_UART_EFM32
878                 bool "Kernel low-level debugging via efm32 UART"
879                 depends on ARCH_EFM32
880                 help
881                   Say Y here if you want the debug print routines to direct
882                   their output to an UART or USART port on efm32 based
883                   machines. Use the following addresses for DEBUG_UART_PHYS:
884
885                     0x4000c000 | USART0
886                     0x4000c400 | USART1
887                     0x4000c800 | USART2
888                     0x4000e000 | UART0
889                     0x4000e400 | UART1
890
891         config DEBUG_LL_UART_PL01X
892                 bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
893                 help
894                   Say Y here if you wish the debug print routes to direct
895                   their output to a PL01x Primecell UART.  You can use
896                   this option to provide the parameters for the UART
897                   rather than selecting one of the platform specific
898                   options above if you know the parameters for the port.
899
900                   This option is preferred over the platform specific
901                   options; the platform specific options are deprecated
902                   and will be soon removed.
903
904 endchoice
905
906 config DEBUG_EXYNOS_UART
907         bool
908
909 config DEBUG_OMAP2PLUS_UART
910         bool
911         depends on ARCH_OMAP2PLUS
912
913 config DEBUG_IMX_UART_PORT
914         int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
915                                                 DEBUG_IMX25_UART || \
916                                                 DEBUG_IMX21_IMX27_UART || \
917                                                 DEBUG_IMX31_UART || \
918                                                 DEBUG_IMX35_UART || \
919                                                 DEBUG_IMX50_UART || \
920                                                 DEBUG_IMX51_UART || \
921                                                 DEBUG_IMX53_UART || \
922                                                 DEBUG_IMX6Q_UART || \
923                                                 DEBUG_IMX6SL_UART
924         default 1
925         depends on ARCH_MXC
926         help
927           Choose UART port on which kernel low-level debug messages
928           should be output.
929
930 config DEBUG_TEGRA_UART
931         bool
932         depends on ARCH_TEGRA
933
934 config DEBUG_STI_UART
935         bool
936         depends on ARCH_STI
937
938 config DEBUG_MSM_UART
939         bool
940         depends on ARCH_MSM
941
942 config DEBUG_LL_INCLUDE
943         string
944         default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
945         default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
946         default "debug/exynos.S" if DEBUG_EXYNOS_UART
947         default "debug/efm32.S" if DEBUG_LL_UART_EFM32
948         default "debug/icedcc.S" if DEBUG_ICEDCC
949         default "debug/imx.S" if DEBUG_IMX1_UART || \
950                                  DEBUG_IMX25_UART || \
951                                  DEBUG_IMX21_IMX27_UART || \
952                                  DEBUG_IMX31_UART || \
953                                  DEBUG_IMX35_UART || \
954                                  DEBUG_IMX50_UART || \
955                                  DEBUG_IMX51_UART || \
956                                  DEBUG_IMX53_UART ||\
957                                  DEBUG_IMX6Q_UART || \
958                                  DEBUG_IMX6SL_UART
959         default "debug/msm.S" if DEBUG_MSM_UART
960         default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
961         default "debug/sirf.S" if DEBUG_SIRFPRIMA2_UART1 || DEBUG_SIRFMARCO_UART1
962         default "debug/sti.S" if DEBUG_STI_UART
963         default "debug/tegra.S" if DEBUG_TEGRA_UART
964         default "debug/ux500.S" if DEBUG_UX500_UART
965         default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
966         default "debug/vf.S" if DEBUG_VF_UART
967         default "debug/vt8500.S" if DEBUG_VT8500_UART0
968         default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
969         default "mach/debug-macro.S"
970
971 # Compatibility options for PL01x
972 config DEBUG_UART_PL01X
973         def_bool ARCH_EP93XX || \
974                 ARCH_INTEGRATOR || \
975                 ARCH_SPEAR3XX || \
976                 ARCH_SPEAR6XX || \
977                 ARCH_SPEAR13XX || \
978                 ARCH_VERSATILE
979
980 # Compatibility options for 8250
981 config DEBUG_UART_8250
982         def_bool ARCH_DOVE || ARCH_EBSA110 || \
983                 (FOOTBRIDGE && !DEBUG_DC21285_PORT) || \
984                 ARCH_GEMINI || ARCH_IOP13XX || ARCH_IOP32X || \
985                 ARCH_IOP33X || ARCH_IXP4XX || ARCH_KIRKWOOD || \
986                 ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
987
988 config DEBUG_UART_PHYS
989         hex "Physical base address of debug UART"
990         default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
991         default 0x01c28000 if DEBUG_SUNXI_UART0
992         default 0x01c28400 if DEBUG_SUNXI_UART1
993         default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
994         default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
995         default 0x02530c00 if DEBUG_KEYSTONE_UART0
996         default 0x02531000 if DEBUG_KEYSTONE_UART1
997         default 0x03010fe0 if ARCH_RPC
998         default 0x08108300 if DEBUG_DAVINCI_TNETV107X_UART1
999         default 0x10009000 if DEBUG_REALVIEW_STD_PORT || DEBUG_CNS3XXX || \
1000                                 DEBUG_VEXPRESS_UART0_CA9
1001         default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
1002         default 0x10124000 if DEBUG_RK3X_UART0
1003         default 0x10126000 if DEBUG_RK3X_UART1
1004         default 0x101f1000 if ARCH_VERSATILE
1005         default 0x101fb000 if DEBUG_NOMADIK_UART
1006         default 0x16000000 if ARCH_INTEGRATOR
1007         default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
1008         default 0x20060000 if DEBUG_RK29_UART0
1009         default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1010         default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
1011         default 0x20201000 if DEBUG_BCM2835
1012         default 0x4000e400 if DEBUG_LL_UART_EFM32
1013         default 0x40090000 if ARCH_LPC32XX
1014         default 0x40100000 if DEBUG_PXA_UART1
1015         default 0x42000000 if ARCH_GEMINI
1016         default 0x7c0003f8 if FOOTBRIDGE
1017         default 0x80230000 if DEBUG_PICOXCELL_UART
1018         default 0x80070000 if DEBUG_IMX23_UART
1019         default 0x80074000 if DEBUG_IMX28_UART
1020         default 0x808c0000 if ARCH_EP93XX
1021         default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
1022         default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
1023         default 0xc0013000 if DEBUG_U300_UART
1024         default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1025         default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1026         default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
1027         default 0xd0012000 if DEBUG_MVEBU_UART
1028         default 0xd4017000 if DEBUG_MMP_UART2
1029         default 0xd4018000 if DEBUG_MMP_UART3
1030         default 0xe0000000 if ARCH_SPEAR13XX
1031         default 0xf0000be0 if ARCH_EBSA110
1032         default 0xf1012000 if DEBUG_MVEBU_UART_ALTERNATE
1033         default 0xf1012000 if ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \
1034                                 ARCH_ORION5X
1035         default 0xf8b00000 if DEBUG_HI3716_UART
1036         default 0xfcb00000 if DEBUG_HI3620_UART
1037         default 0xfe800000 if ARCH_IOP32X
1038         default 0xffc02000 if DEBUG_SOCFPGA_UART
1039         default 0xffd82340 if ARCH_IOP13XX
1040         default 0xfff36000 if DEBUG_HIGHBANK_UART
1041         default 0xfffff700 if ARCH_IOP33X
1042         depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1043                 DEBUG_LL_UART_EFM32 || \
1044                 DEBUG_UART_8250 || DEBUG_UART_PL01X
1045
1046 config DEBUG_UART_VIRT
1047         hex "Virtual base address of debug UART"
1048         default 0xe0010fe0 if ARCH_RPC
1049         default 0xf0000be0 if ARCH_EBSA110
1050         default 0xf0009000 if DEBUG_CNS3XXX
1051         default 0xf01fb000 if DEBUG_NOMADIK_UART
1052         default 0xf0201000 if DEBUG_BCM2835
1053         default 0xf11f1000 if ARCH_VERSATILE
1054         default 0xf1600000 if ARCH_INTEGRATOR
1055         default 0xf1c28000 if DEBUG_SUNXI_UART0
1056         default 0xf1c28400 if DEBUG_SUNXI_UART1
1057         default 0xf2100000 if DEBUG_PXA_UART1
1058         default 0xf4090000 if ARCH_LPC32XX
1059         default 0xf4200000 if ARCH_GEMINI
1060         default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
1061         default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
1062         default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
1063         default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
1064         default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
1065         default 0xfd000000 if ARCH_SPEAR13XX
1066         default 0xfd012000 if ARCH_MV78XX0
1067         default 0xfde12000 if ARCH_DOVE
1068         default 0xfe012000 if ARCH_ORION5X
1069         default 0xfe017000 if DEBUG_MMP_UART2
1070         default 0xfe018000 if DEBUG_MMP_UART3
1071         default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
1072         default 0xfe230000 if DEBUG_PICOXCELL_UART
1073         default 0xfe800000 if ARCH_IOP32X
1074         default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HI3716_UART
1075         default 0xfeb24000 if DEBUG_RK3X_UART0
1076         default 0xfeb26000 if DEBUG_RK3X_UART1
1077         default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1078         default 0xfeb31000 if DEBUG_KEYSTONE_UART1
1079         default 0xfec12000 if DEBUG_MVEBU_UART || DEBUG_MVEBU_UART_ALTERNATE
1080         default 0xfed60000 if DEBUG_RK29_UART0
1081         default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1082         default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
1083         default 0xfec02000 if DEBUG_SOCFPGA_UART
1084         default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
1085         default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
1086         default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
1087         default 0xfed12000 if ARCH_KIRKWOOD
1088         default 0xfedc0000 if ARCH_EP93XX
1089         default 0xfee003f8 if FOOTBRIDGE
1090         default 0xfee08300 if DEBUG_DAVINCI_TNETV107X_UART1
1091         default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
1092         default 0xfef36000 if DEBUG_HIGHBANK_UART
1093         default 0xfee82340 if ARCH_IOP13XX
1094         default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1095         default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1096         default 0xfefff700 if ARCH_IOP33X
1097         default 0xff003000 if DEBUG_U300_UART
1098         default DEBUG_UART_PHYS if !MMU
1099         depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1100                 DEBUG_UART_8250 || DEBUG_UART_PL01X
1101
1102 config DEBUG_UART_8250_SHIFT
1103         int "Register offset shift for the 8250 debug UART"
1104         depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1105         default 0 if FOOTBRIDGE || ARCH_IOP32X
1106         default 2
1107
1108 config DEBUG_UART_8250_WORD
1109         bool "Use 32-bit accesses for 8250 UART"
1110         depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1111         depends on DEBUG_UART_8250_SHIFT >= 2
1112         default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART || \
1113                 ARCH_KEYSTONE || \
1114                 DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
1115                 DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_DAVINCI_TNETV107X_UART1
1116
1117 config DEBUG_UART_8250_FLOW_CONTROL
1118         bool "Enable flow control for 8250 UART"
1119         depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1120         default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_GEMINI || ARCH_RPC
1121
1122 config DEBUG_UNCOMPRESS
1123         bool
1124         depends on ARCH_MULTIPLATFORM || ARCH_MSM
1125         default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
1126                      (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
1127         help
1128           This option influences the normal decompressor output for
1129           multiplatform kernels.  Normally, multiplatform kernels disable
1130           decompressor output because it is not possible to know where to
1131           send the decompressor output.
1132
1133           When this option is set, the selected DEBUG_LL output method
1134           will be re-used for normal decompressor output on multiplatform
1135           kernels.
1136           
1137
1138 config UNCOMPRESS_INCLUDE
1139         string
1140         default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM
1141         default "mach/uncompress.h"
1142
1143 config EARLY_PRINTK
1144         bool "Early printk"
1145         depends on DEBUG_LL
1146         help
1147           Say Y here if you want to have an early console using the
1148           kernel low-level debugging functions. Add earlyprintk to your
1149           kernel parameters to enable this console.
1150
1151 config OC_ETM
1152         bool "On-chip ETM and ETB"
1153         depends on ARM_AMBA
1154         help
1155           Enables the on-chip embedded trace macrocell and embedded trace
1156           buffer driver that will allow you to collect traces of the
1157           kernel code.
1158
1159 config ARM_KPROBES_TEST
1160         tristate "Kprobes test module"
1161         depends on KPROBES && MODULES
1162         help
1163           Perform tests of kprobes API and instruction set simulation.
1164
1165 config PID_IN_CONTEXTIDR
1166         bool "Write the current PID to the CONTEXTIDR register"
1167         depends on CPU_COPY_V6
1168         help
1169           Enabling this option causes the kernel to write the current PID to
1170           the PROCID field of the CONTEXTIDR register, at the expense of some
1171           additional instructions during context switch. Say Y here only if you
1172           are planning to use hardware trace tools with this kernel.
1173
1174 config DEBUG_SET_MODULE_RONX
1175         bool "Set loadable kernel module data as NX and text as RO"
1176         depends on MODULES
1177         ---help---
1178           This option helps catch unintended modifications to loadable
1179           kernel module's text and read-only data. It also prevents execution
1180           of module data. Such protection may interfere with run-time code
1181           patching and dynamic kernel tracing - and they might also protect
1182           against certain classes of kernel exploits.
1183           If in doubt, say "N".
1184
1185 endmenu