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