blob: 957b876fda92532d3f2ef851f06da8f16bca37f2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Russell King1fd15b82013-10-23 16:13:02 +01005config ARM_PTDUMP
6 bool "Export kernel pagetable layout to userspace via debugfs"
7 depends on DEBUG_KERNEL
Arnd Bergmann65ba5082015-05-26 16:07:51 +01008 depends on MMU
Russell King1fd15b82013-10-23 16:13:02 +01009 select DEBUG_FS
10 ---help---
11 Say Y here if you want to show the kernel pagetable layout in a
12 debugfs file. This information is only useful for kernel developers
13 who are working in architecture specific areas of the kernel.
14 It is probably not a good idea to enable this feature in a production
15 kernel.
16 If in doubt, say "N"
17
Nicolas Pitre087aaff2010-09-22 18:34:36 -040018config STRICT_DEVMEM
19 bool "Filter access to /dev/mem"
20 depends on MMU
21 ---help---
22 If this option is disabled, you allow userspace (root) access to all
23 of memory, including kernel and userspace memory. Accidental
24 access to this is obviously disastrous, but specific access can
25 be used by people debugging the kernel.
26
27 If this option is switched on, the /dev/mem file only allows
28 userspace access to memory mapped peripherals.
29
30 If in doubt, say Y.
31
Catalin Marinasadf8b372009-02-12 13:56:34 +010032# RMK wants arm kernels compiled with frame pointers or stack unwinding.
Linus Torvalds1da177e2005-04-16 15:20:36 -070033# If you know what you are doing and are willing to live without stack
34# traces, you can get a slightly smaller kernel by setting this option to
35# n, but then RMK will have to kill you ;).
36config FRAME_POINTER
37 bool
Catalin Marinas16c79652009-07-24 12:33:02 +010038 depends on !THUMB2_KERNEL
Rabin Vincent0e341af2010-11-06 23:03:53 +053039 default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER
Linus Torvalds1da177e2005-04-16 15:20:36 -070040 help
41 If you say N here, the resulting kernel will be slightly smaller and
Catalin Marinasadf8b372009-02-12 13:56:34 +010042 faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled,
43 when a problem occurs with the kernel, the information that is
44 reported is severely limited.
45
46config ARM_UNWIND
Russell King4a50bfe2010-12-05 23:06:22 +000047 bool "Enable stack unwinding support (EXPERIMENTAL)"
Kees Cookd6f94fa2013-01-16 18:53:14 -080048 depends on AEABI
Catalin Marinasadf8b372009-02-12 13:56:34 +010049 default y
50 help
51 This option enables stack unwinding support in the kernel
52 using the information automatically generated by the
53 compiler. The resulting kernel image is slightly bigger but
54 the performance is not affected. Currently, this feature
55 only works with EABI compilers. If unsure say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
Rabin Vincent09bfafa2010-08-10 19:32:37 +010057config OLD_MCOUNT
58 bool
59 depends on FUNCTION_TRACER && FRAME_POINTER
60 default y
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062config DEBUG_USER
63 bool "Verbose user fault messages"
64 help
65 When a user program crashes due to an exception, the kernel can
66 print a brief message explaining what the problem was. This is
67 sometimes helpful for debugging but serves no purpose on a
68 production system. Most people should say N here.
69
70 In addition, you need to pass user_debug=N on the kernel command
71 line to enable this feature. N consists of the sum of:
72
73 1 - undefined instruction events
74 2 - system calls
75 4 - invalid data aborts
76 8 - SIGSEGV faults
77 16 - SIGBUS faults
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079# These options are only for real kernel hackers who want to get their hands dirty.
80config DEBUG_LL
Will Deacon4f5ef922011-09-01 19:04:44 +010081 bool "Kernel low-level debugging functions (read help!)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 depends on DEBUG_KERNEL
83 help
Russell King35efb602005-09-09 15:57:17 +010084 Say Y here to include definitions of printascii, printch, printhex
Linus Torvalds1da177e2005-04-16 15:20:36 -070085 in the kernel. This is helpful if you are debugging code that
86 executes before the console is initialized.
87
Will Deacon4f5ef922011-09-01 19:04:44 +010088 Note that selecting this option will limit the kernel to a single
89 UART definition, as specified below. Attempting to boot the kernel
90 image on a different platform *will not work*, so this option should
91 not be enabled for kernels that are intended to be portable.
92
Will Deacon17916b22011-09-01 18:58:51 +010093choice
94 prompt "Kernel low-level debugging port"
95 depends on DEBUG_LL
96
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +020097 config DEBUG_ALPINE_UART0
98 bool "Kernel low-level debugging messages via Alpine UART0"
99 depends on ARCH_ALPINE
100 select DEBUG_UART_8250
101 help
102 Say Y here if you want kernel low-level debugging support
103 on Alpine based platforms.
104
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +0100105 config DEBUG_ASM9260_UART
106 bool "Kernel low-level debugging via asm9260 UART"
107 depends on MACH_ASM9260
108 help
109 Say Y here if you want the debug print routines to direct
110 their output to an UART or USART port on asm9260 based
111 machines.
112
113 DEBUG_UART_PHYS | DEBUG_UART_VIRT
114
115 0x80000000 | 0xf0000000 | UART0
116 0x80004000 | 0xf0004000 | UART1
117 0x80008000 | 0xf0008000 | UART2
118 0x8000c000 | 0xf000c000 | UART3
119 0x80010000 | 0xf0010000 | UART4
120 0x80014000 | 0xf0014000 | UART5
121 0x80018000 | 0xf0018000 | UART6
122 0x8001c000 | 0xf001c000 | UART7
123 0x80020000 | 0xf0020000 | UART8
124 0x80024000 | 0xf0024000 | UART9
125
Alexandre Belloni6f112a02015-08-08 12:11:11 +0200126 config DEBUG_AT91_UART
127 bool "Kernel low-level debugging on Atmel SoCs"
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +0100128 depends on ARCH_AT91
Alexandre Belloni6f112a02015-08-08 12:11:11 +0200129 help
130 Say Y here if you want the debug print routines to direct
131 their output to the serial port on atmel devices.
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800132
Alexandre Belloni6f112a02015-08-08 12:11:11 +0200133 SOC DEBUG_UART_PHYS DEBUG_UART_VIRT PORT
134 rm9200, 9260/9g20, 0xfffff200 0xfefff200 DBGU
135 9261/9g10, 9rl
136 9263, 9g45, sama5d3 0xffffee00 0xfeffee00 DBGU
137 sama5d4 0xfc00c000 0xfb00c000 USART3
138 sama5d4 0xfc069000 0xfb069000 DBGU
139 sama5d2 0xf8020000 0xf7020000 UART1
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800140
Alexandre Belloni6f112a02015-08-08 12:11:11 +0200141 Please adjust DEBUG_UART_PHYS configuration options based on
142 your needs.
Nicolas Ferrec268a742015-07-30 19:12:12 +0200143
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600144 config DEBUG_BCM2835
145 bool "Kernel low-level debugging on BCM2835 PL011 UART"
Eric Anholt5234c342015-02-24 15:07:55 +0000146 depends on ARCH_BCM2835 && ARCH_MULTI_V6
147 select DEBUG_UART_PL01X
148
149 config DEBUG_BCM2836
150 bool "Kernel low-level debugging on BCM2836 PL011 UART"
151 depends on ARCH_BCM2835 && ARCH_MULTI_V7
Russell King5c972af2013-07-07 12:32:16 +0100152 select DEBUG_UART_PL01X
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600153
Hauke Mehrtens06580272014-02-04 00:01:44 +0100154 config DEBUG_BCM_5301X
155 bool "Kernel low-level debugging on BCM5301X UART1"
156 depends on ARCH_BCM_5301X
Hauke Mehrtens140bd602014-09-14 21:43:40 +0200157 select DEBUG_UART_8250
Hauke Mehrtens06580272014-02-04 00:01:44 +0100158
Christian Daudt753d1242013-12-23 09:00:01 +0100159 config DEBUG_BCM_KONA_UART
160 bool "Kernel low-level debugging messages via BCM KONA UART"
Florian Fainelli7aa20772014-03-06 09:45:55 -0800161 depends on ARCH_BCM_MOBILE
Christian Daudt753d1242013-12-23 09:00:01 +0100162 select DEBUG_UART_8250
163 help
164 Say Y here if you want kernel low-level debugging support
165 on Broadcom SoC platforms.
166 This low level debug works for Broadcom
167 mobile SoCs in the Kona family of chips (e.g. bcm28155,
168 bcm11351, etc...)
169
Florian Fainellib51312b2014-01-08 09:19:50 -0800170 config DEBUG_BCM63XX
171 bool "Kernel low-level debugging on BCM63XX UART"
172 depends on ARCH_BCM_63XX
173 select DEBUG_UART_BCM63XX
174
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +0200175 config DEBUG_BERLIN_UART
176 bool "Marvell Berlin SoC Debug UART"
177 depends on ARCH_BERLIN
178 select DEBUG_UART_8250
179 help
180 Say Y here if you want kernel low-level debugging support
181 on Marvell Berlin SoC based platforms.
182
Marc Carino81b43a62014-08-13 15:50:02 -0700183 config DEBUG_BRCMSTB_UART
184 bool "Use BRCMSTB UART for low-level debug"
185 depends on ARCH_BRCMSTB
186 select DEBUG_UART_8250
187 help
188 Say Y here if you want the debug print routines to direct
189 their output to the first serial port on these devices.
190
191 If you have a Broadcom STB chip and would like early print
192 messages to appear over the UART, select this option.
193
Stephen Boyd164acf92011-09-22 20:28:35 +0100194 config DEBUG_CLPS711X_UART1
195 bool "Kernel low-level debugging messages via UART1"
196 depends on ARCH_CLPS711X
197 help
198 Say Y here if you want the debug print routines to direct
199 their output to the first serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100200
201 config DEBUG_CLPS711X_UART2
202 bool "Kernel low-level debugging messages via UART2"
203 depends on ARCH_CLPS711X
204 help
205 Say Y here if you want the debug print routines to direct
206 their output to the second serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100207
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100208 config DEBUG_CNS3XXX
209 bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
210 depends on ARCH_CNS3XXX
Krzysztof Hałasab1251702014-09-16 12:35:10 +0200211 select DEBUG_UART_8250
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100212 help
213 Say Y here if you want the debug print routines to direct
214 their output to the CNS3xxx UART0.
215
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100216 config DEBUG_DAVINCI_DA8XX_UART1
217 bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
218 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100219 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100220 help
221 Say Y here if you want the debug print routines to direct
222 their output to UART1 serial port on DaVinci DA8XX devices.
223
224 config DEBUG_DAVINCI_DA8XX_UART2
225 bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
226 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100227 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100228 help
229 Say Y here if you want the debug print routines to direct
230 their output to UART2 serial port on DaVinci DA8XX devices.
231
232 config DEBUG_DAVINCI_DMx_UART0
233 bool "Kernel low-level debugging on DaVinci DMx using UART0"
234 depends on ARCH_DAVINCI_DMx
Russell King97bd1a42013-07-07 16:18:34 +0100235 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100236 help
237 Say Y here if you want the debug print routines to direct
238 their output to UART0 serial port on DaVinci DMx devices.
239
Nick Bowleraaf5e0b2012-11-05 16:45:49 -0500240 config DEBUG_ZYNQ_UART0
241 bool "Kernel low-level debugging on Xilinx Zynq using UART0"
242 depends on ARCH_ZYNQ
243 help
244 Say Y here if you want the debug print routines to direct
245 their output to UART0 on the Zynq platform.
246
247 config DEBUG_ZYNQ_UART1
248 bool "Kernel low-level debugging on Xilinx Zynq using UART1"
249 depends on ARCH_ZYNQ
250 help
251 Say Y here if you want the debug print routines to direct
252 their output to UART1 on the Zynq platform.
253
254 If you have a ZC702 board and want early boot messages to
255 appear on the USB serial adaptor, select this option.
256
Russell Kinge76f4752011-11-23 17:44:05 +0000257 config DEBUG_DC21285_PORT
258 bool "Kernel low-level debugging messages via footbridge serial port"
259 depends on FOOTBRIDGE
260 help
261 Say Y here if you want the debug print routines to direct
262 their output to the serial port in the DC21285 (Footbridge).
263
Baruch Siache23814d2015-01-14 10:40:31 +0200264 config DEBUG_DIGICOLOR_UA0
265 bool "Kernel low-level debugging messages via Digicolor UA0"
266 depends on ARCH_DIGICOLOR
267 help
268 Say Y here if you want the debug print routines to direct
269 their output to the UA0 serial port in the CX92755.
270
Russell Kinge76f4752011-11-23 17:44:05 +0000271 config DEBUG_FOOTBRIDGE_COM1
272 bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
273 depends on FOOTBRIDGE
274 help
275 Say Y here if you want the debug print routines to direct
276 their output to the 8250 at PCI COM1.
277
Haojian Zhuang8d258be2013-08-24 06:58:39 +0100278 config DEBUG_HI3620_UART
279 bool "Hisilicon HI3620 Debug UART"
280 depends on ARCH_HI3xxx
281 select DEBUG_UART_PL01X
282 help
283 Say Y here if you want kernel low-level debugging support
284 on HI3620 UART.
285
286 config DEBUG_HI3716_UART
287 bool "Hisilicon Hi3716 Debug UART"
288 depends on ARCH_HI3xxx
289 select DEBUG_UART_PL01X
290 help
291 Say Y here if you want kernel low-level debugging support
292 on HI3716 UART.
293
Rob Herring220e6cf2011-06-07 10:02:55 -0500294 config DEBUG_HIGHBANK_UART
295 bool "Kernel low-level debugging messages via Highbank UART"
296 depends on ARCH_HIGHBANK
Russell King5c972af2013-07-07 12:32:16 +0100297 select DEBUG_UART_PL01X
Rob Herring220e6cf2011-06-07 10:02:55 -0500298 help
299 Say Y here if you want the debug print routines to direct
300 their output to the UART on Highbank based devices.
301
Wang Long27dafaa2014-12-24 03:09:56 +0000302 config DEBUG_HIP01_UART
303 bool "Hisilicon Hip01 Debug UART"
304 depends on ARCH_HIP01
305 select DEBUG_UART_8250
306 help
307 Say Y here if you want kernel low-level debugging support
308 on HIP01 UART.
309
Haojian Zhuangc9a1df42013-12-20 15:01:41 +0800310 config DEBUG_HIP04_UART
311 bool "Hisilicon HiP04 Debug UART"
312 depends on ARCH_HIP04
313 select DEBUG_UART_8250
314 help
315 Say Y here if you want kernel low-level debugging support
316 on HIP04 UART.
317
Olof Johansson37bdaf82014-09-23 22:21:54 -0700318 config DEBUG_HIX5HD2_UART
319 bool "Hisilicon Hix5hd2 Debug UART"
320 depends on ARCH_HIX5HD2
Catalin Marinas93fd03a2009-12-09 10:02:18 +0000321 select DEBUG_UART_PL01X
322 help
Olof Johansson37bdaf82014-09-23 22:21:54 -0700323 Say Y here if you want kernel low-level debugging support
324 on Hix5hd2 UART.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700325
Shawn Guof350b862011-08-19 05:56:59 +0100326 config DEBUG_IMX1_UART
327 bool "i.MX1 Debug UART"
328 depends on SOC_IMX1
329 help
330 Say Y here if you want kernel low-level debugging support
331 on i.MX1.
332
333 config DEBUG_IMX23_UART
334 bool "i.MX23 Debug UART"
335 depends on SOC_IMX23
Russell King5c972af2013-07-07 12:32:16 +0100336 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100337 help
338 Say Y here if you want kernel low-level debugging support
339 on i.MX23.
340
341 config DEBUG_IMX25_UART
342 bool "i.MX25 Debug UART"
343 depends on SOC_IMX25
344 help
345 Say Y here if you want kernel low-level debugging support
346 on i.MX25.
347
348 config DEBUG_IMX21_IMX27_UART
349 bool "i.MX21 and i.MX27 Debug UART"
350 depends on SOC_IMX21 || SOC_IMX27
351 help
352 Say Y here if you want kernel low-level debugging support
353 on i.MX21 or i.MX27.
354
355 config DEBUG_IMX28_UART
356 bool "i.MX28 Debug UART"
357 depends on SOC_IMX28
Russell King5c972af2013-07-07 12:32:16 +0100358 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100359 help
360 Say Y here if you want kernel low-level debugging support
361 on i.MX28.
362
Shawn Guo4ad625d2012-12-12 18:54:01 +0800363 config DEBUG_IMX31_UART
364 bool "i.MX31 Debug UART"
365 depends on SOC_IMX31
Shawn Guof350b862011-08-19 05:56:59 +0100366 help
367 Say Y here if you want kernel low-level debugging support
Shawn Guo4ad625d2012-12-12 18:54:01 +0800368 on i.MX31.
369
370 config DEBUG_IMX35_UART
371 bool "i.MX35 Debug UART"
372 depends on SOC_IMX35
373 help
374 Say Y here if you want kernel low-level debugging support
375 on i.MX35.
Shawn Guof350b862011-08-19 05:56:59 +0100376
Greg Ungererad364a72013-10-29 15:15:51 +1000377 config DEBUG_IMX50_UART
378 bool "i.MX50 Debug UART"
379 depends on SOC_IMX50
380 help
381 Say Y here if you want kernel low-level debugging support
382 on i.MX50.
383
Shawn Guof350b862011-08-19 05:56:59 +0100384 config DEBUG_IMX51_UART
385 bool "i.MX51 Debug UART"
386 depends on SOC_IMX51
387 help
388 Say Y here if you want kernel low-level debugging support
389 on i.MX51.
390
Fabio Estevam7356420c2013-01-22 10:40:55 -0200391 config DEBUG_IMX53_UART
392 bool "i.MX53 Debug UART"
393 depends on SOC_IMX53
Shawn Guof350b862011-08-19 05:56:59 +0100394 help
395 Say Y here if you want kernel low-level debugging support
Fabio Estevam7356420c2013-01-22 10:40:55 -0200396 on i.MX53.
Shawn Guof350b862011-08-19 05:56:59 +0100397
Shawn Guo49c9e602012-10-08 13:44:29 +0800398 config DEBUG_IMX6Q_UART
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800399 bool "i.MX6Q/DL Debug UART"
Dirk Behme785d7fa2012-04-27 10:15:45 +0200400 depends on SOC_IMX6Q
401 help
402 Say Y here if you want kernel low-level debugging support
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800403 on i.MX6Q/DL.
Shawn Guobac89d72011-10-02 15:09:11 +0800404
Shawn Guo34e8a162013-05-03 11:21:03 +0800405 config DEBUG_IMX6SL_UART
406 bool "i.MX6SL Debug UART"
407 depends on SOC_IMX6SL
408 help
409 Say Y here if you want kernel low-level debugging support
410 on i.MX6SL.
411
Shawn Guo74368e82014-05-11 21:53:48 +0800412 config DEBUG_IMX6SX_UART
413 bool "i.MX6SX Debug UART"
414 depends on SOC_IMX6SX
415 help
416 Say Y here if you want kernel low-level debugging support
417 on i.MX6SX.
418
Anson Huang20c305f2015-07-10 02:09:47 +0800419 config DEBUG_IMX6UL_UART
420 bool "i.MX6UL Debug UART"
421 depends on SOC_IMX6UL
422 help
423 Say Y here if you want kernel low-level debugging support
424 on i.MX6UL.
425
Anson Huang52d7aec2015-05-06 23:16:07 +0800426 config DEBUG_IMX7D_UART
427 bool "i.MX7D Debug UART"
428 depends on SOC_IMX7D
429 help
430 Say Y here if you want kernel low-level debugging support
431 on i.MX7D.
432
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400433 config DEBUG_KEYSTONE_UART0
434 bool "Kernel low-level debugging on KEYSTONE2 using UART0"
435 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100436 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400437 help
438 Say Y here if you want the debug print routines to direct
439 their output to UART0 serial port on KEYSTONE2 devices.
440
441 config DEBUG_KEYSTONE_UART1
442 bool "Kernel low-level debugging on KEYSTONE2 using UART1"
443 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100444 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400445 help
446 Say Y here if you want the debug print routines to direct
447 their output to UART1 serial port on KEYSTONE2 devices.
448
Daniel Thompsonabbfb212015-01-09 18:33:36 +0100449 config DEBUG_KS8695_UART
450 bool "KS8695 Debug UART"
451 depends on ARCH_KS8695
452 help
453 Say Y here if you want kernel low-level debugging support
454 on KS8695.
455
Joachim Eastwood0aed6a32015-05-19 20:55:03 +0200456 config DEBUG_LPC18XX_UART0
457 bool "Kernel low-level debugging via LPC18xx/43xx UART0"
458 depends on ARCH_LPC18XX
459 select DEBUG_UART_8250
460 help
461 Say Y here if you want kernel low-level debugging support
462 on NXP LPC18xx/43xx UART0.
463
Carlo Caioned8a00912014-09-09 21:38:00 +0200464 config DEBUG_MESON_UARTAO
465 bool "Kernel low-level debugging via Meson6 UARTAO"
466 depends on ARCH_MESON
467 help
468 Say Y here if you want kernel low-lever debugging support
469 on Amlogic Meson6 based platforms on the UARTAO.
470
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800471 config DEBUG_MMP_UART2
472 bool "Kernel low-level debugging message via MMP UART2"
473 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100474 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800475 help
476 Say Y here if you want kernel low-level debugging support
477 on MMP UART2.
478
479 config DEBUG_MMP_UART3
480 bool "Kernel low-level debugging message via MMP UART3"
481 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100482 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800483 help
484 Say Y here if you want kernel low-level debugging support
485 on MMP UART3.
486
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300487 config DEBUG_QCOM_UARTDM
488 bool "Kernel low-level debugging messages via QCOM UARTDM"
489 depends on ARCH_QCOM
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800490 help
491 Say Y here if you want the debug print routines to direct
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300492 their output to the serial port on Qualcomm devices.
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800493
Stephen Boyd30cd6552014-09-05 15:51:56 -0700494 ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT
495 APQ8064 0x16640000 0xf0040000
Georgi Djakov2f528dd2014-05-23 18:12:32 +0300496 APQ8084 0xf995e000 0xfa75e000
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +0300497 MSM8X60 0x19c40000 0xf0040000
498 MSM8960 0x16440000 0xf0040000
499 MSM8974 0xf991e000 0xfa71e000
500
501 Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
502 options based on your needs.
Rohit Vaswani3c8828f2013-10-17 22:15:35 +0100503
Maxime Ripardd91125d2015-01-08 18:38:03 +0100504 config DEBUG_MVEBU_UART0
505 bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
Rob Herringbfd5af92012-09-02 14:41:34 -0500506 depends on ARCH_MVEBU
Russell King4a0036472013-07-06 23:13:15 +0100507 select DEBUG_UART_8250
Rob Herringbfd5af92012-09-02 14:41:34 -0500508 help
509 Say Y here if you want kernel low-level debugging support
Maxime Ripardd91125d2015-01-08 18:38:03 +0100510 on MVEBU based platforms on UART0.
Rob Herringbfd5af92012-09-02 14:41:34 -0500511
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200512 This option should be used with the old bootloaders
513 that left the internal registers mapped at
514 0xd0000000. As of today, this is the case on
515 platforms such as the Globalscale Mirabox or the
516 Plathome OpenBlocks AX3, when using the original
517 bootloader.
518
519 If the wrong DEBUG_MVEBU_UART* option is selected,
520 when u-boot hands over to the kernel, the system
521 silently crashes, with no serial output at all.
522
Maxime Ripardd91125d2015-01-08 18:38:03 +0100523 config DEBUG_MVEBU_UART0_ALTERNATE
524 bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200525 depends on ARCH_MVEBU
Russell King4a0036472013-07-06 23:13:15 +0100526 select DEBUG_UART_8250
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200527 help
528 Say Y here if you want kernel low-level debugging support
Maxime Ripardd91125d2015-01-08 18:38:03 +0100529 on MVEBU based platforms on UART0.
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200530
531 This option should be used with the new bootloaders
532 that remap the internal registers at 0xf1000000.
533
534 If the wrong DEBUG_MVEBU_UART* option is selected,
535 when u-boot hands over to the kernel, the system
536 silently crashes, with no serial output at all.
537
Maxime Ripardbd920492015-01-08 18:38:04 +0100538 config DEBUG_MVEBU_UART1_ALTERNATE
539 bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
540 depends on ARCH_MVEBU
541 select DEBUG_UART_8250
542 help
543 Say Y here if you want kernel low-level debugging support
544 on MVEBU based platforms on UART1.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700545
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546 This option should be used with the new bootloaders
547 that remap the internal registers at 0xf1000000.
548
549 If the wrong DEBUG_MVEBU_UART* option is selected,
550 when u-boot hands over to the kernel, the system
551 silently crashes, with no serial output at all.
552
Shawn Guoc7c3eac2013-05-12 17:22:17 +0800553 config DEBUG_VF_UART
554 bool "Vybrid UART"
555 depends on SOC_VF610
556 help
557 Say Y here if you want kernel low-level debugging support
558 on Vybrid based platforms.
559
Daniel Thompson4d31e662015-01-09 18:34:03 +0100560 config DEBUG_NETX_UART
561 bool "Kernel low-level debugging messages via NetX UART"
562 depends on ARCH_NETX
563 help
564 Say Y here if you want kernel low-level debugging support
565 on Hilscher NetX based platforms.
566
Linus Walleij266c3472013-02-27 22:39:57 +0100567 config DEBUG_NOMADIK_UART
568 bool "Kernel low-level debugging messages via NOMADIK UART"
569 depends on ARCH_NOMADIK
Russell King5c972af2013-07-07 12:32:16 +0100570 select DEBUG_UART_PL01X
Linus Walleij266c3472013-02-27 22:39:57 +0100571 help
572 Say Y here if you want kernel low-level debugging support
573 on NOMADIK based platforms.
574
Daniel Tang9851ca52013-06-11 18:40:17 +1000575 config DEBUG_NSPIRE_CLASSIC_UART
576 bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
577 depends on ARCH_NSPIRE
Russell King4a0036472013-07-06 23:13:15 +0100578 select DEBUG_UART_8250
Daniel Tang9851ca52013-06-11 18:40:17 +1000579 help
580 Say Y here if you want kernel low-level debugging support
581 on TI-NSPIRE classic models.
582
583 config DEBUG_NSPIRE_CX_UART
584 bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
585 depends on ARCH_NSPIRE
Russell King5c972af2013-07-07 12:32:16 +0100586 select DEBUG_UART_PL01X
Daniel Tang9851ca52013-06-11 18:40:17 +1000587 help
588 Say Y here if you want kernel low-level debugging support
589 on TI-NSPIRE CX models.
590
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100591 config DEBUG_OMAP1UART1
592 bool "Kernel low-level debugging via OMAP1 UART1"
593 depends on ARCH_OMAP1
594 select DEBUG_UART_8250
595 help
596 Say Y here if you want kernel low-level debugging support
597 on OMAP1 based platforms (except OMAP730) on the UART1.
598
599 config DEBUG_OMAP1UART2
600 bool "Kernel low-level debugging via OMAP1 UART2"
601 depends on ARCH_OMAP1
602 select DEBUG_UART_8250
603 help
604 Say Y here if you want kernel low-level debugging support
605 on OMAP1 based platforms (except OMAP730) on the UART2.
606
607 config DEBUG_OMAP1UART3
608 bool "Kernel low-level debugging via OMAP1 UART3"
609 depends on ARCH_OMAP1
610 select DEBUG_UART_8250
611 help
612 Say Y here if you want kernel low-level debugging support
613 on OMAP1 based platforms (except OMAP730) on the UART3.
614
Russell Kingcce278d2013-07-06 14:23:30 +0100615 config DEBUG_OMAP2UART1
616 bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
Tony Lindgren808b7e02013-01-11 11:24:19 -0800617 depends on ARCH_OMAP2PLUS
Russell Kingcce278d2013-07-06 14:23:30 +0100618 select DEBUG_OMAP2PLUS_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -0800619 help
Russell Kingcce278d2013-07-06 14:23:30 +0100620 This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
621 omap3 torpedo and 3530 lv som.
622
623 config DEBUG_OMAP2UART2
624 bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
625 depends on ARCH_OMAP2PLUS
626 select DEBUG_OMAP2PLUS_UART
627
628 config DEBUG_OMAP2UART3
629 bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
630 depends on ARCH_OMAP2PLUS
631 select DEBUG_OMAP2PLUS_UART
632
633 config DEBUG_OMAP3UART3
634 bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
635 depends on ARCH_OMAP2PLUS
636 select DEBUG_OMAP2PLUS_UART
637 help
638 This covers at least cm_t3x, beagle, crane, devkit8000,
639 igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
640 and 3517evm.
641
642 config DEBUG_OMAP4UART3
643 bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
644 depends on ARCH_OMAP2PLUS
645 select DEBUG_OMAP2PLUS_UART
646
647 config DEBUG_OMAP3UART4
648 bool "Kernel low-level debugging messages via OMAP36XX UART4"
649 depends on ARCH_OMAP2PLUS
650 select DEBUG_OMAP2PLUS_UART
651
652 config DEBUG_OMAP4UART4
653 bool "Kernel low-level debugging messages via OMAP4/5 UART4"
654 depends on ARCH_OMAP2PLUS
655 select DEBUG_OMAP2PLUS_UART
656
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100657 config DEBUG_OMAP7XXUART1
658 bool "Kernel low-level debugging via OMAP730 UART1"
659 depends on ARCH_OMAP730
660 select DEBUG_UART_8250
661 help
662 Say Y here if you want kernel low-level debugging support
663 on OMAP730 based platforms on the UART1.
664
665 config DEBUG_OMAP7XXUART2
666 bool "Kernel low-level debugging via OMAP730 UART2"
667 depends on ARCH_OMAP730
668 select DEBUG_UART_8250
669 help
670 Say Y here if you want kernel low-level debugging support
671 on OMAP730 based platforms on the UART2.
672
673 config DEBUG_OMAP7XXUART3
674 bool "Kernel low-level debugging via OMAP730 UART3"
675 depends on ARCH_OMAP730
676 select DEBUG_UART_8250
677 help
678 Say Y here if you want kernel low-level debugging support
679 on OMAP730 based platforms on the UART3.
680
Russell Kingcce278d2013-07-06 14:23:30 +0100681 config DEBUG_TI81XXUART1
682 bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
683 depends on ARCH_OMAP2PLUS
684 select DEBUG_OMAP2PLUS_UART
685
686 config DEBUG_TI81XXUART2
687 bool "Kernel low-level debugging messages via TI81XX UART2"
688 depends on ARCH_OMAP2PLUS
689 select DEBUG_OMAP2PLUS_UART
690
691 config DEBUG_TI81XXUART3
692 bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
693 depends on ARCH_OMAP2PLUS
694 select DEBUG_OMAP2PLUS_UART
695
696 config DEBUG_AM33XXUART1
697 bool "Kernel low-level debugging messages via AM33XX UART1"
698 depends on ARCH_OMAP2PLUS
699 select DEBUG_OMAP2PLUS_UART
700
701 config DEBUG_ZOOM_UART
702 bool "Kernel low-level debugging messages via Zoom2/3 UART"
703 depends on ARCH_OMAP2PLUS
704 select DEBUG_OMAP2PLUS_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -0800705
Rob Herring59bba2a2012-09-06 14:14:46 -0500706 config DEBUG_PICOXCELL_UART
707 depends on ARCH_PICOXCELL
708 bool "Use PicoXcell UART for low-level debug"
Russell King0b4cccb2013-07-07 11:42:46 +0100709 select DEBUG_UART_8250
Rob Herring59bba2a2012-09-06 14:14:46 -0500710 help
711 Say Y here if you want kernel low-level debugging support
712 on PicoXcell based platforms.
713
Haojian Zhuang0a43cd3b2013-04-10 11:17:04 +0800714 config DEBUG_PXA_UART1
715 depends on ARCH_PXA
716 bool "Use PXA UART1 for low-level debug"
Russell King4a0036472013-07-06 23:13:15 +0100717 select DEBUG_UART_8250
Haojian Zhuang0a43cd3b2013-04-10 11:17:04 +0800718 help
719 Say Y here if you want kernel low-level debugging support
720 on PXA UART1.
721
Russell Kinge76f4752011-11-23 17:44:05 +0000722 config DEBUG_REALVIEW_STD_PORT
723 bool "RealView Default UART"
724 depends on ARCH_REALVIEW
Russell King5c972af2013-07-07 12:32:16 +0100725 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000726 help
727 Say Y here if you want the debug print routines to direct
728 their output to the serial port on RealView EB, PB11MP, PBA8
729 and PBX platforms.
730
731 config DEBUG_REALVIEW_PB1176_PORT
732 bool "RealView PB1176 UART"
733 depends on MACH_REALVIEW_PB1176
Russell King5c972af2013-07-07 12:32:16 +0100734 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000735 help
736 Say Y here if you want the debug print routines to direct
737 their output to the standard serial port on the RealView
738 PB1176 platform.
739
Russell Kingcce278d2013-07-06 14:23:30 +0100740 config DEBUG_RK29_UART0
741 bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200742 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100743 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100744 help
745 Say Y here if you want kernel low-level debugging support
746 on Rockchip based platforms.
747
748 config DEBUG_RK29_UART1
749 bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
750 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100751 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100752 help
753 Say Y here if you want kernel low-level debugging support
754 on Rockchip based platforms.
755
756 config DEBUG_RK29_UART2
757 bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
758 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100759 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100760 help
761 Say Y here if you want kernel low-level debugging support
762 on Rockchip based platforms.
763
764 config DEBUG_RK3X_UART0
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200765 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
Russell Kingcce278d2013-07-06 14:23:30 +0100766 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100767 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100768 help
769 Say Y here if you want kernel low-level debugging support
770 on Rockchip based platforms.
771
772 config DEBUG_RK3X_UART1
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200773 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
Russell Kingcce278d2013-07-06 14:23:30 +0100774 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100775 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100776 help
777 Say Y here if you want kernel low-level debugging support
778 on Rockchip based platforms.
779
780 config DEBUG_RK3X_UART2
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200781 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
Russell Kingcce278d2013-07-06 14:23:30 +0100782 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100783 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100784 help
785 Say Y here if you want kernel low-level debugging support
786 on Rockchip based platforms.
787
788 config DEBUG_RK3X_UART3
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200789 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
Russell Kingcce278d2013-07-06 14:23:30 +0100790 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100791 select DEBUG_UART_8250
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200792 help
793 Say Y here if you want kernel low-level debugging support
794 on Rockchip based platforms.
795
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +0200796 config DEBUG_RK32_UART2
797 bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
798 depends on ARCH_ROCKCHIP
799 select DEBUG_UART_8250
800 help
801 Say Y here if you want kernel low-level debugging support
802 on Rockchip RK32xx based platforms.
803
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100804 config DEBUG_R7S72100_SCIF2
805 bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
806 depends on ARCH_R7S72100
807 help
808 Say Y here if you want kernel low-level debugging support
809 via SCIF2 on Renesas RZ/A1H (R7S72100).
810
811 config DEBUG_RCAR_GEN1_SCIF0
812 bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
813 depends on ARCH_R8A7778
814 help
815 Say Y here if you want kernel low-level debugging support
816 via SCIF0 on Renesas R-Car M1A (R8A7778).
817
818 config DEBUG_RCAR_GEN1_SCIF2
819 bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
820 depends on ARCH_R8A7779
821 help
822 Say Y here if you want kernel low-level debugging support
823 via SCIF2 on Renesas R-Car H1 (R8A7779).
824
825 config DEBUG_RCAR_GEN2_SCIF0
Geert Uytterhoevene2fd51b2015-02-26 11:29:35 +0100826 bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793"
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100827 depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793
828 help
829 Say Y here if you want kernel low-level debugging support
830 via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), or
831 M2-N (R8A7793).
832
833 config DEBUG_RCAR_GEN2_SCIF2
834 bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
835 depends on ARCH_R8A7794
836 help
837 Say Y here if you want kernel low-level debugging support
838 via SCIF2 on Renesas R-Car E2 (R8A7794).
839
840 config DEBUG_RMOBILE_SCIFA0
Magnus Damm59b89af2015-01-26 15:19:20 +0900841 bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
842 depends on ARCH_R8A73A4
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100843 help
844 Say Y here if you want kernel low-level debugging support
Magnus Damm59b89af2015-01-26 15:19:20 +0900845 via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100846
847 config DEBUG_RMOBILE_SCIFA1
848 bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
849 depends on ARCH_R8A7740
850 help
851 Say Y here if you want kernel low-level debugging support
852 via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
853
854 config DEBUG_RMOBILE_SCIFA4
855 bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
856 depends on ARCH_SH73A0
857 help
858 Say Y here if you want kernel low-level debugging support
859 via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
860
Russell Kinge76f4752011-11-23 17:44:05 +0000861 config DEBUG_S3C_UART0
862 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100863 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900864 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200865 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900866 bool "Use Samsung S3C UART 0 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000867 help
868 Say Y here if you want the debug print routines to direct
869 their output to UART 0. The port must have been initialised
870 by the boot-loader before use.
871
Russell Kinge76f4752011-11-23 17:44:05 +0000872 config DEBUG_S3C_UART1
873 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100874 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900875 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200876 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900877 bool "Use Samsung S3C UART 1 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000878 help
879 Say Y here if you want the debug print routines to direct
880 their output to UART 1. The port must have been initialised
881 by the boot-loader before use.
882
Russell Kinge76f4752011-11-23 17:44:05 +0000883 config DEBUG_S3C_UART2
884 depends on PLAT_SAMSUNG
Arnd Bergmanna2e40712013-03-04 18:03:10 +0100885 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +0900886 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200887 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900888 bool "Use Samsung S3C UART 2 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +0000889 help
890 Say Y here if you want the debug print routines to direct
891 their output to UART 2. The port must have been initialised
892 by the boot-loader before use.
893
Olof Johansson5fa23dd2012-11-22 14:24:04 +0900894 config DEBUG_S3C_UART3
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +0200895 depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210)
896 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
897 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +0900898 bool "Use Samsung S3C UART 3 for low-level debug"
Olof Johansson5fa23dd2012-11-22 14:24:04 +0900899 help
900 Say Y here if you want the debug print routines to direct
901 their output to UART 3. The port must have been initialised
902 by the boot-loader before use.
903
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +0900904 config DEBUG_S3C2410_UART0
905 depends on ARCH_S3C24XX
906 select DEBUG_S3C2410_UART
907 bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
908 help
909 Say Y here if you want the debug print routines to direct
910 their output to UART 0. The port must have been initialised
911 by the boot-loader before use.
912
913 config DEBUG_S3C2410_UART1
914 depends on ARCH_S3C24XX
915 select DEBUG_S3C2410_UART
916 bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
917 help
918 Say Y here if you want the debug print routines to direct
919 their output to UART 1. The port must have been initialised
920 by the boot-loader before use.
921
922 config DEBUG_S3C2410_UART2
923 depends on ARCH_S3C24XX
924 select DEBUG_S3C2410_UART
925 bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
926 help
927 Say Y here if you want the debug print routines to direct
928 their output to UART 2. The port must have been initialised
929 by the boot-loader before use.
930
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +0300931 config DEBUG_SA1100
932 depends on ARCH_SA1100
933 bool "Use SA1100 UARTs for low-level debug"
934 help
935 Say Y here if you want kernel low-level debugging support
936 on SA-11x0 UART ports. The kernel will check for the first
937 enabled UART in a sequence 3-1-2.
938
Dinh Nguyende73c162015-03-09 15:48:31 -0500939 config DEBUG_SOCFPGA_UART0
Rob Herring6111bf72012-09-06 14:11:28 -0500940 depends on ARCH_SOCFPGA
Dinh Nguyende73c162015-03-09 15:48:31 -0500941 bool "Use SOCFPGA UART0 for low-level debug"
Russell King0b4cccb2013-07-07 11:42:46 +0100942 select DEBUG_UART_8250
Rob Herring6111bf72012-09-06 14:11:28 -0500943 help
944 Say Y here if you want kernel low-level debugging support
Dinh Nguyende73c162015-03-09 15:48:31 -0500945 on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
946
947 config DEBUG_SOCFPGA_UART1
948 depends on ARCH_SOCFPGA
949 bool "Use SOCFPGA UART1 for low-level debug"
950 select DEBUG_UART_8250
951 help
952 Say Y here if you want kernel low-level debugging support
953 on SOCFPGA(Arria 10) based platforms.
954
Rob Herring6111bf72012-09-06 14:11:28 -0500955
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +0800956 config DEBUG_SUN9I_UART0
957 bool "Kernel low-level debugging messages via sun9i UART0"
958 depends on MACH_SUN9I
959 select DEBUG_UART_8250
960 help
961 Say Y here if you want kernel low-level debugging support
962 on Allwinner A80 based platforms on the UART0.
963
Stefan Roeseaa251152012-11-19 12:09:41 +0100964 config DEBUG_SUNXI_UART0
965 bool "Kernel low-level debugging messages via sunXi UART0"
966 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +0100967 select DEBUG_UART_8250
Stefan Roeseaa251152012-11-19 12:09:41 +0100968 help
969 Say Y here if you want kernel low-level debugging support
970 on Allwinner A1X based platforms on the UART0.
971
Maxime Ripardcb84fa12012-11-08 12:40:49 +0100972 config DEBUG_SUNXI_UART1
973 bool "Kernel low-level debugging messages via sunXi UART1"
974 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +0100975 select DEBUG_UART_8250
Maxime Ripardcb84fa12012-11-08 12:40:49 +0100976 help
977 Say Y here if you want kernel low-level debugging support
978 on Allwinner A1X based platforms on the UART1.
979
Chen-Yu Tsaic4718542014-06-20 22:52:51 +0800980 config DEBUG_SUNXI_R_UART
981 bool "Kernel low-level debugging messages via sunXi R_UART"
982 depends on MACH_SUN6I || MACH_SUN8I
983 select DEBUG_UART_8250
984 help
985 Say Y here if you want kernel low-level debugging support
986 on Allwinner A31/A23 based platforms on the R_UART.
987
Russell Kingcce278d2013-07-06 14:23:30 +0100988 config TEGRA_DEBUG_UART_AUTO_ODMDATA
989 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
Stephen Warren46067802012-09-25 15:54:56 -0600990 depends on ARCH_TEGRA
Russell Kingcce278d2013-07-06 14:23:30 +0100991 select DEBUG_TEGRA_UART
992 help
993 Automatically determines which UART to use for low-level
994 debug based on the ODMDATA value. This value is part of
995 the BCT, and is written to the boot memory device using
996 nvflash, or other flashing tool. When bits 19:18 are 3,
997 then bits 17:15 indicate which UART to use; 0/1/2/3/4
998 are UART A/B/C/D/E.
999
1000 config TEGRA_DEBUG_UARTA
1001 bool "Kernel low-level debugging messages via Tegra UART A"
1002 depends on ARCH_TEGRA
1003 select DEBUG_TEGRA_UART
1004 help
1005 Say Y here if you want kernel low-level debugging support
1006 on Tegra based platforms.
1007
1008 config TEGRA_DEBUG_UARTB
1009 bool "Kernel low-level debugging messages via Tegra UART B"
1010 depends on ARCH_TEGRA
1011 select DEBUG_TEGRA_UART
1012 help
1013 Say Y here if you want kernel low-level debugging support
1014 on Tegra based platforms.
1015
1016 config TEGRA_DEBUG_UARTC
1017 bool "Kernel low-level debugging messages via Tegra UART C"
1018 depends on ARCH_TEGRA
1019 select DEBUG_TEGRA_UART
1020 help
1021 Say Y here if you want kernel low-level debugging support
1022 on Tegra based platforms.
1023
1024 config TEGRA_DEBUG_UARTD
1025 bool "Kernel low-level debugging messages via Tegra UART D"
1026 depends on ARCH_TEGRA
1027 select DEBUG_TEGRA_UART
1028 help
1029 Say Y here if you want kernel low-level debugging support
1030 on Tegra based platforms.
1031
1032 config TEGRA_DEBUG_UARTE
1033 bool "Kernel low-level debugging messages via Tegra UART E"
1034 depends on ARCH_TEGRA
1035 select DEBUG_TEGRA_UART
Stephen Warren46067802012-09-25 15:54:56 -06001036 help
1037 Say Y here if you want kernel low-level debugging support
1038 on Tegra based platforms.
1039
Barry Song7f46a102012-12-20 19:45:25 +08001040 config DEBUG_SIRFPRIMA2_UART1
1041 bool "Kernel low-level debugging messages via SiRFprimaII UART1"
1042 depends on ARCH_PRIMA2
Guo Zeng01ea63d2015-01-04 17:40:54 +08001043 select DEBUG_SIRFSOC_UART
Barry Song7f46a102012-12-20 19:45:25 +08001044 help
1045 Say Y here if you want the debug print routines to direct
1046 their output to the uart1 port on SiRFprimaII devices.
1047
Guo Zeng01ea63d2015-01-04 17:40:54 +08001048 config DEBUG_SIRFATLAS7_UART0
1049 bool "Kernel low-level debugging messages via SiRFatlas7 UART0"
1050 depends on ARCH_ATLAS7
1051 select DEBUG_SIRFSOC_UART
Barry Song7f46a102012-12-20 19:45:25 +08001052 help
1053 Say Y here if you want the debug print routines to direct
Guo Zeng01ea63d2015-01-04 17:40:54 +08001054 their output to the uart0 port on SiRFATLAS7 devices.The uart0
1055 is used on SiRFATLAS7 as a extra debug port.sometimes an extra
1056 debug port can be very useful.
1057
1058 config DEBUG_SIRFATLAS7_UART1
1059 bool "Kernel low-level debugging messages via SiRFatlas7 UART1"
1060 depends on ARCH_ATLAS7
1061 select DEBUG_SIRFSOC_UART
1062 help
1063 Say Y here if you want the debug print routines to direct
1064 their output to the uart1 port on SiRFATLAS7 devices.
Barry Song7f46a102012-12-20 19:45:25 +08001065
Russell Kingcce278d2013-07-06 14:23:30 +01001066 config STIH41X_DEBUG_ASC2
1067 bool "Use StiH415/416 ASC2 UART for low-level debug"
Arnd Bergmann5562b802013-07-05 16:08:44 +02001068 depends on ARCH_STI
Russell Kingcce278d2013-07-06 14:23:30 +01001069 select DEBUG_STI_UART
Arnd Bergmann5562b802013-07-05 16:08:44 +02001070 help
1071 Say Y here if you want kernel low-level debugging support
Russell Kingcce278d2013-07-06 14:23:30 +01001072 on STiH415/416 based platforms like b2000, which has
1073 default UART wired up to ASC2.
1074
1075 If unsure, say N.
1076
1077 config STIH41X_DEBUG_SBC_ASC1
1078 bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
1079 depends on ARCH_STI
1080 select DEBUG_STI_UART
1081 help
1082 Say Y here if you want kernel low-level debugging support
1083 on STiH415/416 based platforms like b2020. which has
1084 default UART wired up to SBC ASC1.
Arnd Bergmann5562b802013-07-05 16:08:44 +02001085
1086 If unsure, say N.
1087
Linus Walleijdd324da2013-05-02 16:34:19 +02001088 config DEBUG_U300_UART
1089 bool "Kernel low-level debugging messages via U300 UART0"
1090 depends on ARCH_U300
Russell King5c972af2013-07-07 12:32:16 +01001091 select DEBUG_UART_PL01X
Linus Walleijdd324da2013-05-02 16:34:19 +02001092 help
1093 Say Y here if you want the debug print routines to direct
1094 their output to the uart port on U300 devices.
1095
Linus Walleijf87b95d2013-03-19 11:01:36 +01001096 config DEBUG_UX500_UART
1097 depends on ARCH_U8500
1098 bool "Use Ux500 UART for low-level debug"
1099 help
1100 Say Y here if you want kernel low-level debugging support
1101 on Ux500 based platforms.
1102
Matthias Bruggerd6682082014-08-18 16:58:00 +02001103 config DEBUG_MT6589_UART0
1104 bool "Mediatek mt6589 UART0"
1105 depends on ARCH_MEDIATEK
1106 select DEBUG_UART_8250
1107 help
1108 Say Y here if you want kernel low-level debugging support
1109 for Mediatek mt6589 based platforms on UART0.
1110
Joe.C65ec48c2014-11-04 15:30:54 +08001111 config DEBUG_MT8127_UART0
Matthias Brugger60851d72015-01-14 09:42:02 +01001112 bool "Mediatek mt8127/mt6592 UART0"
Joe.C65ec48c2014-11-04 15:30:54 +08001113 depends on ARCH_MEDIATEK
1114 select DEBUG_UART_8250
1115 help
1116 Say Y here if you want kernel low-level debugging support
1117 for Mediatek mt8127 based platforms on UART0.
1118
1119 config DEBUG_MT8135_UART3
1120 bool "Mediatek mt8135 UART3"
1121 depends on ARCH_MEDIATEK
1122 select DEBUG_UART_8250
1123 help
1124 Say Y here if you want kernel low-level debugging support
1125 for Mediatek mt8135 based platforms on UART3.
1126
Pawel Moll1b820ea2012-07-11 17:07:25 +01001127 config DEBUG_VEXPRESS_UART0_DETECT
1128 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
1129 depends on ARCH_VEXPRESS && CPU_CP15_MMU
1130 help
1131 This option enables a simple heuristic which tries to determine
1132 the motherboard's memory map variant (original or RS1) and then
1133 choose the relevant UART0 base address.
1134
1135 Note that this will only work with standard A-class core tiles,
1136 and may fail with non-standard SMM or custom software models.
1137
1138 config DEBUG_VEXPRESS_UART0_CA9
1139 bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
1140 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001141 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001142 help
1143 This option selects UART0 at 0x10009000. Except for custom models,
1144 this applies only to the V2P-CA9 tile.
1145
1146 config DEBUG_VEXPRESS_UART0_RS1
1147 bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
1148 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001149 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001150 help
1151 This option selects UART0 at 0x1c090000. This applies to most
1152 of the tiles using the RS1 memory map, including all new A-class
1153 core tiles, FPGA-based SMMs and software models.
1154
Jonathan Austined18bdc2012-08-30 13:46:44 +01001155 config DEBUG_VEXPRESS_UART0_CRX
1156 bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
1157 depends on ARCH_VEXPRESS && !MMU
Russell King5c972af2013-07-07 12:32:16 +01001158 select DEBUG_UART_PL01X
Jonathan Austined18bdc2012-08-30 13:46:44 +01001159 help
1160 This option selects UART0 at 0xb0090000. This is appropriate for
1161 Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
1162
Tony Priskb61a2722012-12-28 12:09:18 +13001163 config DEBUG_VT8500_UART0
1164 bool "Use UART0 on VIA/Wondermedia SoCs"
1165 depends on ARCH_VT8500
1166 help
1167 This option selects UART0 on VIA/Wondermedia System-on-a-chip
1168 devices, including VT8500, WM8505, WM8650 and WM8850.
1169
Russell Kinge76f4752011-11-23 17:44:05 +00001170 config DEBUG_ICEDCC
1171 bool "Kernel low-level debugging via EmbeddedICE DCC channel"
1172 help
1173 Say Y here if you want the debug print routines to direct
1174 their output to the EmbeddedICE macrocell's DCC channel using
1175 co-processor 14. This is known to work on the ARM9 style ICE
1176 channel and on the XScale with the PEEDI.
1177
1178 Note that the system will appear to hang during boot if there
1179 is nothing connected to read from the DCC.
1180
Russell Kingb0df8982012-03-27 11:30:31 +01001181 config DEBUG_SEMIHOSTING
Stephen Boyd62194bd2012-09-06 21:24:32 +01001182 bool "Kernel low-level debug output via semihosting I/O"
Russell Kingb0df8982012-03-27 11:30:31 +01001183 help
1184 Semihosting enables code running on an ARM target to use
1185 the I/O facilities on a host debugger/emulator through a
Stephen Boyd62194bd2012-09-06 21:24:32 +01001186 simple SVC call. The host debugger or emulator must have
Russell Kingb0df8982012-03-27 11:30:31 +01001187 semihosting enabled for the special svc call to be trapped
1188 otherwise the kernel will crash.
1189
Stephen Boyd62194bd2012-09-06 21:24:32 +01001190 This is known to work with OpenOCD, as well as
Russell Kingb0df8982012-03-27 11:30:31 +01001191 ARM's Fast Models, or any other controlling environment
1192 that implements semihosting.
1193
1194 For more details about semihosting, please see
1195 chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
1196
Jun Nie58d03982015-04-28 17:18:07 +08001197 config DEBUG_ZTE_ZX
1198 bool "Use ZTE ZX UART"
1199 select DEBUG_UART_PL01X
1200 depends on ARCH_ZX
1201 help
1202 Say Y here if you are enabling ZTE ZX296702 SOC and need
1203 debug uart support.
1204
1205 This option is preferred over the platform specific
1206 options; the platform specific options are deprecated
1207 and will be soon removed.
1208
Russell Kingf8f12792013-07-07 15:29:38 +01001209 config DEBUG_LL_UART_8250
1210 bool "Kernel low-level debugging via 8250 UART"
1211 help
1212 Say Y here if you wish the debug print routes to direct
1213 their output to an 8250 UART. You can use this option
1214 to provide the parameters for the 8250 UART rather than
1215 selecting one of the platform specific options above if
1216 you know the parameters for the port.
1217
1218 This option is preferred over the platform specific
1219 options; the platform specific options are deprecated
1220 and will be soon removed.
1221
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001222 config DEBUG_LL_UART_EFM32
1223 bool "Kernel low-level debugging via efm32 UART"
1224 depends on ARCH_EFM32
1225 help
1226 Say Y here if you want the debug print routines to direct
1227 their output to an UART or USART port on efm32 based
1228 machines. Use the following addresses for DEBUG_UART_PHYS:
1229
1230 0x4000c000 | USART0
1231 0x4000c400 | USART1
1232 0x4000c800 | USART2
1233 0x4000e000 | UART0
1234 0x4000e400 | UART1
1235
Russell Kingf8f12792013-07-07 15:29:38 +01001236 config DEBUG_LL_UART_PL01X
1237 bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
1238 help
1239 Say Y here if you wish the debug print routes to direct
1240 their output to a PL01x Primecell UART. You can use
1241 this option to provide the parameters for the UART
1242 rather than selecting one of the platform specific
1243 options above if you know the parameters for the port.
1244
1245 This option is preferred over the platform specific
1246 options; the platform specific options are deprecated
1247 and will be soon removed.
1248
Linus Torvalds1da177e2005-04-16 15:20:36 -07001249endchoice
1250
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001251config DEBUG_EXYNOS_UART
1252 bool
1253
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001254config DEBUG_S3C2410_UART
1255 bool
Heiko Stuebner1899de22014-05-16 06:59:18 +09001256 select DEBUG_S3C24XX_UART
1257
1258config DEBUG_S3C24XX_UART
1259 bool
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001260
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001261config DEBUG_S5PV210_UART
1262 bool
1263
Russell Kingcce278d2013-07-06 14:23:30 +01001264config DEBUG_OMAP2PLUS_UART
1265 bool
1266 depends on ARCH_OMAP2PLUS
1267
Shawn Guof8c95fe2012-12-12 19:03:53 +08001268config DEBUG_IMX_UART_PORT
1269 int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
1270 DEBUG_IMX25_UART || \
1271 DEBUG_IMX21_IMX27_UART || \
1272 DEBUG_IMX31_UART || \
1273 DEBUG_IMX35_UART || \
Greg Ungererad364a72013-10-29 15:15:51 +10001274 DEBUG_IMX50_UART || \
Shawn Guof8c95fe2012-12-12 19:03:53 +08001275 DEBUG_IMX51_UART || \
Paul Bolle0c52db72013-03-11 14:16:00 +01001276 DEBUG_IMX53_UART || \
Shawn Guo34e8a162013-05-03 11:21:03 +08001277 DEBUG_IMX6Q_UART || \
Shawn Guo74368e82014-05-11 21:53:48 +08001278 DEBUG_IMX6SL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001279 DEBUG_IMX6SX_UART || \
Anson Huang20c305f2015-07-10 02:09:47 +08001280 DEBUG_IMX6UL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001281 DEBUG_IMX7D_UART
Shawn Guo49c9e602012-10-08 13:44:29 +08001282 default 1
Shawn Guo287939a2013-03-13 10:52:49 +08001283 depends on ARCH_MXC
Shawn Guo49c9e602012-10-08 13:44:29 +08001284 help
1285 Choose UART port on which kernel low-level debug messages
1286 should be output.
1287
Stefan Agnercfdb7d52014-03-05 23:07:48 +01001288config DEBUG_VF_UART_PORT
1289 int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
1290 default 1
1291 range 0 3
1292 depends on SOC_VF610
1293 help
1294 Choose UART port on which kernel low-level debug messages
1295 should be output.
1296
Russell Kingcce278d2013-07-06 14:23:30 +01001297config DEBUG_TEGRA_UART
1298 bool
1299 depends on ARCH_TEGRA
Tony Lindgren808b7e02013-01-11 11:24:19 -08001300
Russell Kingcce278d2013-07-06 14:23:30 +01001301config DEBUG_STI_UART
1302 bool
1303 depends on ARCH_STI
Srinivas Kandagatla5026aec2013-06-25 12:15:32 +01001304
Guo Zeng01ea63d2015-01-04 17:40:54 +08001305config DEBUG_SIRFSOC_UART
1306 bool
1307 depends on ARCH_SIRF
1308
Rob Herring91a9fec2012-08-31 00:03:46 -05001309config DEBUG_LL_INCLUDE
1310 string
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +03001311 default "debug/sa1100.S" if DEBUG_SA1100
Russell Kingf8f12792013-07-07 15:29:38 +01001312 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
Nicolas Ferre42dfd1e2015-01-20 11:38:02 +01001313 default "debug/at91.S" if DEBUG_AT91_UART
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001314 default "debug/asm9260.S" if DEBUG_ASM9260_UART
Alexander Shiyandd99eef2014-06-19 19:26:34 +04001315 default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
Carlo Caioned8a00912014-09-09 21:38:00 +02001316 default "debug/meson.S" if DEBUG_MESON_UARTAO
Russell Kingf8f12792013-07-07 15:29:38 +01001317 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001318 default "debug/exynos.S" if DEBUG_EXYNOS_UART
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001319 default "debug/efm32.S" if DEBUG_LL_UART_EFM32
Rob Herring91a9fec2012-08-31 00:03:46 -05001320 default "debug/icedcc.S" if DEBUG_ICEDCC
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001321 default "debug/imx.S" if DEBUG_IMX1_UART || \
1322 DEBUG_IMX25_UART || \
1323 DEBUG_IMX21_IMX27_UART || \
Shawn Guo4ad625d2012-12-12 18:54:01 +08001324 DEBUG_IMX31_UART || \
1325 DEBUG_IMX35_UART || \
Greg Ungererad364a72013-10-29 15:15:51 +10001326 DEBUG_IMX50_UART || \
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001327 DEBUG_IMX51_UART || \
Fabio Estevam7356420c2013-01-22 10:40:55 -02001328 DEBUG_IMX53_UART ||\
Shawn Guo34e8a162013-05-03 11:21:03 +08001329 DEBUG_IMX6Q_UART || \
Shawn Guo74368e82014-05-11 21:53:48 +08001330 DEBUG_IMX6SL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001331 DEBUG_IMX6SX_UART || \
Anson Huang20c305f2015-07-10 02:09:47 +08001332 DEBUG_IMX6UL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001333 DEBUG_IMX7D_UART
Daniel Thompsonabbfb212015-01-09 18:33:36 +01001334 default "debug/ks8695.S" if DEBUG_KS8695_UART
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001335 default "debug/msm.S" if DEBUG_QCOM_UARTDM
Daniel Thompson4d31e662015-01-09 18:34:03 +01001336 default "debug/netx.S" if DEBUG_NETX_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -08001337 default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001338 default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
1339 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
1340 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
1341 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
1342 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
1343 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
1344 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
1345 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
Heiko Stuebner2cd62bd2014-05-16 06:59:18 +09001346 default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001347 default "debug/s5pv210.S" if DEBUG_S5PV210_UART
Guo Zeng01ea63d2015-01-04 17:40:54 +08001348 default "debug/sirf.S" if DEBUG_SIRFSOC_UART
Srinivas Kandagatla5026aec2013-06-25 12:15:32 +01001349 default "debug/sti.S" if DEBUG_STI_UART
Linus Torvalds150a8dc2013-05-04 12:34:30 -07001350 default "debug/tegra.S" if DEBUG_TEGRA_UART
1351 default "debug/ux500.S" if DEBUG_UX500_UART
Russell King4e218b92013-07-07 12:36:46 +01001352 default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
Shawn Guoc7c3eac2013-05-12 17:22:17 +08001353 default "debug/vf.S" if DEBUG_VF_UART
Tony Priskb61a2722012-12-28 12:09:18 +13001354 default "debug/vt8500.S" if DEBUG_VT8500_UART0
Josh Cartwright385f02b2012-11-19 10:16:01 -06001355 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
Florian Fainellib51312b2014-01-08 09:19:50 -08001356 default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX
Baruch Siache23814d2015-01-14 10:40:31 +02001357 default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
Rob Herring91a9fec2012-08-31 00:03:46 -05001358 default "mach/debug-macro.S"
1359
Russell Kingf8f12792013-07-07 15:29:38 +01001360# Compatibility options for PL01x
Russell King5c972af2013-07-07 12:32:16 +01001361config DEBUG_UART_PL01X
Daniel Thompsona61cbf52015-01-09 18:34:22 +01001362 bool
Russell King5c972af2013-07-07 12:32:16 +01001363
Russell Kingf8f12792013-07-07 15:29:38 +01001364# Compatibility options for 8250
Russell King7610b602013-07-06 22:59:10 +01001365config DEBUG_UART_8250
Russell King4a0036472013-07-06 23:13:15 +01001366 def_bool ARCH_DOVE || ARCH_EBSA110 || \
1367 (FOOTBRIDGE && !DEBUG_DC21285_PORT) || \
1368 ARCH_GEMINI || ARCH_IOP13XX || ARCH_IOP32X || \
Andrew Lunnba364fc2014-07-10 23:36:21 +02001369 ARCH_IOP33X || ARCH_IXP4XX || \
Russell King4a0036472013-07-06 23:13:15 +01001370 ARCH_LPC32XX || ARCH_MV78XX0 || ARCH_ORION5X || ARCH_RPC
1371
Florian Fainellib51312b2014-01-08 09:19:50 -08001372# Compatibility options for BCM63xx
1373config DEBUG_UART_BCM63XX
1374 def_bool ARCH_BCM_63XX
1375
Russell Kingc3faa9b2013-07-07 00:01:39 +01001376config DEBUG_UART_PHYS
1377 hex "Physical base address of debug UART"
Daniel Thompson4d31e662015-01-09 18:34:03 +01001378 default 0x00100a00 if DEBUG_NETX_UART
Russell King97bd1a42013-07-07 16:18:34 +01001379 default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001380 default 0x01c28000 if DEBUG_SUNXI_UART0
1381 default 0x01c28400 if DEBUG_SUNXI_UART1
Russell King97bd1a42013-07-07 16:18:34 +01001382 default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
1383 default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001384 default 0x01f02800 if DEBUG_SUNXI_R_UART
Russell Kingf2acf002013-07-07 16:05:49 +01001385 default 0x02530c00 if DEBUG_KEYSTONE_UART0
1386 default 0x02531000 if DEBUG_KEYSTONE_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001387 default 0x03010fe0 if ARCH_RPC
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001388 default 0x07000000 if DEBUG_SUN9I_UART0
Jun Nie58d03982015-04-28 17:18:07 +08001389 default 0x09405000 if DEBUG_ZTE_ZX
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001390 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
Russell King5c972af2013-07-07 12:32:16 +01001391 DEBUG_VEXPRESS_UART0_CA9
1392 default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
Russell Kingc3faa9b2013-07-07 00:01:39 +01001393 default 0x10124000 if DEBUG_RK3X_UART0
1394 default 0x10126000 if DEBUG_RK3X_UART1
Russell King5c972af2013-07-07 12:32:16 +01001395 default 0x101f1000 if ARCH_VERSATILE
1396 default 0x101fb000 if DEBUG_NOMADIK_UART
Joe.C65ec48c2014-11-04 15:30:54 +08001397 default 0x11002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001398 default 0x11006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001399 default 0x11009000 if DEBUG_MT8135_UART3
Russell King5c972af2013-07-07 12:32:16 +01001400 default 0x16000000 if ARCH_INTEGRATOR
Hauke Mehrtens06580272014-02-04 00:01:44 +01001401 default 0x18000300 if DEBUG_BCM_5301X
Guo Zeng01ea63d2015-01-04 17:40:54 +08001402 default 0x18010000 if DEBUG_SIRFATLAS7_UART0
1403 default 0x18020000 if DEBUG_SIRFATLAS7_UART1
Russell King5c972af2013-07-07 12:32:16 +01001404 default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
Wang Long27dafaa2014-12-24 03:09:56 +00001405 default 0x20001000 if DEBUG_HIP01_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001406 default 0x20060000 if DEBUG_RK29_UART0
1407 default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1408 default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Russell King5c972af2013-07-07 12:32:16 +01001409 default 0x20201000 if DEBUG_BCM2835
Eric Anholt5234c342015-02-24 15:07:55 +00001410 default 0x3f201000 if DEBUG_BCM2836
Christian Daudt753d1242013-12-23 09:00:01 +01001411 default 0x3e000000 if DEBUG_BCM_KONA_UART
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001412 default 0x4000e400 if DEBUG_LL_UART_EFM32
Joachim Eastwood0aed6a32015-05-19 20:55:03 +02001413 default 0x40081000 if DEBUG_LPC18XX_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001414 default 0x40090000 if ARCH_LPC32XX
1415 default 0x40100000 if DEBUG_PXA_UART1
1416 default 0x42000000 if ARCH_GEMINI
Heiko Stuebner1899de22014-05-16 06:59:18 +09001417 default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1418 DEBUG_S3C2410_UART0)
1419 default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1420 DEBUG_S3C2410_UART1)
1421 default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1422 DEBUG_S3C2410_UART2)
Krzysztof Hałasac3ca2132014-09-29 08:32:08 +02001423 default 0x78000000 if DEBUG_CNS3XXX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001424 default 0x7c0003f8 if FOOTBRIDGE
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001425 default 0x80010000 if DEBUG_ASM9260_UART
Russell King5c972af2013-07-07 12:32:16 +01001426 default 0x80070000 if DEBUG_IMX23_UART
1427 default 0x80074000 if DEBUG_IMX28_UART
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001428 default 0x80230000 if DEBUG_PICOXCELL_UART
Russell King5c972af2013-07-07 12:32:16 +01001429 default 0x808c0000 if ARCH_EP93XX
1430 default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
Guo Zeng01ea63d2015-01-04 17:40:54 +08001431 default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1
Russell King5c972af2013-07-07 12:32:16 +01001432 default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
1433 default 0xc0013000 if DEBUG_U300_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001434 default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1435 default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Russell King0dc0e472013-07-07 16:38:18 +01001436 default 0xd0000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
Maxime Ripardd91125d2015-01-08 18:38:03 +01001437 default 0xd0012000 if DEBUG_MVEBU_UART0
Carlo Caioned8a00912014-09-09 21:38:00 +02001438 default 0xc81004c0 if DEBUG_MESON_UARTAO
Russell Kingc3faa9b2013-07-07 00:01:39 +01001439 default 0xd4017000 if DEBUG_MMP_UART2
1440 default 0xd4018000 if DEBUG_MMP_UART3
Russell King0dc0e472013-07-07 16:38:18 +01001441 default 0xe0000000 if ARCH_SPEAR13XX
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001442 default 0xe4007000 if DEBUG_HIP04_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001443 default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
1444 default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
1445 default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
1446 default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
1447 default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
1448 default 0xe8008000 if DEBUG_R7S72100_SCIF2
Russell Kingc3faa9b2013-07-07 00:01:39 +01001449 default 0xf0000be0 if ARCH_EBSA110
Marc Carino81b43a62014-08-13 15:50:02 -07001450 default 0xf040ab00 if DEBUG_BRCMSTB_UART
Maxime Ripardd91125d2015-01-08 18:38:03 +01001451 default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001452 default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
Andrew Lunnba364fc2014-07-10 23:36:21 +02001453 default 0xf1012000 if ARCH_DOVE || ARCH_MV78XX0 || \
Russell Kingc3faa9b2013-07-07 00:01:39 +01001454 ARCH_ORION5X
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001455 default 0xf7fc9000 if DEBUG_BERLIN_UART
Haifeng Yan12aae302014-04-11 11:40:58 +08001456 default 0xf8b00000 if DEBUG_HIX5HD2_UART
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001457 default 0xf991e000 if DEBUG_QCOM_UARTDM
Haojian Zhuang8d258be2013-08-24 06:58:39 +01001458 default 0xfcb00000 if DEBUG_HI3620_UART
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001459 default 0xfd883000 if DEBUG_ALPINE_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001460 default 0xfe800000 if ARCH_IOP32X
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001461 default 0xff690000 if DEBUG_RK32_UART2
Dinh Nguyende73c162015-03-09 15:48:31 -05001462 default 0xffc02000 if DEBUG_SOCFPGA_UART0
1463 default 0xffc02100 if DEBUG_SOCFPGA_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001464 default 0xffd82340 if ARCH_IOP13XX
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001465 default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
1466 default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
Russell King5c972af2013-07-07 12:32:16 +01001467 default 0xfff36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001468 default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1469 default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1470 default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Florian Fainellib51312b2014-01-08 09:19:50 -08001471 default 0xfffe8600 if DEBUG_UART_BCM63XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001472 default 0xfffff700 if ARCH_IOP33X
Daniel Thompsond02fde72015-01-09 18:34:12 +01001473 depends on ARCH_EP93XX || \
1474 DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Uwe Kleine-König494e4922013-10-08 16:44:17 +01001475 DEBUG_LL_UART_EFM32 || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001476 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001477 DEBUG_NETX_UART || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001478 DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001479 DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
1480 DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \
1481 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
1482 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
Guo Zeng01ea63d2015-01-04 17:40:54 +08001483 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \
Alexandre Belloni6f112a02015-08-08 12:11:11 +02001484 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \
1485 DEBUG_AT91_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001486
1487config DEBUG_UART_VIRT
1488 hex "Virtual base address of debug UART"
Daniel Thompson4d31e662015-01-09 18:34:03 +01001489 default 0xe0000a00 if DEBUG_NETX_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001490 default 0xe0010fe0 if ARCH_RPC
1491 default 0xf0000be0 if ARCH_EBSA110
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001492 default 0xf0010000 if DEBUG_ASM9260_UART
Russell King5c972af2013-07-07 12:32:16 +01001493 default 0xf01fb000 if DEBUG_NOMADIK_UART
Eric Anholt5234c342015-02-24 15:07:55 +00001494 default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
Hauke Mehrtens06580272014-02-04 00:01:44 +01001495 default 0xf1000300 if DEBUG_BCM_5301X
Joe.C65ec48c2014-11-04 15:30:54 +08001496 default 0xf1002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001497 default 0xf1006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001498 default 0xf1009000 if DEBUG_MT8135_UART3
Russell King5c972af2013-07-07 12:32:16 +01001499 default 0xf11f1000 if ARCH_VERSATILE
1500 default 0xf1600000 if ARCH_INTEGRATOR
Russell Kingc3faa9b2013-07-07 00:01:39 +01001501 default 0xf1c28000 if DEBUG_SUNXI_UART0
1502 default 0xf1c28400 if DEBUG_SUNXI_UART1
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001503 default 0xf1f02800 if DEBUG_SUNXI_R_UART
Robert Jarzmikcde7fc82014-10-07 21:18:14 +02001504 default 0xf6200000 if DEBUG_PXA_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001505 default 0xf4090000 if ARCH_LPC32XX
1506 default 0xf4200000 if ARCH_GEMINI
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001507 default 0xf7000000 if DEBUG_SUN9I_UART0
Heiko Stuebner1899de22014-05-16 06:59:18 +09001508 default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1509 DEBUG_S3C2410_UART0)
1510 default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1511 DEBUG_S3C2410_UART1)
1512 default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1513 DEBUG_S3C2410_UART2)
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001514 default 0xf7fc9000 if DEBUG_BERLIN_UART
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001515 default 0xf8007000 if DEBUG_HIP04_UART
Russell King5c972af2013-07-07 12:32:16 +01001516 default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
1517 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001518 default 0xfa71e000 if DEBUG_QCOM_UARTDM
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001519 default 0xfb002000 if DEBUG_CNS3XXX
Russell King5c972af2013-07-07 12:32:16 +01001520 default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
1521 default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
Marc Carino81b43a62014-08-13 15:50:02 -07001522 default 0xfc40ab00 if DEBUG_BRCMSTB_UART
Jun Nie58d03982015-04-28 17:18:07 +08001523 default 0xfc705000 if DEBUG_ZTE_ZX
Florian Fainellib51312b2014-01-08 09:19:50 -08001524 default 0xfcfe8600 if DEBUG_UART_BCM63XX
Russell King0dc0e472013-07-07 16:38:18 +01001525 default 0xfd000000 if ARCH_SPEAR3XX || ARCH_SPEAR6XX
1526 default 0xfd000000 if ARCH_SPEAR13XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001527 default 0xfd012000 if ARCH_MV78XX0
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001528 default 0xfd883000 if DEBUG_ALPINE_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001529 default 0xfde12000 if ARCH_DOVE
1530 default 0xfe012000 if ARCH_ORION5X
Carlo Caioned8a00912014-09-09 21:38:00 +02001531 default 0xf31004c0 if DEBUG_MESON_UARTAO
Russell Kingc3faa9b2013-07-07 00:01:39 +01001532 default 0xfe017000 if DEBUG_MMP_UART2
1533 default 0xfe018000 if DEBUG_MMP_UART3
Russell King5c972af2013-07-07 12:32:16 +01001534 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
Russell King0b4cccb2013-07-07 11:42:46 +01001535 default 0xfe230000 if DEBUG_PICOXCELL_UART
Christian Daudt753d1242013-12-23 09:00:01 +01001536 default 0xfe300000 if DEBUG_BCM_KONA_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001537 default 0xfe800000 if ARCH_IOP32X
Haifeng Yan12aae302014-04-11 11:40:58 +08001538 default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001539 default 0xfeb24000 if DEBUG_RK3X_UART0
1540 default 0xfeb26000 if DEBUG_RK3X_UART1
Russell Kingf2acf002013-07-07 16:05:49 +01001541 default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1542 default 0xfeb31000 if DEBUG_KEYSTONE_UART1
Dinh Nguyende73c162015-03-09 15:48:31 -05001543 default 0xfec02000 if DEBUG_SOCFPGA_UART0
1544 default 0xfec02100 if DEBUG_SOCFPGA_UART1
Maxime Ripardd91125d2015-01-08 18:38:03 +01001545 default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001546 default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
Guo Zeng01ea63d2015-01-04 17:40:54 +08001547 default 0xfec10000 if DEBUG_SIRFATLAS7_UART0
Russell King97bd1a42013-07-07 16:18:34 +01001548 default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
Guo Zeng01ea63d2015-01-04 17:40:54 +08001549 default 0xfec20000 if DEBUG_SIRFATLAS7_UART1
1550 default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001551 default 0xfec90000 if DEBUG_RK32_UART2
Russell King97bd1a42013-07-07 16:18:34 +01001552 default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
1553 default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001554 default 0xfed60000 if DEBUG_RK29_UART0
1555 default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1556 default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Russell King5c972af2013-07-07 12:32:16 +01001557 default 0xfedc0000 if ARCH_EP93XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001558 default 0xfee003f8 if FOOTBRIDGE
Russell King5c972af2013-07-07 12:32:16 +01001559 default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001560 default 0xfee82340 if ARCH_IOP13XX
1561 default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1562 default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001563 default 0xfef36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001564 default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1565 default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1566 default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Russell Kingc3faa9b2013-07-07 00:01:39 +01001567 default 0xfefff700 if ARCH_IOP33X
Russell King5c972af2013-07-07 12:32:16 +01001568 default 0xff003000 if DEBUG_U300_UART
Wang Long27dafaa2014-12-24 03:09:56 +00001569 default 0xffd01000 if DEBUG_HIP01_UART
Russell King5c972af2013-07-07 12:32:16 +01001570 default DEBUG_UART_PHYS if !MMU
Russell Kingf8f12792013-07-07 15:29:38 +01001571 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001572 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001573 DEBUG_NETX_UART || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001574 DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
Baruch Siache23814d2015-01-14 10:40:31 +02001575 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \
1576 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001577
Russell King4a0036472013-07-06 23:13:15 +01001578config DEBUG_UART_8250_SHIFT
1579 int "Register offset shift for the 8250 debug UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001580 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001581 default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X || \
1582 DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3
Russell King4a0036472013-07-06 23:13:15 +01001583 default 2
Russell King7610b602013-07-06 22:59:10 +01001584
Russell King0b4cccb2013-07-07 11:42:46 +01001585config DEBUG_UART_8250_WORD
1586 bool "Use 32-bit accesses for 8250 UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001587 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Russell King0b4cccb2013-07-07 11:42:46 +01001588 depends on DEBUG_UART_8250_SHIFT >= 2
Dinh Nguyende73c162015-03-09 15:48:31 -05001589 default y if DEBUG_PICOXCELL_UART || DEBUG_SOCFPGA_UART0 || \
1590 DEBUG_SOCFPGA_UART1 || ARCH_KEYSTONE || \
1591 DEBUG_ALPINE_UART0 || \
Russell King97bd1a42013-07-07 16:18:34 +01001592 DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
Arnd Bergmann9d6eccb2014-02-12 22:22:00 +01001593 DEBUG_DAVINCI_DA8XX_UART2 || \
Marc Carino81b43a62014-08-13 15:50:02 -07001594 DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \
1595 DEBUG_BRCMSTB_UART
Russell King0b4cccb2013-07-07 11:42:46 +01001596
Russell King7610b602013-07-06 22:59:10 +01001597config DEBUG_UART_8250_FLOW_CONTROL
1598 bool "Enable flow control for 8250 UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001599 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Russell King7610b602013-07-06 22:59:10 +01001600 default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_GEMINI || ARCH_RPC
1601
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001602config DEBUG_UNCOMPRESS
1603 bool
Stefan Agner9c77bc42015-05-20 00:03:51 +02001604 depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
Russell Kingb6992fa2013-07-17 17:54:27 +01001605 default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
Stephen Warrenae3c99a2013-08-02 20:53:37 +01001606 (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
Russell Kingb6992fa2013-07-17 17:54:27 +01001607 help
1608 This option influences the normal decompressor output for
1609 multiplatform kernels. Normally, multiplatform kernels disable
1610 decompressor output because it is not possible to know where to
1611 send the decompressor output.
1612
1613 When this option is set, the selected DEBUG_LL output method
1614 will be re-used for normal decompressor output on multiplatform
1615 kernels.
1616
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001617
Shawn Guo615967b2013-03-14 08:47:27 +01001618config UNCOMPRESS_INCLUDE
1619 string
Sachin Kamatffd80ec2014-02-24 09:38:12 +09001620 default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
Ulrich Hecht36d6c922015-08-14 15:51:06 +02001621 PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
Shawn Guo615967b2013-03-14 08:47:27 +01001622 default "mach/uncompress.h"
1623
Linus Torvalds1da177e2005-04-16 15:20:36 -07001624config EARLY_PRINTK
1625 bool "Early printk"
1626 depends on DEBUG_LL
1627 help
1628 Say Y here if you want to have an early console using the
1629 kernel low-level debugging functions. Add earlyprintk to your
1630 kernel parameters to enable this console.
1631
Linus Torvalds1da177e2005-04-16 15:20:36 -07001632config ARM_KPROBES_TEST
1633 tristate "Kprobes test module"
1634 depends on KPROBES && MODULES
1635 help
1636 Perform tests of kprobes API and instruction set simulation.
1637
Will Deacon575320d2012-07-06 15:43:03 +01001638config PID_IN_CONTEXTIDR
1639 bool "Write the current PID to the CONTEXTIDR register"
1640 depends on CPU_COPY_V6
1641 help
1642 Enabling this option causes the kernel to write the current PID to
1643 the PROCID field of the CONTEXTIDR register, at the expense of some
1644 additional instructions during context switch. Say Y here only if you
1645 are planning to use hardware trace tools with this kernel.
1646
Laura Abbottdca9aa92013-06-17 10:29:14 -07001647config DEBUG_SET_MODULE_RONX
1648 bool "Set loadable kernel module data as NX and text as RO"
Russell Kinge6ae32c2015-06-25 10:34:38 +01001649 depends on MODULES && MMU
Laura Abbottdca9aa92013-06-17 10:29:14 -07001650 ---help---
1651 This option helps catch unintended modifications to loadable
1652 kernel module's text and read-only data. It also prevents execution
1653 of module data. Such protection may interfere with run-time code
1654 patching and dynamic kernel tracing - and they might also protect
1655 against certain classes of kernel exploits.
1656 If in doubt, say "N".
1657
Mathieu Poirier01081f52015-03-30 14:13:41 -06001658source "drivers/hwtracing/coresight/Kconfig"
Pratik Patelbc4bf7f2014-11-03 11:07:36 -07001659
Linus Torvalds1da177e2005-04-16 15:20:36 -07001660endmenu