blob: 644875d73ba1530cd672c09833863764d134d44f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Jinbum Park4fb69cc2017-12-12 01:41:09 +01003config ARM_PTDUMP_CORE
4 def_bool n
5
6config ARM_PTDUMP_DEBUGFS
Russell King1fd15b82013-10-23 16:13:02 +01007 bool "Export kernel pagetable layout to userspace via debugfs"
8 depends on DEBUG_KERNEL
Arnd Bergmann65ba5082015-05-26 16:07:51 +01009 depends on MMU
Jinbum Park4fb69cc2017-12-12 01:41:09 +010010 select ARM_PTDUMP_CORE
Russell King1fd15b82013-10-23 16:13:02 +010011 select DEBUG_FS
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090012 help
Russell King1fd15b82013-10-23 16:13:02 +010013 Say Y here if you want to show the kernel pagetable layout in a
14 debugfs file. This information is only useful for kernel developers
15 who are working in architecture specific areas of the kernel.
16 It is probably not a good idea to enable this feature in a production
17 kernel.
18 If in doubt, say "N"
19
Jinbum Parka8e53c12017-12-12 01:43:57 +010020config DEBUG_WX
21 bool "Warn on W+X mappings at boot"
Arnd Bergmannad43fc92018-02-28 14:56:07 +010022 depends on MMU
Jinbum Parka8e53c12017-12-12 01:43:57 +010023 select ARM_PTDUMP_CORE
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090024 help
Jinbum Parka8e53c12017-12-12 01:43:57 +010025 Generate a warning if any W+X mappings are found at boot.
26
27 This is useful for discovering cases where the kernel is leaving
28 W+X mappings after applying NX, as such mappings are a security risk.
29
30 Look for a message in dmesg output like this:
31
32 arm/mm: Checked W+X mappings: passed, no W+X pages found.
33
34 or like this, if the check failed:
35
36 arm/mm: Checked W+X mappings: FAILED, <N> W+X pages found.
37
38 Note that even if the check fails, your kernel is possibly
39 still fine, as W+X mappings are not a security hole in
40 themselves, what they do is that they make the exploitation
41 of other unfixed kernel bugs easier.
42
43 There is no runtime or memory usage effect of this option
44 once the kernel has booted up - it's a one time check.
45
46 If in doubt, say "Y".
47
Stefan Agnerf9b58e82018-09-30 23:02:33 +010048choice
49 prompt "Choose kernel unwinder"
Russell King503621622019-04-23 17:09:38 +010050 default UNWINDER_ARM if AEABI
51 default UNWINDER_FRAME_POINTER if !AEABI
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 help
Stefan Agnerf9b58e82018-09-30 23:02:33 +010053 This determines which method will be used for unwinding kernel stack
54 traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
55 livepatch, lockdep, and more.
Catalin Marinasadf8b372009-02-12 13:56:34 +010056
Stefan Agnerf9b58e82018-09-30 23:02:33 +010057config UNWINDER_FRAME_POINTER
58 bool "Frame pointer unwinder"
Nathan Huckleberry6dc5fd92019-08-22 21:26:53 +010059 depends on !THUMB2_KERNEL
Stefan Agnerf9b58e82018-09-30 23:02:33 +010060 select ARCH_WANT_FRAME_POINTERS
61 select FRAME_POINTER
62 help
63 This option enables the frame pointer unwinder for unwinding
64 kernel stack traces.
65
66config UNWINDER_ARM
67 bool "ARM EABI stack unwinder"
Russell King503621622019-04-23 17:09:38 +010068 depends on AEABI && !FUNCTION_GRAPH_TRACER
Nathan Chancellor7411cfc2021-03-25 21:04:40 +010069 # https://github.com/ClangBuiltLinux/linux/issues/732
70 depends on !LD_IS_LLD || LLD_VERSION >= 110000
Stefan Agnerf9b58e82018-09-30 23:02:33 +010071 select ARM_UNWIND
Catalin Marinasadf8b372009-02-12 13:56:34 +010072 help
73 This option enables stack unwinding support in the kernel
74 using the information automatically generated by the
75 compiler. The resulting kernel image is slightly bigger but
76 the performance is not affected. Currently, this feature
Stefan Agnerf9b58e82018-09-30 23:02:33 +010077 only works with EABI compilers.
78
79endchoice
80
81config ARM_UNWIND
82 bool
83
84config FRAME_POINTER
85 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070086
87config DEBUG_USER
88 bool "Verbose user fault messages"
89 help
90 When a user program crashes due to an exception, the kernel can
91 print a brief message explaining what the problem was. This is
92 sometimes helpful for debugging but serves no purpose on a
93 production system. Most people should say N here.
94
95 In addition, you need to pass user_debug=N on the kernel command
96 line to enable this feature. N consists of the sum of:
97
98 1 - undefined instruction events
99 2 - system calls
100 4 - invalid data aborts
101 8 - SIGSEGV faults
102 16 - SIGBUS faults
103
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104# These options are only for real kernel hackers who want to get their hands dirty.
105config DEBUG_LL
Will Deacon4f5ef922011-09-01 19:04:44 +0100106 bool "Kernel low-level debugging functions (read help!)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 depends on DEBUG_KERNEL
108 help
Russell King35efb602005-09-09 15:57:17 +0100109 Say Y here to include definitions of printascii, printch, printhex
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 in the kernel. This is helpful if you are debugging code that
111 executes before the console is initialized.
112
Will Deacon4f5ef922011-09-01 19:04:44 +0100113 Note that selecting this option will limit the kernel to a single
114 UART definition, as specified below. Attempting to boot the kernel
115 image on a different platform *will not work*, so this option should
116 not be enabled for kernels that are intended to be portable.
117
Will Deacon17916b22011-09-01 18:58:51 +0100118choice
119 prompt "Kernel low-level debugging port"
120 depends on DEBUG_LL
121
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +0200122 config DEBUG_ALPINE_UART0
123 bool "Kernel low-level debugging messages via Alpine UART0"
124 depends on ARCH_ALPINE
125 select DEBUG_UART_8250
126 help
127 Say Y here if you want kernel low-level debugging support
128 on Alpine based platforms.
129
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +0100130 config DEBUG_ASM9260_UART
131 bool "Kernel low-level debugging via asm9260 UART"
132 depends on MACH_ASM9260
133 help
134 Say Y here if you want the debug print routines to direct
135 their output to an UART or USART port on asm9260 based
136 machines.
137
138 DEBUG_UART_PHYS | DEBUG_UART_VIRT
139
140 0x80000000 | 0xf0000000 | UART0
141 0x80004000 | 0xf0004000 | UART1
142 0x80008000 | 0xf0008000 | UART2
143 0x8000c000 | 0xf000c000 | UART3
144 0x80010000 | 0xf0010000 | UART4
145 0x80014000 | 0xf0014000 | UART5
146 0x80018000 | 0xf0018000 | UART6
147 0x8001c000 | 0xf001c000 | UART7
148 0x80020000 | 0xf0020000 | UART8
149 0x80024000 | 0xf0024000 | UART9
150
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +0200151 config DEBUG_AT91_RM9200_DBGU
Claudiu Beznea80f58692019-11-29 15:51:43 +0200152 bool "Kernel low-level debugging on AT91RM9200, AT91SAM9, SAM9X60 DBGU"
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +0200153 select DEBUG_AT91_UART
Claudiu Beznea80f58692019-11-29 15:51:43 +0200154 depends on SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60
Alexandre Belloni6f112a02015-08-08 12:11:11 +0200155 help
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +0200156 Say Y here if you want kernel low-level debugging support
157 on the DBGU port of:
158 at91rm9200, at91sam9260, at91sam9g20, at91sam9261,
Claudiu Beznea80f58692019-11-29 15:51:43 +0200159 at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5, sam9x60
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800160
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +0200161 config DEBUG_AT91_SAM9263_DBGU
162 bool "Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU"
163 select DEBUG_AT91_UART
164 depends on SOC_AT91SAM9 || SOC_SAMA5D3
165 help
166 Say Y here if you want kernel low-level debugging support
167 on the DBGU port of:
168 at91sam9263, at91sam9g45, at91sam9m10,
169 sama5d3
Jean-Christophe PLAGNIOL-VILLARD13079a72011-11-02 01:43:31 +0800170
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +0200171 config DEBUG_AT91_SAMA5D2_UART1
172 bool "Kernel low-level debugging on SAMA5D2 UART1"
173 select DEBUG_AT91_UART
174 depends on SOC_SAMA5D2
175 help
176 Say Y here if you want kernel low-level debugging support
177 on the UART1 port of sama5d2.
178
179 config DEBUG_AT91_SAMA5D4_USART3
180 bool "Kernel low-level debugging on SAMA5D4 USART3"
181 select DEBUG_AT91_UART
182 depends on SOC_SAMA5D4
183 help
184 Say Y here if you want kernel low-level debugging support
185 on the USART3 port of sama5d4.
Nicolas Ferrec268a742015-07-30 19:12:12 +0200186
Szemző András63e07c02017-05-31 03:06:24 +0200187 config DEBUG_AT91_SAMV7_USART1
188 bool "Kernel low-level debugging via SAMV7 USART1"
189 select DEBUG_AT91_UART
190 depends on SOC_SAMV7
191 help
192 Say Y here if you want the debug print routines to direct
193 their output to the USART1 port on SAMV7 based
194 machines.
195
Eugen Hristev577cb672021-04-09 14:31:16 +0300196 config DEBUG_AT91_SAMA7G5_FLEXCOM3
197 bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
198 select DEBUG_AT91_UART
199 depends on SOC_SAMA7G5
200 help
201 Say Y here if you want kernel low-level debugging support
202 on the FLEXCOM3 port of SAMA7G5.
203
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600204 config DEBUG_BCM2835
205 bool "Kernel low-level debugging on BCM2835 PL011 UART"
Eric Anholt5234c342015-02-24 15:07:55 +0000206 depends on ARCH_BCM2835 && ARCH_MULTI_V6
207 select DEBUG_UART_PL01X
208
209 config DEBUG_BCM2836
210 bool "Kernel low-level debugging on BCM2836 PL011 UART"
211 depends on ARCH_BCM2835 && ARCH_MULTI_V7
Russell King5c972af2013-07-07 12:32:16 +0100212 select DEBUG_UART_PL01X
Stephen Warrenf1ac9222013-03-11 22:40:18 -0600213
Hauke Mehrtens06580272014-02-04 00:01:44 +0100214 config DEBUG_BCM_5301X
Florian Fainelli2dc9e0b2016-06-30 17:10:10 -0700215 bool "Kernel low-level debugging on BCM5301X/NSP UART1"
216 depends on ARCH_BCM_5301X || ARCH_BCM_NSP
Hauke Mehrtens140bd602014-09-14 21:43:40 +0200217 select DEBUG_UART_8250
Hauke Mehrtens06580272014-02-04 00:01:44 +0100218
Florian Fainellifa1e5812017-09-28 16:14:59 -0700219 config DEBUG_BCM_HR2
220 bool "Kernel low-level debugging on Hurricane 2 UART2"
221 depends on ARCH_BCM_HR2
222 select DEBUG_UART_8250
223
Clément Peron295898b2018-05-30 15:19:55 +0200224 config DEBUG_BCM_IPROC_UART3
225 bool "Kernel low-level debugging on BCM IPROC UART3"
226 depends on ARCH_BCM_CYGNUS
227 select DEBUG_UART_8250
228 help
229 Say Y here if you want the debug print routines to direct
230 their output to the third serial port on these devices.
231
Christian Daudt753d1242013-12-23 09:00:01 +0100232 config DEBUG_BCM_KONA_UART
233 bool "Kernel low-level debugging messages via BCM KONA UART"
Florian Fainelli7aa20772014-03-06 09:45:55 -0800234 depends on ARCH_BCM_MOBILE
Christian Daudt753d1242013-12-23 09:00:01 +0100235 select DEBUG_UART_8250
236 help
237 Say Y here if you want kernel low-level debugging support
238 on Broadcom SoC platforms.
239 This low level debug works for Broadcom
240 mobile SoCs in the Kona family of chips (e.g. bcm28155,
241 bcm11351, etc...)
242
Arnd Bergmann6c548092016-01-18 10:45:00 +0100243 config DEBUG_BCM63XX_UART
Florian Fainellib51312b2014-01-08 09:19:50 -0800244 bool "Kernel low-level debugging on BCM63XX UART"
245 depends on ARCH_BCM_63XX
Florian Fainellib51312b2014-01-08 09:19:50 -0800246
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +0200247 config DEBUG_BERLIN_UART
248 bool "Marvell Berlin SoC Debug UART"
249 depends on ARCH_BERLIN
250 select DEBUG_UART_8250
251 help
252 Say Y here if you want kernel low-level debugging support
253 on Marvell Berlin SoC based platforms.
254
Marc Carino81b43a62014-08-13 15:50:02 -0700255 config DEBUG_BRCMSTB_UART
256 bool "Use BRCMSTB UART for low-level debug"
257 depends on ARCH_BRCMSTB
Marc Carino81b43a62014-08-13 15:50:02 -0700258 help
259 Say Y here if you want the debug print routines to direct
Florian Fainellid0cf9d82016-06-28 12:18:51 -0700260 their output to the first serial port on these devices. The
261 UART physical and virtual address is automatically provided
262 based on the chip identification register value.
Marc Carino81b43a62014-08-13 15:50:02 -0700263
264 If you have a Broadcom STB chip and would like early print
265 messages to appear over the UART, select this option.
266
Stephen Boyd164acf92011-09-22 20:28:35 +0100267 config DEBUG_CLPS711X_UART1
268 bool "Kernel low-level debugging messages via UART1"
269 depends on ARCH_CLPS711X
270 help
271 Say Y here if you want the debug print routines to direct
272 their output to the first serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100273
274 config DEBUG_CLPS711X_UART2
275 bool "Kernel low-level debugging messages via UART2"
276 depends on ARCH_CLPS711X
277 help
278 Say Y here if you want the debug print routines to direct
279 their output to the second serial port on these devices.
Will Deacon17916b22011-09-01 18:58:51 +0100280
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100281 config DEBUG_CNS3XXX
282 bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
283 depends on ARCH_CNS3XXX
Krzysztof Hałasab1251702014-09-16 12:35:10 +0200284 select DEBUG_UART_8250
Arnd Bergmann29c9b7b2013-03-14 16:02:59 +0100285 help
286 Say Y here if you want the debug print routines to direct
287 their output to the CNS3xxx UART0.
288
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100289 config DEBUG_DAVINCI_DA8XX_UART1
290 bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
291 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100292 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100293 help
294 Say Y here if you want the debug print routines to direct
295 their output to UART1 serial port on DaVinci DA8XX devices.
296
297 config DEBUG_DAVINCI_DA8XX_UART2
298 bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
299 depends on ARCH_DAVINCI_DA8XX
Russell King97bd1a42013-07-07 16:18:34 +0100300 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100301 help
302 Say Y here if you want the debug print routines to direct
303 their output to UART2 serial port on DaVinci DA8XX devices.
304
305 config DEBUG_DAVINCI_DMx_UART0
306 bool "Kernel low-level debugging on DaVinci DMx using UART0"
307 depends on ARCH_DAVINCI_DMx
Russell King97bd1a42013-07-07 16:18:34 +0100308 select DEBUG_UART_8250
Uwe Kleine-König477099f2012-03-22 10:29:23 +0100309 help
310 Say Y here if you want the debug print routines to direct
311 their output to UART0 serial port on DaVinci DMx devices.
312
Russell Kinge76f4752011-11-23 17:44:05 +0000313 config DEBUG_DC21285_PORT
314 bool "Kernel low-level debugging messages via footbridge serial port"
315 depends on FOOTBRIDGE
316 help
317 Say Y here if you want the debug print routines to direct
318 their output to the serial port in the DC21285 (Footbridge).
319
Baruch Siache23814d2015-01-14 10:40:31 +0200320 config DEBUG_DIGICOLOR_UA0
321 bool "Kernel low-level debugging messages via Digicolor UA0"
322 depends on ARCH_DIGICOLOR
323 help
324 Say Y here if you want the debug print routines to direct
325 their output to the UA0 serial port in the CX92755.
326
Arnd Bergmannf06455f2015-12-03 16:19:22 +0100327 config DEBUG_EP93XX
328 bool "Kernel low-level debugging messages via ep93xx UART"
329 depends on ARCH_EP93XX
330 select DEBUG_UART_PL01X
331 help
332 Say Y here if you want kernel low-level debugging support
333 on Cirrus Logic EP93xx based platforms.
334
Russell Kinge76f4752011-11-23 17:44:05 +0000335 config DEBUG_FOOTBRIDGE_COM1
336 bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
337 depends on FOOTBRIDGE
Arnd Bergmann0045c0d2015-12-03 18:27:53 +0100338 select DEBUG_UART_8250
Russell Kinge76f4752011-11-23 17:44:05 +0000339 help
340 Say Y here if you want the debug print routines to direct
341 their output to the 8250 at PCI COM1.
342
Arnd Bergmannd7175a32015-12-03 17:54:05 +0100343 config DEBUG_GEMINI
344 bool "Kernel low-level debugging messages via Cortina Systems Gemini UART"
345 depends on ARCH_GEMINI
346 select DEBUG_UART_8250
347 help
348 Say Y here if you want kernel low-level debugging support
349 on Cortina Gemini based platforms.
350
Haojian Zhuang8d258be2013-08-24 06:58:39 +0100351 config DEBUG_HI3620_UART
352 bool "Hisilicon HI3620 Debug UART"
353 depends on ARCH_HI3xxx
354 select DEBUG_UART_PL01X
355 help
356 Say Y here if you want kernel low-level debugging support
357 on HI3620 UART.
358
Rob Herring220e6cf2011-06-07 10:02:55 -0500359 config DEBUG_HIGHBANK_UART
360 bool "Kernel low-level debugging messages via Highbank UART"
361 depends on ARCH_HIGHBANK
Russell King5c972af2013-07-07 12:32:16 +0100362 select DEBUG_UART_PL01X
Rob Herring220e6cf2011-06-07 10:02:55 -0500363 help
364 Say Y here if you want the debug print routines to direct
365 their output to the UART on Highbank based devices.
366
Wang Long27dafaa2014-12-24 03:09:56 +0000367 config DEBUG_HIP01_UART
368 bool "Hisilicon Hip01 Debug UART"
369 depends on ARCH_HIP01
370 select DEBUG_UART_8250
371 help
372 Say Y here if you want kernel low-level debugging support
373 on HIP01 UART.
374
Haojian Zhuangc9a1df42013-12-20 15:01:41 +0800375 config DEBUG_HIP04_UART
376 bool "Hisilicon HiP04 Debug UART"
377 depends on ARCH_HIP04
378 select DEBUG_UART_8250
379 help
380 Say Y here if you want kernel low-level debugging support
381 on HIP04 UART.
382
Olof Johansson37bdaf82014-09-23 22:21:54 -0700383 config DEBUG_HIX5HD2_UART
384 bool "Hisilicon Hix5hd2 Debug UART"
385 depends on ARCH_HIX5HD2
Catalin Marinas93fd03a82009-12-09 10:02:18 +0000386 select DEBUG_UART_PL01X
387 help
Olof Johansson37bdaf82014-09-23 22:21:54 -0700388 Say Y here if you want kernel low-level debugging support
389 on Hix5hd2 UART.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390
Shawn Guof350b862011-08-19 05:56:59 +0100391 config DEBUG_IMX1_UART
392 bool "i.MX1 Debug UART"
393 depends on SOC_IMX1
394 help
395 Say Y here if you want kernel low-level debugging support
396 on i.MX1.
397
398 config DEBUG_IMX23_UART
399 bool "i.MX23 Debug UART"
400 depends on SOC_IMX23
Russell King5c972af2013-07-07 12:32:16 +0100401 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100402 help
403 Say Y here if you want kernel low-level debugging support
404 on i.MX23.
405
406 config DEBUG_IMX25_UART
407 bool "i.MX25 Debug UART"
408 depends on SOC_IMX25
409 help
410 Say Y here if you want kernel low-level debugging support
411 on i.MX25.
412
Lukas Bulwahnb0100bc2021-10-28 16:19:33 +0200413 config DEBUG_IMX27_UART
414 bool "i.MX27 Debug UART"
415 depends on SOC_IMX27
Shawn Guof350b862011-08-19 05:56:59 +0100416 help
417 Say Y here if you want kernel low-level debugging support
Lukas Bulwahnb0100bc2021-10-28 16:19:33 +0200418 on i.MX27.
Shawn Guof350b862011-08-19 05:56:59 +0100419
420 config DEBUG_IMX28_UART
421 bool "i.MX28 Debug UART"
422 depends on SOC_IMX28
Russell King5c972af2013-07-07 12:32:16 +0100423 select DEBUG_UART_PL01X
Shawn Guof350b862011-08-19 05:56:59 +0100424 help
425 Say Y here if you want kernel low-level debugging support
426 on i.MX28.
427
Shawn Guo4ad625d2012-12-12 18:54:01 +0800428 config DEBUG_IMX31_UART
429 bool "i.MX31 Debug UART"
430 depends on SOC_IMX31
Shawn Guof350b862011-08-19 05:56:59 +0100431 help
432 Say Y here if you want kernel low-level debugging support
Shawn Guo4ad625d2012-12-12 18:54:01 +0800433 on i.MX31.
434
435 config DEBUG_IMX35_UART
436 bool "i.MX35 Debug UART"
437 depends on SOC_IMX35
438 help
439 Say Y here if you want kernel low-level debugging support
440 on i.MX35.
Shawn Guof350b862011-08-19 05:56:59 +0100441
Greg Ungererad364a72013-10-29 15:15:51 +1000442 config DEBUG_IMX50_UART
443 bool "i.MX50 Debug UART"
444 depends on SOC_IMX50
445 help
446 Say Y here if you want kernel low-level debugging support
447 on i.MX50.
448
Shawn Guof350b862011-08-19 05:56:59 +0100449 config DEBUG_IMX51_UART
450 bool "i.MX51 Debug UART"
451 depends on SOC_IMX51
452 help
453 Say Y here if you want kernel low-level debugging support
454 on i.MX51.
455
Fabio Estevam7356420c2013-01-22 10:40:55 -0200456 config DEBUG_IMX53_UART
457 bool "i.MX53 Debug UART"
458 depends on SOC_IMX53
Shawn Guof350b862011-08-19 05:56:59 +0100459 help
460 Say Y here if you want kernel low-level debugging support
Fabio Estevam7356420c2013-01-22 10:40:55 -0200461 on i.MX53.
Shawn Guof350b862011-08-19 05:56:59 +0100462
Shawn Guo49c9e602012-10-08 13:44:29 +0800463 config DEBUG_IMX6Q_UART
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800464 bool "i.MX6Q/DL Debug UART"
Dirk Behme785d7fa2012-04-27 10:15:45 +0200465 depends on SOC_IMX6Q
466 help
467 Say Y here if you want kernel low-level debugging support
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800468 on i.MX6Q/DL.
Shawn Guobac89d72011-10-02 15:09:11 +0800469
Shawn Guo34e8a162013-05-03 11:21:03 +0800470 config DEBUG_IMX6SL_UART
471 bool "i.MX6SL Debug UART"
472 depends on SOC_IMX6SL
473 help
474 Say Y here if you want kernel low-level debugging support
475 on i.MX6SL.
476
Shawn Guo74368e82014-05-11 21:53:48 +0800477 config DEBUG_IMX6SX_UART
478 bool "i.MX6SX Debug UART"
479 depends on SOC_IMX6SX
480 help
481 Say Y here if you want kernel low-level debugging support
482 on i.MX6SX.
483
Anson Huang20c305f2015-07-10 02:09:47 +0800484 config DEBUG_IMX6UL_UART
485 bool "i.MX6UL Debug UART"
486 depends on SOC_IMX6UL
487 help
488 Say Y here if you want kernel low-level debugging support
489 on i.MX6UL.
490
Anson Huang52d7aec2015-05-06 23:16:07 +0800491 config DEBUG_IMX7D_UART
492 bool "i.MX7D Debug UART"
493 depends on SOC_IMX7D
494 help
495 Say Y here if you want kernel low-level debugging support
496 on i.MX7D.
497
Arnd Bergmann4db22c12015-12-03 17:54:05 +0100498 config DEBUG_INTEGRATOR
499 bool "Kernel low-level debugging messages via ARM Integrator UART"
500 depends on ARCH_INTEGRATOR
501 select DEBUG_UART_PL01X
502 help
503 Say Y here if you want kernel low-level debugging support
504 on ARM Integrator platforms.
505
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400506 config DEBUG_KEYSTONE_UART0
507 bool "Kernel low-level debugging on KEYSTONE2 using UART0"
508 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100509 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400510 help
511 Say Y here if you want the debug print routines to direct
512 their output to UART0 serial port on KEYSTONE2 devices.
513
514 config DEBUG_KEYSTONE_UART1
515 bool "Kernel low-level debugging on KEYSTONE2 using UART1"
516 depends on ARCH_KEYSTONE
Russell Kingf2acf002013-07-07 16:05:49 +0100517 select DEBUG_UART_8250
Santosh Shilimkar828989a2013-06-10 11:27:13 -0400518 help
519 Say Y here if you want the debug print routines to direct
520 their output to UART1 serial port on KEYSTONE2 devices.
521
Joachim Eastwood0aed6a32015-05-19 20:55:03 +0200522 config DEBUG_LPC18XX_UART0
523 bool "Kernel low-level debugging via LPC18xx/43xx UART0"
524 depends on ARCH_LPC18XX
525 select DEBUG_UART_8250
526 help
527 Say Y here if you want kernel low-level debugging support
528 on NXP LPC18xx/43xx UART0.
529
Arnd Bergmann59bd4c32015-12-03 17:54:05 +0100530 config DEBUG_LPC32XX
531 bool "Kernel low-level debugging messages via NXP LPC32xx UART"
532 depends on ARCH_LPC32XX
533 select DEBUG_UART_8250
534 help
535 Say Y here if you want kernel low-level debugging support
536 on NXP LPC32xx based platforms.
537
Carlo Caioned8a00912014-09-09 21:38:00 +0200538 config DEBUG_MESON_UARTAO
539 bool "Kernel low-level debugging via Meson6 UARTAO"
540 depends on ARCH_MESON
541 help
542 Say Y here if you want kernel low-lever debugging support
543 on Amlogic Meson6 based platforms on the UARTAO.
544
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800545 config DEBUG_MMP_UART2
546 bool "Kernel low-level debugging message via MMP UART2"
547 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100548 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800549 help
550 Say Y here if you want kernel low-level debugging support
551 on MMP UART2.
552
553 config DEBUG_MMP_UART3
554 bool "Kernel low-level debugging message via MMP UART3"
555 depends on ARCH_MMP
Russell King4a0036472013-07-06 23:13:15 +0100556 select DEBUG_UART_8250
Haojian Zhuangfa4cd2a2012-08-10 23:49:41 +0800557 help
558 Say Y here if you want kernel low-level debugging support
559 on MMP UART3.
560
Maxime Ripardd91125d2015-01-08 18:38:03 +0100561 config DEBUG_MVEBU_UART0
562 bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
Rob Herringbfd5af92012-09-02 14:41:34 -0500563 depends on ARCH_MVEBU
Arnd Bergmannc047f522015-12-03 14:48:23 +0100564 depends on ARCH_MVEBU && CPU_V7
Russell King4a0036472013-07-06 23:13:15 +0100565 select DEBUG_UART_8250
Rob Herringbfd5af92012-09-02 14:41:34 -0500566 help
567 Say Y here if you want kernel low-level debugging support
Maxime Ripardd91125d2015-01-08 18:38:03 +0100568 on MVEBU based platforms on UART0.
Rob Herringbfd5af92012-09-02 14:41:34 -0500569
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200570 This option should be used with the old bootloaders
571 that left the internal registers mapped at
572 0xd0000000. As of today, this is the case on
573 platforms such as the Globalscale Mirabox or the
574 Plathome OpenBlocks AX3, when using the original
575 bootloader.
576
Arnd Bergmannc047f522015-12-03 14:48:23 +0100577 This option will not work on older Marvell platforms
578 (Kirkwood, Dove, MV78xx0, Orion5x), which should pick
579 the "new bootloader" variant.
580
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200581 If the wrong DEBUG_MVEBU_UART* option is selected,
582 when u-boot hands over to the kernel, the system
583 silently crashes, with no serial output at all.
584
Maxime Ripardd91125d2015-01-08 18:38:03 +0100585 config DEBUG_MVEBU_UART0_ALTERNATE
586 bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
Arnd Bergmannc047f522015-12-03 14:48:23 +0100587 depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X
Russell King4a0036472013-07-06 23:13:15 +0100588 select DEBUG_UART_8250
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200589 help
590 Say Y here if you want kernel low-level debugging support
Arnd Bergmannc047f522015-12-03 14:48:23 +0100591 on MVEBU based platforms on UART0. (Armada XP, Armada 3xx,
592 Kirkwood, Dove, MV78xx0, Orion5x).
593
Thomas Petazzonic2804cd2013-06-05 09:05:00 +0200594
595 This option should be used with the new bootloaders
596 that remap the internal registers at 0xf1000000.
597
598 If the wrong DEBUG_MVEBU_UART* option is selected,
599 when u-boot hands over to the kernel, the system
600 silently crashes, with no serial output at all.
601
Maxime Ripardbd920492015-01-08 18:38:04 +0100602 config DEBUG_MVEBU_UART1_ALTERNATE
603 bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
604 depends on ARCH_MVEBU
605 select DEBUG_UART_8250
606 help
607 Say Y here if you want kernel low-level debugging support
Arnd Bergmannc047f522015-12-03 14:48:23 +0100608 on MVEBU based platforms on UART1. (Armada XP, Armada 3xx,
609 Kirkwood, Dove, MV78xx0, Orion5x).
Stephen Boyda3d3ef92011-11-08 10:33:04 -0800610
Linus Torvalds1da177e2005-04-16 15:20:36 -0700611 This option should be used with the new bootloaders
612 that remap the internal registers at 0xf1000000.
Arnd Bergmannc047f522015-12-03 14:48:23 +0100613 All of the older (pre Armada XP/370) platforms also use
614 this address, regardless of the boot loader version.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700615
616 If the wrong DEBUG_MVEBU_UART* option is selected,
617 when u-boot hands over to the kernel, the system
618 silently crashes, with no serial output at all.
619
Romain Perier624b9d82021-05-04 19:03:16 +0200620 config DEBUG_MSTARV7_PMUART
621 bool "Kernel low-level debugging messages via MSTARV7 PM UART"
622 depends on ARCH_MSTARV7
623 select DEBUG_UART_8250
624 help
625 Say Y here if you want kernel low-level debugging support
626 for MSTAR ARMv7-based platforms on PM UART.
627
Arnd Bergmann1dc93412015-12-03 18:16:45 +0100628 config DEBUG_MT6589_UART0
629 bool "Mediatek mt6589 UART0"
630 depends on ARCH_MEDIATEK
631 select DEBUG_UART_8250
Shawn Guoc7c3eac2013-05-12 17:22:17 +0800632 help
633 Say Y here if you want kernel low-level debugging support
Arnd Bergmann1dc93412015-12-03 18:16:45 +0100634 for Mediatek mt6589 based platforms on UART0.
635
636 config DEBUG_MT8127_UART0
637 bool "Mediatek mt8127/mt6592 UART0"
638 depends on ARCH_MEDIATEK
639 select DEBUG_UART_8250
640 help
641 Say Y here if you want kernel low-level debugging support
642 for Mediatek mt8127 based platforms on UART0.
643
644 config DEBUG_MT8135_UART3
645 bool "Mediatek mt8135 UART3"
646 depends on ARCH_MEDIATEK
647 select DEBUG_UART_8250
648 help
649 Say Y here if you want kernel low-level debugging support
650 for Mediatek mt8135 based platforms on UART3.
Shawn Guoc7c3eac2013-05-12 17:22:17 +0800651
Linus Walleij266c3472013-02-27 22:39:57 +0100652 config DEBUG_NOMADIK_UART
653 bool "Kernel low-level debugging messages via NOMADIK UART"
654 depends on ARCH_NOMADIK
Russell King5c972af2013-07-07 12:32:16 +0100655 select DEBUG_UART_PL01X
Linus Walleij266c3472013-02-27 22:39:57 +0100656 help
657 Say Y here if you want kernel low-level debugging support
658 on NOMADIK based platforms.
659
Daniel Tang9851ca52013-06-11 18:40:17 +1000660 config DEBUG_NSPIRE_CLASSIC_UART
661 bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
662 depends on ARCH_NSPIRE
Russell King4a0036472013-07-06 23:13:15 +0100663 select DEBUG_UART_8250
Daniel Tang9851ca52013-06-11 18:40:17 +1000664 help
665 Say Y here if you want kernel low-level debugging support
666 on TI-NSPIRE classic models.
667
668 config DEBUG_NSPIRE_CX_UART
669 bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
670 depends on ARCH_NSPIRE
Russell King5c972af2013-07-07 12:32:16 +0100671 select DEBUG_UART_PL01X
Daniel Tang9851ca52013-06-11 18:40:17 +1000672 help
673 Say Y here if you want kernel low-level debugging support
674 on TI-NSPIRE CX models.
675
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100676 config DEBUG_OMAP1UART1
677 bool "Kernel low-level debugging via OMAP1 UART1"
678 depends on ARCH_OMAP1
679 select DEBUG_UART_8250
680 help
681 Say Y here if you want kernel low-level debugging support
682 on OMAP1 based platforms (except OMAP730) on the UART1.
683
684 config DEBUG_OMAP1UART2
685 bool "Kernel low-level debugging via OMAP1 UART2"
686 depends on ARCH_OMAP1
687 select DEBUG_UART_8250
688 help
689 Say Y here if you want kernel low-level debugging support
690 on OMAP1 based platforms (except OMAP730) on the UART2.
691
692 config DEBUG_OMAP1UART3
693 bool "Kernel low-level debugging via OMAP1 UART3"
694 depends on ARCH_OMAP1
695 select DEBUG_UART_8250
696 help
697 Say Y here if you want kernel low-level debugging support
698 on OMAP1 based platforms (except OMAP730) on the UART3.
699
Russell Kingcce278d2013-07-06 14:23:30 +0100700 config DEBUG_OMAP2UART1
701 bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
Tony Lindgren808b7e02013-01-11 11:24:19 -0800702 depends on ARCH_OMAP2PLUS
Tony Lindgrend2b310b2017-07-16 22:10:13 -0700703 select DEBUG_UART_8250
Tony Lindgren808b7e02013-01-11 11:24:19 -0800704 help
Russell Kingcce278d2013-07-06 14:23:30 +0100705 This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
706 omap3 torpedo and 3530 lv som.
707
708 config DEBUG_OMAP2UART2
709 bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
710 depends on ARCH_OMAP2PLUS
Tony Lindgrend2b310b2017-07-16 22:10:13 -0700711 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100712
713 config DEBUG_OMAP2UART3
714 bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
715 depends on ARCH_OMAP2PLUS
Tony Lindgrend2b310b2017-07-16 22:10:13 -0700716 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100717
718 config DEBUG_OMAP3UART3
719 bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
720 depends on ARCH_OMAP2PLUS
Tony Lindgrenfc23beb2017-06-14 00:31:13 -0700721 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100722 help
723 This covers at least cm_t3x, beagle, crane, devkit8000,
724 igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
725 and 3517evm.
726
727 config DEBUG_OMAP4UART3
728 bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
729 depends on ARCH_OMAP2PLUS
Tony Lindgrenfc23beb2017-06-14 00:31:13 -0700730 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100731
732 config DEBUG_OMAP3UART4
733 bool "Kernel low-level debugging messages via OMAP36XX UART4"
734 depends on ARCH_OMAP2PLUS
Tony Lindgrenfc23beb2017-06-14 00:31:13 -0700735 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100736
737 config DEBUG_OMAP4UART4
738 bool "Kernel low-level debugging messages via OMAP4/5 UART4"
739 depends on ARCH_OMAP2PLUS
Tony Lindgrenfc23beb2017-06-14 00:31:13 -0700740 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100741
Daniel Thompsonc26b9992015-01-09 18:33:50 +0100742 config DEBUG_OMAP7XXUART1
743 bool "Kernel low-level debugging via OMAP730 UART1"
744 depends on ARCH_OMAP730
745 select DEBUG_UART_8250
746 help
747 Say Y here if you want kernel low-level debugging support
748 on OMAP730 based platforms on the UART1.
749
750 config DEBUG_OMAP7XXUART2
751 bool "Kernel low-level debugging via OMAP730 UART2"
752 depends on ARCH_OMAP730
753 select DEBUG_UART_8250
754 help
755 Say Y here if you want kernel low-level debugging support
756 on OMAP730 based platforms on the UART2.
757
758 config DEBUG_OMAP7XXUART3
759 bool "Kernel low-level debugging via OMAP730 UART3"
760 depends on ARCH_OMAP730
761 select DEBUG_UART_8250
762 help
763 Say Y here if you want kernel low-level debugging support
764 on OMAP730 based platforms on the UART3.
765
Russell Kingcce278d2013-07-06 14:23:30 +0100766 config DEBUG_TI81XXUART1
767 bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
768 depends on ARCH_OMAP2PLUS
Tony Lindgren2d1f7d22017-07-16 22:10:14 -0700769 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100770
771 config DEBUG_TI81XXUART2
772 bool "Kernel low-level debugging messages via TI81XX UART2"
773 depends on ARCH_OMAP2PLUS
Tony Lindgren2d1f7d22017-07-16 22:10:14 -0700774 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100775
776 config DEBUG_TI81XXUART3
777 bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
778 depends on ARCH_OMAP2PLUS
Tony Lindgren2d1f7d22017-07-16 22:10:14 -0700779 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100780
781 config DEBUG_AM33XXUART1
782 bool "Kernel low-level debugging messages via AM33XX UART1"
783 depends on ARCH_OMAP2PLUS
Tony Lindgren51ef7002017-07-16 22:10:14 -0700784 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100785
786 config DEBUG_ZOOM_UART
787 bool "Kernel low-level debugging messages via Zoom2/3 UART"
788 depends on ARCH_OMAP2PLUS
789 select DEBUG_OMAP2PLUS_UART
Tony Lindgren808b7e02013-01-11 11:24:19 -0800790
Haojian Zhuang0a43cd32013-04-10 11:17:04 +0800791 config DEBUG_PXA_UART1
792 depends on ARCH_PXA
793 bool "Use PXA UART1 for low-level debug"
Russell King4a0036472013-07-06 23:13:15 +0100794 select DEBUG_UART_8250
Haojian Zhuang0a43cd32013-04-10 11:17:04 +0800795 help
796 Say Y here if you want kernel low-level debugging support
797 on PXA UART1.
798
Arnd Bergmann1dc93412015-12-03 18:16:45 +0100799 config DEBUG_QCOM_UARTDM
800 bool "Kernel low-level debugging messages via QCOM UARTDM"
801 depends on ARCH_QCOM
802 help
803 Say Y here if you want the debug print routines to direct
804 their output to the serial port on Qualcomm devices.
805
806 ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT
807 APQ8064 0x16640000 0xf0040000
808 APQ8084 0xf995e000 0xfa75e000
Christian Lamparter7b87fe92017-03-28 01:11:40 +0200809 IPQ4019 0x078af000 0xf78af000
Arnd Bergmann1dc93412015-12-03 18:16:45 +0100810 MSM8X60 0x19c40000 0xf0040000
811 MSM8960 0x16440000 0xf0040000
812 MSM8974 0xf991e000 0xfa71e000
813
814 Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
815 options based on your needs.
816
Russell Kinge76f4752011-11-23 17:44:05 +0000817 config DEBUG_REALVIEW_STD_PORT
818 bool "RealView Default UART"
819 depends on ARCH_REALVIEW
Russell King5c972af2013-07-07 12:32:16 +0100820 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000821 help
822 Say Y here if you want the debug print routines to direct
823 their output to the serial port on RealView EB, PB11MP, PBA8
824 and PBX platforms.
825
826 config DEBUG_REALVIEW_PB1176_PORT
827 bool "RealView PB1176 UART"
828 depends on MACH_REALVIEW_PB1176
Russell King5c972af2013-07-07 12:32:16 +0100829 select DEBUG_UART_PL01X
Russell Kinge76f4752011-11-23 17:44:05 +0000830 help
831 Say Y here if you want the debug print routines to direct
832 their output to the standard serial port on the RealView
833 PB1176 platform.
834
Andy Yana3b882f2016-11-14 20:12:35 +0800835 config DEBUG_RV1108_UART0
836 bool "Kernel low-level debugging messages via Rockchip RV1108 UART0"
837 depends on ARCH_ROCKCHIP
838 select DEBUG_UART_8250
839 help
840 Say Y here if you want kernel low-level debugging support
841 on Rockchip RV1108 based platforms.
842
843 config DEBUG_RV1108_UART1
844 bool "Kernel low-level debugging messages via Rockchip RV1108 UART1"
845 depends on ARCH_ROCKCHIP
846 select DEBUG_UART_8250
847 help
848 Say Y here if you want kernel low-level debugging support
849 on Rockchip RV1108 based platforms.
850
851 config DEBUG_RV1108_UART2
852 bool "Kernel low-level debugging messages via Rockchip RV1108 UART2"
853 depends on ARCH_ROCKCHIP
854 select DEBUG_UART_8250
855 help
856 Say Y here if you want kernel low-level debugging support
857 on Rockchip RV1108 based platforms.
858
Russell Kingcce278d2013-07-06 14:23:30 +0100859 config DEBUG_RK29_UART0
860 bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200861 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100862 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100863 help
864 Say Y here if you want kernel low-level debugging support
865 on Rockchip based platforms.
866
867 config DEBUG_RK29_UART1
868 bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
869 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100870 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100871 help
872 Say Y here if you want kernel low-level debugging support
873 on Rockchip based platforms.
874
875 config DEBUG_RK29_UART2
876 bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
877 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100878 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100879 help
880 Say Y here if you want kernel low-level debugging support
881 on Rockchip based platforms.
882
883 config DEBUG_RK3X_UART0
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200884 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
Russell Kingcce278d2013-07-06 14:23:30 +0100885 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100886 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100887 help
888 Say Y here if you want kernel low-level debugging support
889 on Rockchip based platforms.
890
891 config DEBUG_RK3X_UART1
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200892 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
Russell Kingcce278d2013-07-06 14:23:30 +0100893 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100894 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100895 help
896 Say Y here if you want kernel low-level debugging support
897 on Rockchip based platforms.
898
899 config DEBUG_RK3X_UART2
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200900 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
Russell Kingcce278d2013-07-06 14:23:30 +0100901 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100902 select DEBUG_UART_8250
Russell Kingcce278d2013-07-06 14:23:30 +0100903 help
904 Say Y here if you want kernel low-level debugging support
905 on Rockchip based platforms.
906
907 config DEBUG_RK3X_UART3
Heiko Stuebneraa9c4f72014-07-16 17:08:14 +0200908 bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
Russell Kingcce278d2013-07-06 14:23:30 +0100909 depends on ARCH_ROCKCHIP
Russell King4a0036472013-07-06 23:13:15 +0100910 select DEBUG_UART_8250
Heiko Stuebner38bd6892013-05-28 22:13:52 +0200911 help
912 Say Y here if you want kernel low-level debugging support
913 on Rockchip based platforms.
914
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +0200915 config DEBUG_RK32_UART2
916 bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
917 depends on ARCH_ROCKCHIP
918 select DEBUG_UART_8250
919 help
920 Say Y here if you want kernel low-level debugging support
921 on Rockchip RK32xx based platforms.
922
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100923 config DEBUG_R7S72100_SCIF2
924 bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
925 depends on ARCH_R7S72100
926 help
927 Say Y here if you want kernel low-level debugging support
928 via SCIF2 on Renesas RZ/A1H (R7S72100).
929
Geert Uytterhoevene9670cc2019-06-03 09:37:19 +0200930 config DEBUG_R7S9210_SCIF2
931 bool "Kernel low-level debugging messages via SCIF2 on R7S9210"
932 depends on ARCH_R7S9210
933 help
934 Say Y here if you want kernel low-level debugging support
935 via SCIF2 on Renesas RZ/A2M (R7S9210).
936
937 config DEBUG_R7S9210_SCIF4
938 bool "Kernel low-level debugging messages via SCIF4 on R7S9210"
939 depends on ARCH_R7S9210
940 help
941 Say Y here if you want kernel low-level debugging support
942 via SCIF4 on Renesas RZ/A2M (R7S9210).
943
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100944 config DEBUG_RCAR_GEN1_SCIF0
945 bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
946 depends on ARCH_R8A7778
947 help
948 Say Y here if you want kernel low-level debugging support
949 via SCIF0 on Renesas R-Car M1A (R8A7778).
950
951 config DEBUG_RCAR_GEN1_SCIF2
952 bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
953 depends on ARCH_R8A7779
954 help
955 Say Y here if you want kernel low-level debugging support
956 via SCIF2 on Renesas R-Car H1 (R8A7779).
957
958 config DEBUG_RCAR_GEN2_SCIF0
Chris Patersonfcfbb6f2017-06-08 11:08:14 +0100959 bool "Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1"
Biju Dasabf3bf52018-09-17 16:06:30 +0100960 depends on ARCH_R8A7743 || ARCH_R8A7744 || ARCH_R8A7790 || \
961 ARCH_R8A7791 || ARCH_R8A7792 || ARCH_R8A7793
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100962 help
963 Say Y here if you want kernel low-level debugging support
Biju Dasabf3bf52018-09-17 16:06:30 +0100964 via SCIF0 on Renesas RZ/G1M (R8A7743), RZ/G1N (R8A7744),
965 R-Car H2 (R8A7790), M2-W (R8A7791), V2H (R8A7792), or
966 M2-N (R8A7793).
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100967
Biju Das2f095c22018-03-29 11:42:26 +0100968 config DEBUG_RCAR_GEN2_SCIF1
969 bool "Kernel low-level debugging messages via SCIF1 on R8A77470"
970 depends on ARCH_R8A77470
971 help
972 Say Y here if you want kernel low-level debugging support
973 via SCIF1 on Renesas RZ/G1C (R8A77470).
974
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100975 config DEBUG_RCAR_GEN2_SCIF2
976 bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
977 depends on ARCH_R8A7794
978 help
979 Say Y here if you want kernel low-level debugging support
980 via SCIF2 on Renesas R-Car E2 (R8A7794).
981
Fabrizio Castro8e5f2d62017-08-16 11:20:10 +0100982 config DEBUG_RCAR_GEN2_SCIF4
983 bool "Kernel low-level debugging messages via SCIF4 on R8A7745"
984 depends on ARCH_R8A7745
985 help
986 Say Y here if you want kernel low-level debugging support
987 via SCIF4 on Renesas RZ/G1E (R8A7745).
988
Lad Prabhakar96866b12020-04-29 22:56:41 +0100989 config DEBUG_RCAR_GEN2_SCIFA2
990 bool "Kernel low-level debugging messages via SCIFA2 on R8A7742"
991 depends on ARCH_R8A7742
992 help
993 Say Y here if you want kernel low-level debugging support
994 via SCIFA2 on Renesas RZ/G1H (R8A7742).
995
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100996 config DEBUG_RMOBILE_SCIFA0
Magnus Damm59b89af2015-01-26 15:19:20 +0900997 bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
998 depends on ARCH_R8A73A4
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +0100999 help
1000 Say Y here if you want kernel low-level debugging support
Magnus Damm59b89af2015-01-26 15:19:20 +09001001 via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001002
1003 config DEBUG_RMOBILE_SCIFA1
1004 bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
1005 depends on ARCH_R8A7740
1006 help
1007 Say Y here if you want kernel low-level debugging support
1008 via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
1009
1010 config DEBUG_RMOBILE_SCIFA4
1011 bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
1012 depends on ARCH_SH73A0
1013 help
1014 Say Y here if you want kernel low-level debugging support
1015 via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
1016
Russell Kinge76f4752011-11-23 17:44:05 +00001017 config DEBUG_S3C_UART0
Arnd Bergmanndb8230d2020-08-06 20:20:35 +02001018 depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001019 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +09001020 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001021 select DEBUG_S3C64XX_UART if ARCH_S3C64XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001022 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +09001023 bool "Use Samsung S3C UART 0 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +00001024 help
1025 Say Y here if you want the debug print routines to direct
1026 their output to UART 0. The port must have been initialised
1027 by the boot-loader before use.
1028
Russell Kinge76f4752011-11-23 17:44:05 +00001029 config DEBUG_S3C_UART1
Arnd Bergmanndb8230d2020-08-06 20:20:35 +02001030 depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001031 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +09001032 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001033 select DEBUG_S3C64XX_UART if ARCH_S3C64XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001034 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +09001035 bool "Use Samsung S3C UART 1 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +00001036 help
1037 Say Y here if you want the debug print routines to direct
1038 their output to UART 1. The port must have been initialised
1039 by the boot-loader before use.
1040
Russell Kinge76f4752011-11-23 17:44:05 +00001041 config DEBUG_S3C_UART2
Arnd Bergmanndb8230d2020-08-06 20:20:35 +02001042 depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001043 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Heiko Stuebner1899de22014-05-16 06:59:18 +09001044 select DEBUG_S3C24XX_UART if ARCH_S3C24XX
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001045 select DEBUG_S3C64XX_UART if ARCH_S3C64XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001046 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +09001047 bool "Use Samsung S3C UART 2 for low-level debug"
Russell Kinge76f4752011-11-23 17:44:05 +00001048 help
1049 Say Y here if you want the debug print routines to direct
1050 their output to UART 2. The port must have been initialised
1051 by the boot-loader before use.
1052
Olof Johansson5fa23dd2012-11-22 14:24:04 +09001053 config DEBUG_S3C_UART3
Arnd Bergmanncb6c0302020-08-06 20:20:32 +02001054 depends on ARCH_EXYNOS || ARCH_S5PV210
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001055 select DEBUG_EXYNOS_UART if ARCH_EXYNOS
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001056 select DEBUG_S3C64XX_UART if ARCH_S3C64XX
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001057 select DEBUG_S5PV210_UART if ARCH_S5PV210
Sachin Kamat5cc8a012014-07-05 06:27:45 +09001058 bool "Use Samsung S3C UART 3 for low-level debug"
Olof Johansson5fa23dd2012-11-22 14:24:04 +09001059 help
1060 Say Y here if you want the debug print routines to direct
1061 their output to UART 3. The port must have been initialised
1062 by the boot-loader before use.
1063
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001064 config DEBUG_S3C2410_UART0
1065 depends on ARCH_S3C24XX
1066 select DEBUG_S3C2410_UART
1067 bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
1068 help
1069 Say Y here if you want the debug print routines to direct
1070 their output to UART 0. The port must have been initialised
1071 by the boot-loader before use.
1072
1073 config DEBUG_S3C2410_UART1
1074 depends on ARCH_S3C24XX
1075 select DEBUG_S3C2410_UART
1076 bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
1077 help
1078 Say Y here if you want the debug print routines to direct
1079 their output to UART 1. The port must have been initialised
1080 by the boot-loader before use.
1081
1082 config DEBUG_S3C2410_UART2
1083 depends on ARCH_S3C24XX
1084 select DEBUG_S3C2410_UART
1085 bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
1086 help
1087 Say Y here if you want the debug print routines to direct
1088 their output to UART 2. The port must have been initialised
1089 by the boot-loader before use.
1090
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +03001091 config DEBUG_SA1100
1092 depends on ARCH_SA1100
1093 bool "Use SA1100 UARTs for low-level debug"
1094 help
1095 Say Y here if you want kernel low-level debugging support
1096 on SA-11x0 UART ports. The kernel will check for the first
1097 enabled UART in a sequence 3-1-2.
1098
Kefeng Wangc5fdb662020-09-29 22:14:44 +08001099 config DEBUG_SD5203_UART
1100 bool "Hisilicon SD5203 Debug UART"
1101 depends on ARCH_SD5203
1102 select DEBUG_UART_8250
1103 help
1104 Say Y here if you want kernel low-level debugging support
1105 on SD5203 UART.
1106
Dinh Nguyende73c162015-03-09 15:48:31 -05001107 config DEBUG_SOCFPGA_UART0
Krzysztof Kozlowski910499e2021-03-11 16:25:32 +01001108 depends on ARCH_INTEL_SOCFPGA
Dinh Nguyende73c162015-03-09 15:48:31 -05001109 bool "Use SOCFPGA UART0 for low-level debug"
Russell King0b4cccb2013-07-07 11:42:46 +01001110 select DEBUG_UART_8250
Rob Herring6111bf72012-09-06 14:11:28 -05001111 help
1112 Say Y here if you want kernel low-level debugging support
Dinh Nguyende73c162015-03-09 15:48:31 -05001113 on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
1114
Clément Péronf6628482018-10-09 13:28:37 +02001115 config DEBUG_SOCFPGA_ARRIA10_UART1
Krzysztof Kozlowski910499e2021-03-11 16:25:32 +01001116 depends on ARCH_INTEL_SOCFPGA
Clément Péronf6628482018-10-09 13:28:37 +02001117 bool "Use SOCFPGA Arria10 UART1 for low-level debug"
Dinh Nguyende73c162015-03-09 15:48:31 -05001118 select DEBUG_UART_8250
1119 help
1120 Say Y here if you want kernel low-level debugging support
1121 on SOCFPGA(Arria 10) based platforms.
1122
Clément Péronf6628482018-10-09 13:28:37 +02001123 config DEBUG_SOCFPGA_CYCLONE5_UART1
Krzysztof Kozlowski910499e2021-03-11 16:25:32 +01001124 depends on ARCH_INTEL_SOCFPGA
Clément Péronf6628482018-10-09 13:28:37 +02001125 bool "Use SOCFPGA Cyclone 5 UART1 for low-level debug"
1126 select DEBUG_UART_8250
1127 help
1128 Say Y here if you want kernel low-level debugging support
1129 on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
Rob Herring6111bf72012-09-06 14:11:28 -05001130
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001131 config DEBUG_SUN9I_UART0
1132 bool "Kernel low-level debugging messages via sun9i UART0"
1133 depends on MACH_SUN9I
1134 select DEBUG_UART_8250
1135 help
1136 Say Y here if you want kernel low-level debugging support
1137 on Allwinner A80 based platforms on the UART0.
1138
Stefan Roeseaa251152012-11-19 12:09:41 +01001139 config DEBUG_SUNXI_UART0
1140 bool "Kernel low-level debugging messages via sunXi UART0"
1141 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +01001142 select DEBUG_UART_8250
Stefan Roeseaa251152012-11-19 12:09:41 +01001143 help
1144 Say Y here if you want kernel low-level debugging support
1145 on Allwinner A1X based platforms on the UART0.
1146
Maxime Ripardcb84fa12012-11-08 12:40:49 +01001147 config DEBUG_SUNXI_UART1
1148 bool "Kernel low-level debugging messages via sunXi UART1"
1149 depends on ARCH_SUNXI
Russell King4a0036472013-07-06 23:13:15 +01001150 select DEBUG_UART_8250
Maxime Ripardcb84fa12012-11-08 12:40:49 +01001151 help
1152 Say Y here if you want kernel low-level debugging support
1153 on Allwinner A1X based platforms on the UART1.
1154
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001155 config DEBUG_SUNXI_R_UART
1156 bool "Kernel low-level debugging messages via sunXi R_UART"
1157 depends on MACH_SUN6I || MACH_SUN8I
1158 select DEBUG_UART_8250
1159 help
1160 Say Y here if you want kernel low-level debugging support
1161 on Allwinner A31/A23 based platforms on the R_UART.
1162
Arnd Bergmann375d84c2015-12-03 17:54:05 +01001163 config DEBUG_SPEAR3XX
1164 bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART"
1165 depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX
1166 select DEBUG_UART_PL01X
1167 help
1168 Say Y here if you want kernel low-level debugging support
1169 on ST SPEAr based platforms.
1170
1171 config DEBUG_SPEAR13XX
1172 bool "Kernel low-level debugging messages via ST SPEAr 13xx UART"
1173 depends on ARCH_SPEAR13XX
1174 select DEBUG_UART_PL01X
1175 help
1176 Say Y here if you want kernel low-level debugging support
1177 on ST SPEAr13xx based platforms.
1178
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001179 config DEBUG_STIH41X_ASC2
Russell Kingcce278d2013-07-06 14:23:30 +01001180 bool "Use StiH415/416 ASC2 UART for low-level debug"
Arnd Bergmann5562b802013-07-05 16:08:44 +02001181 depends on ARCH_STI
Arnd Bergmann5562b802013-07-05 16:08:44 +02001182 help
1183 Say Y here if you want kernel low-level debugging support
Russell Kingcce278d2013-07-06 14:23:30 +01001184 on STiH415/416 based platforms like b2000, which has
1185 default UART wired up to ASC2.
1186
1187 If unsure, say N.
1188
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001189 config DEBUG_STIH41X_SBC_ASC1
Russell Kingcce278d2013-07-06 14:23:30 +01001190 bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
1191 depends on ARCH_STI
Russell Kingcce278d2013-07-06 14:23:30 +01001192 help
1193 Say Y here if you want kernel low-level debugging support
1194 on STiH415/416 based platforms like b2020. which has
1195 default UART wired up to SBC ASC1.
Arnd Bergmann5562b802013-07-05 16:08:44 +02001196
1197 If unsure, say N.
1198
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001199 config DEBUG_STIH418_SBC_ASC0
1200 bool "Use StiH418 SBC ASC0 UART for low-level debug"
1201 depends on ARCH_STI
1202 help
1203 Say Y here if you want kernel low-level debugging support
1204 on STiH418 based platforms which has default UART wired
1205 up to SBC ASC0.
1206
1207 If unsure, say N.
1208
Gerald Baezad88bb412017-07-27 16:50:20 +00001209 config STM32F4_DEBUG_UART
1210 bool "Use STM32F4 UART for low-level debug"
Erwan Le Ray79d5cfd2020-02-03 15:04:22 +01001211 depends on MACH_STM32F429 || MACH_STM32F469
Gerald Baezad88bb412017-07-27 16:50:20 +00001212 select DEBUG_STM32_UART
1213 help
1214 Say Y here if you want kernel low-level debugging support
1215 on STM32F4 based platforms, which default UART is wired on
Erwan Le Ray79d5cfd2020-02-03 15:04:22 +01001216 USART1, but another UART instance can be selected by modifying
1217 CONFIG_DEBUG_UART_PHYS.
Gerald Baezad88bb412017-07-27 16:50:20 +00001218
1219 If unsure, say N.
1220
1221 config STM32F7_DEBUG_UART
1222 bool "Use STM32F7 UART for low-level debug"
Erwan Le Ray13f71fa2020-02-03 15:04:23 +01001223 depends on MACH_STM32F746 || MACH_STM32F769
Gerald Baezad88bb412017-07-27 16:50:20 +00001224 select DEBUG_STM32_UART
1225 help
1226 Say Y here if you want kernel low-level debugging support
1227 on STM32F7 based platforms, which default UART is wired on
Erwan Le Ray13f71fa2020-02-03 15:04:23 +01001228 USART1, but another UART instance can be selected by modifying
1229 CONFIG_DEBUG_UART_PHYS.
Gerald Baezad88bb412017-07-27 16:50:20 +00001230
1231 If unsure, say N.
1232
Erwan Le Ray33cab892020-02-03 15:04:24 +01001233 config STM32H7_DEBUG_UART
1234 bool "Use STM32H7 UART for low-level debug"
1235 depends on MACH_STM32H743
1236 select DEBUG_STM32_UART
1237 help
1238 Say Y here if you want kernel low-level debugging support
1239 on STM32H7 based platforms, which default UART is wired on
1240 USART1, but another UART instance can be selected by modifying
1241 CONFIG_DEBUG_UART_PHYS.
1242
1243 If unsure, say N.
1244
Erwan Le Ray62c15942020-02-03 15:04:25 +01001245 config STM32MP1_DEBUG_UART
1246 bool "Use STM32MP1 UART for low-level debug"
1247 depends on MACH_STM32MP157
1248 select DEBUG_STM32_UART
1249 help
1250 Say Y here if you want kernel low-level debugging support
1251 on STM32MP1 based platforms, wich default UART is wired on
1252 UART4, but another UART instance can be selected by modifying
1253 CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT.
1254
1255 If unsure, say N.
1256
Linus Torvalds1da177e2005-04-16 15:20:36 -07001257 config TEGRA_DEBUG_UART_AUTO_ODMDATA
1258 bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
1259 depends on ARCH_TEGRA
1260 select DEBUG_TEGRA_UART
1261 help
1262 Automatically determines which UART to use for low-level
1263 debug based on the ODMDATA value. This value is part of
1264 the BCT, and is written to the boot memory device using
1265 nvflash, or other flashing tool. When bits 19:18 are 3,
1266 then bits 17:15 indicate which UART to use; 0/1/2/3/4
1267 are UART A/B/C/D/E.
1268
1269 config TEGRA_DEBUG_UARTA
1270 bool "Kernel low-level debugging messages via Tegra UART A"
1271 depends on ARCH_TEGRA
1272 select DEBUG_TEGRA_UART
1273 help
1274 Say Y here if you want kernel low-level debugging support
1275 on Tegra based platforms.
Russell Kinge76f4752011-11-23 17:44:05 +00001276
1277 config TEGRA_DEBUG_UARTB
1278 bool "Kernel low-level debugging messages via Tegra UART B"
1279 depends on ARCH_TEGRA
1280 select DEBUG_TEGRA_UART
1281 help
1282 Say Y here if you want kernel low-level debugging support
1283 on Tegra based platforms.
1284
1285 config TEGRA_DEBUG_UARTC
1286 bool "Kernel low-level debugging messages via Tegra UART C"
1287 depends on ARCH_TEGRA
1288 select DEBUG_TEGRA_UART
1289 help
1290 Say Y here if you want kernel low-level debugging support
1291 on Tegra based platforms.
1292
1293 config TEGRA_DEBUG_UARTD
1294 bool "Kernel low-level debugging messages via Tegra UART D"
1295 depends on ARCH_TEGRA
1296 select DEBUG_TEGRA_UART
1297 help
1298 Say Y here if you want kernel low-level debugging support
1299 on Tegra based platforms.
1300
1301 config TEGRA_DEBUG_UARTE
1302 bool "Kernel low-level debugging messages via Tegra UART E"
1303 depends on ARCH_TEGRA
1304 select DEBUG_TEGRA_UART
1305 help
1306 Say Y here if you want kernel low-level debugging support
1307 on Tegra based platforms.
1308
Linus Walleijf87b95d2013-03-19 11:01:36 +01001309 config DEBUG_UX500_UART
1310 depends on ARCH_U8500
1311 bool "Use Ux500 UART for low-level debug"
1312 help
1313 Say Y here if you want kernel low-level debugging support
1314 on Ux500 based platforms.
1315
Arnd Bergmann4db22c12015-12-03 17:54:05 +01001316 config DEBUG_VERSATILE
1317 bool "Kernel low-level debugging messages via ARM Versatile UART"
1318 depends on ARCH_VERSATILE
1319 select DEBUG_UART_PL01X
Matthias Bruggerd6682082014-08-18 16:58:00 +02001320 help
1321 Say Y here if you want kernel low-level debugging support
Arnd Bergmann4db22c12015-12-03 17:54:05 +01001322 on ARM Versatile platforms.
Joe.C65ec48c2014-11-04 15:30:54 +08001323
Pawel Moll1b820ea2012-07-11 17:07:25 +01001324 config DEBUG_VEXPRESS_UART0_DETECT
1325 bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
1326 depends on ARCH_VEXPRESS && CPU_CP15_MMU
1327 help
1328 This option enables a simple heuristic which tries to determine
1329 the motherboard's memory map variant (original or RS1) and then
1330 choose the relevant UART0 base address.
1331
1332 Note that this will only work with standard A-class core tiles,
1333 and may fail with non-standard SMM or custom software models.
1334
1335 config DEBUG_VEXPRESS_UART0_CA9
1336 bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
1337 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001338 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001339 help
1340 This option selects UART0 at 0x10009000. Except for custom models,
1341 this applies only to the V2P-CA9 tile.
1342
1343 config DEBUG_VEXPRESS_UART0_RS1
1344 bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
1345 depends on ARCH_VEXPRESS
Russell King5c972af2013-07-07 12:32:16 +01001346 select DEBUG_UART_PL01X
Pawel Moll1b820ea2012-07-11 17:07:25 +01001347 help
1348 This option selects UART0 at 0x1c090000. This applies to most
1349 of the tiles using the RS1 memory map, including all new A-class
1350 core tiles, FPGA-based SMMs and software models.
1351
Jonathan Austined18bdc2012-08-30 13:46:44 +01001352 config DEBUG_VEXPRESS_UART0_CRX
1353 bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
1354 depends on ARCH_VEXPRESS && !MMU
Russell King5c972af2013-07-07 12:32:16 +01001355 select DEBUG_UART_PL01X
Jonathan Austined18bdc2012-08-30 13:46:44 +01001356 help
1357 This option selects UART0 at 0xb0090000. This is appropriate for
1358 Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
1359
Arnd Bergmann1dc93412015-12-03 18:16:45 +01001360 config DEBUG_VF_UART
1361 bool "Vybrid UART"
1362 depends on SOC_VF610
1363 help
1364 Say Y here if you want kernel low-level debugging support
1365 on Vybrid based platforms.
1366
Tony Priskb61a2722012-12-28 12:09:18 +13001367 config DEBUG_VT8500_UART0
1368 bool "Use UART0 on VIA/Wondermedia SoCs"
1369 depends on ARCH_VT8500
1370 help
1371 This option selects UART0 on VIA/Wondermedia System-on-a-chip
1372 devices, including VT8500, WM8505, WM8650 and WM8850.
1373
Arnd Bergmann1dc93412015-12-03 18:16:45 +01001374 config DEBUG_ZYNQ_UART0
1375 bool "Kernel low-level debugging on Xilinx Zynq using UART0"
1376 depends on ARCH_ZYNQ
1377 help
1378 Say Y here if you want the debug print routines to direct
1379 their output to UART0 on the Zynq platform.
1380
1381 config DEBUG_ZYNQ_UART1
1382 bool "Kernel low-level debugging on Xilinx Zynq using UART1"
1383 depends on ARCH_ZYNQ
1384 help
1385 Say Y here if you want the debug print routines to direct
1386 their output to UART1 on the Zynq platform.
1387
1388 If you have a ZC702 board and want early boot messages to
1389 appear on the USB serial adaptor, select this option.
1390
Russell Kinge76f4752011-11-23 17:44:05 +00001391 config DEBUG_ICEDCC
1392 bool "Kernel low-level debugging via EmbeddedICE DCC channel"
1393 help
1394 Say Y here if you want the debug print routines to direct
1395 their output to the EmbeddedICE macrocell's DCC channel using
1396 co-processor 14. This is known to work on the ARM9 style ICE
1397 channel and on the XScale with the PEEDI.
1398
1399 Note that the system will appear to hang during boot if there
1400 is nothing connected to read from the DCC.
1401
Russell Kingb0df8982012-03-27 11:30:31 +01001402 config DEBUG_SEMIHOSTING
Stephen Boyd62194bd2012-09-06 21:24:32 +01001403 bool "Kernel low-level debug output via semihosting I/O"
Russell Kingb0df8982012-03-27 11:30:31 +01001404 help
1405 Semihosting enables code running on an ARM target to use
1406 the I/O facilities on a host debugger/emulator through a
Stephen Boyd62194bd2012-09-06 21:24:32 +01001407 simple SVC call. The host debugger or emulator must have
Russell Kingb0df8982012-03-27 11:30:31 +01001408 semihosting enabled for the special svc call to be trapped
1409 otherwise the kernel will crash.
1410
Stephen Boyd62194bd2012-09-06 21:24:32 +01001411 This is known to work with OpenOCD, as well as
Russell Kingb0df8982012-03-27 11:30:31 +01001412 ARM's Fast Models, or any other controlling environment
1413 that implements semihosting.
1414
1415 For more details about semihosting, please see
1416 chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
1417
Russell Kingf8f12792013-07-07 15:29:38 +01001418 config DEBUG_LL_UART_8250
1419 bool "Kernel low-level debugging via 8250 UART"
1420 help
1421 Say Y here if you wish the debug print routes to direct
1422 their output to an 8250 UART. You can use this option
1423 to provide the parameters for the 8250 UART rather than
1424 selecting one of the platform specific options above if
1425 you know the parameters for the port.
1426
1427 This option is preferred over the platform specific
1428 options; the platform specific options are deprecated
1429 and will be soon removed.
1430
1431 config DEBUG_LL_UART_PL01X
1432 bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
1433 help
1434 Say Y here if you wish the debug print routes to direct
1435 their output to a PL01x Primecell UART. You can use
1436 this option to provide the parameters for the UART
1437 rather than selecting one of the platform specific
1438 options above if you know the parameters for the port.
1439
1440 This option is preferred over the platform specific
1441 options; the platform specific options are deprecated
1442 and will be soon removed.
1443
Linus Torvalds1da177e2005-04-16 15:20:36 -07001444endchoice
1445
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001446config DEBUG_AT91_UART
1447 bool
1448 depends on ARCH_AT91
1449
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001450config DEBUG_EXYNOS_UART
1451 bool
1452
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001453config DEBUG_S3C2410_UART
1454 bool
Heiko Stuebner1899de22014-05-16 06:59:18 +09001455 select DEBUG_S3C24XX_UART
1456
1457config DEBUG_S3C24XX_UART
1458 bool
Heiko Stuebnerdaf67df2014-05-16 06:59:18 +09001459
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001460config DEBUG_S3C64XX_UART
1461 bool
1462
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001463config DEBUG_S5PV210_UART
1464 bool
1465
Arnd Bergmannb3a7751272020-08-06 20:20:30 +02001466config DEBUG_S3C_UART
1467 depends on DEBUG_S3C2410_UART || DEBUG_S3C24XX_UART || \
1468 DEBUG_S3C64XX_UART || DEBUG_S5PV210_UART || \
1469 DEBUG_EXYNOS_UART
1470 int
1471 default "0" if DEBUG_S3C_UART0
1472 default "1" if DEBUG_S3C_UART1
1473 default "2" if DEBUG_S3C_UART2
1474 default "3" if DEBUG_S3C_UART3
1475
Russell Kingcce278d2013-07-06 14:23:30 +01001476config DEBUG_OMAP2PLUS_UART
1477 bool
1478 depends on ARCH_OMAP2PLUS
1479
Shawn Guof8c95fe2012-12-12 19:03:53 +08001480config DEBUG_IMX_UART_PORT
Uwe Kleine-König7c41ea572018-11-28 10:04:16 +01001481 int "i.MX Debug UART Port Selection"
1482 depends on DEBUG_IMX1_UART || \
1483 DEBUG_IMX25_UART || \
Lukas Bulwahnb0100bc2021-10-28 16:19:33 +02001484 DEBUG_IMX27_UART || \
Uwe Kleine-König7c41ea572018-11-28 10:04:16 +01001485 DEBUG_IMX31_UART || \
1486 DEBUG_IMX35_UART || \
1487 DEBUG_IMX50_UART || \
1488 DEBUG_IMX51_UART || \
1489 DEBUG_IMX53_UART || \
1490 DEBUG_IMX6Q_UART || \
1491 DEBUG_IMX6SL_UART || \
1492 DEBUG_IMX6SX_UART || \
1493 DEBUG_IMX6UL_UART || \
1494 DEBUG_IMX7D_UART
Shawn Guo49c9e602012-10-08 13:44:29 +08001495 default 1
Shawn Guo49c9e602012-10-08 13:44:29 +08001496 help
1497 Choose UART port on which kernel low-level debug messages
1498 should be output.
1499
Stefan Agnercfdb7d52014-03-05 23:07:48 +01001500config DEBUG_VF_UART_PORT
1501 int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
1502 default 1
1503 range 0 3
1504 depends on SOC_VF610
1505 help
1506 Choose UART port on which kernel low-level debug messages
1507 should be output.
1508
Russell Kingcce278d2013-07-06 14:23:30 +01001509config DEBUG_TEGRA_UART
1510 bool
1511 depends on ARCH_TEGRA
Tony Lindgren808b7e02013-01-11 11:24:19 -08001512
Gerald Baezad88bb412017-07-27 16:50:20 +00001513config DEBUG_STM32_UART
1514 bool
1515 depends on ARCH_STM32
1516
Linus Walleij4df24fe2020-08-27 23:28:56 +01001517config DEBUG_UART_FLOW_CONTROL
1518 bool "Enable flow control (CTS) for the debug UART"
1519 depends on DEBUG_LL
Arnd Bergmann3e3f3542020-09-24 20:25:46 +02001520 default y if DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC
Linus Walleij4df24fe2020-08-27 23:28:56 +01001521 help
1522 Some UART ports are connected to terminals that will use modem
1523 control signals to indicate whether they are ready to receive text.
1524 In practice this means that the terminal is asserting the special
1525 control signal CTS (Clear To Send). If your debug UART supports
1526 this and your debug terminal will require it, enable this option.
1527
Rob Herring91a9fec2012-08-31 00:03:46 -05001528config DEBUG_LL_INCLUDE
1529 string
Dmitry Eremin-Solenikove6131fa2014-11-06 10:20:23 +03001530 default "debug/sa1100.S" if DEBUG_SA1100
Mans Rullgard0c532542016-02-05 10:49:22 +01001531 default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP
Russell Kingf8f12792013-07-07 15:29:38 +01001532 default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
Nicolas Ferre42dfd1e102015-01-20 11:38:02 +01001533 default "debug/at91.S" if DEBUG_AT91_UART
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001534 default "debug/asm9260.S" if DEBUG_ASM9260_UART
Alexander Shiyandd99eef2014-06-19 19:26:34 +04001535 default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
Arnd Bergmann0045c0d2015-12-03 18:27:53 +01001536 default "debug/dc21285.S" if DEBUG_DC21285_PORT
Carlo Caioned8a00912014-09-09 21:38:00 +02001537 default "debug/meson.S" if DEBUG_MESON_UARTAO
Russell Kingf8f12792013-07-07 15:29:38 +01001538 default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
Arnd Bergmanna2e40712013-03-04 18:03:10 +01001539 default "debug/exynos.S" if DEBUG_EXYNOS_UART
Rob Herring91a9fec2012-08-31 00:03:46 -05001540 default "debug/icedcc.S" if DEBUG_ICEDCC
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001541 default "debug/imx.S" if DEBUG_IMX1_UART || \
1542 DEBUG_IMX25_UART || \
Lukas Bulwahnb0100bc2021-10-28 16:19:33 +02001543 DEBUG_IMX27_UART || \
Shawn Guo4ad625d2012-12-12 18:54:01 +08001544 DEBUG_IMX31_UART || \
1545 DEBUG_IMX35_UART || \
Greg Ungererad364a72013-10-29 15:15:51 +10001546 DEBUG_IMX50_UART || \
Shawn Guo6dde5ac2012-09-16 20:50:45 +08001547 DEBUG_IMX51_UART || \
Lukas Bulwahnb0100bc2021-10-28 16:19:33 +02001548 DEBUG_IMX53_UART || \
Shawn Guo34e8a162013-05-03 11:21:03 +08001549 DEBUG_IMX6Q_UART || \
Shawn Guo74368e82014-05-11 21:53:48 +08001550 DEBUG_IMX6SL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001551 DEBUG_IMX6SX_UART || \
Anson Huang20c305f2015-07-10 02:09:47 +08001552 DEBUG_IMX6UL_UART || \
Anson Huang52d7aec2015-05-06 23:16:07 +08001553 DEBUG_IMX7D_UART
Stephen Boydc0c89fa2015-03-13 11:09:34 -07001554 default "debug/msm.S" if DEBUG_QCOM_UARTDM
Tony Lindgren808b7e02013-01-11 11:24:19 -08001555 default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001556 default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
Geert Uytterhoevene9670cc2019-06-03 09:37:19 +02001557 default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF2
1558 default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF4
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001559 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
1560 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
1561 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
Biju Das2f095c22018-03-29 11:42:26 +01001562 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001563 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
Fabrizio Castro8e5f2d62017-08-16 11:20:10 +01001564 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4
Lad Prabhakar96866b12020-04-29 22:56:41 +01001565 default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIFA2
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001566 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
1567 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
1568 default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001569 default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART
Tomasz Figa7bab7d9e2014-07-03 14:39:41 +02001570 default "debug/s5pv210.S" if DEBUG_S5PV210_UART
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001571 default "debug/sti.S" if DEBUG_STIH41X_ASC2
1572 default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001573 default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0
Gerald Baezad88bb412017-07-27 16:50:20 +00001574 default "debug/stm32.S" if DEBUG_STM32_UART
Linus Torvalds150a8dc2013-05-04 12:34:30 -07001575 default "debug/tegra.S" if DEBUG_TEGRA_UART
1576 default "debug/ux500.S" if DEBUG_UX500_UART
Russell King4e218b92013-07-07 12:36:46 +01001577 default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
Shawn Guoc7c3eac2013-05-12 17:22:17 +08001578 default "debug/vf.S" if DEBUG_VF_UART
Tony Priskb61a2722012-12-28 12:09:18 +13001579 default "debug/vt8500.S" if DEBUG_VT8500_UART0
Josh Cartwright385f02b2012-11-19 10:16:01 -06001580 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
Arnd Bergmann6c548092016-01-18 10:45:00 +01001581 default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART
Baruch Siache23814d2015-01-14 10:40:31 +02001582 default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
Florian Fainellid0cf9d82016-06-28 12:18:51 -07001583 default "debug/brcmstb.S" if DEBUG_BRCMSTB_UART
Rob Herring91a9fec2012-08-31 00:03:46 -05001584 default "mach/debug-macro.S"
1585
Russell Kingf8f12792013-07-07 15:29:38 +01001586# Compatibility options for PL01x
Russell King5c972af2013-07-07 12:32:16 +01001587config DEBUG_UART_PL01X
Daniel Thompsona61cbf52015-01-09 18:34:22 +01001588 bool
Russell King5c972af2013-07-07 12:32:16 +01001589
Russell Kingf8f12792013-07-07 15:29:38 +01001590# Compatibility options for 8250
Russell King7610b602013-07-06 22:59:10 +01001591config DEBUG_UART_8250
Arnd Bergmann3e3f3542020-09-24 20:25:46 +02001592 def_bool ARCH_IOP32X || ARCH_IXP4XX || ARCH_RPC
Russell King4a0036472013-07-06 23:13:15 +01001593
Russell Kingc3faa9b2013-07-07 00:01:39 +01001594config DEBUG_UART_PHYS
1595 hex "Physical base address of debug UART"
Russell King97bd1a42013-07-07 16:18:34 +01001596 default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001597 default 0x01c28000 if DEBUG_SUNXI_UART0
1598 default 0x01c28400 if DEBUG_SUNXI_UART1
Russell King97bd1a42013-07-07 16:18:34 +01001599 default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
1600 default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001601 default 0x01f02800 if DEBUG_SUNXI_R_UART
Russell Kingf2acf002013-07-07 16:05:49 +01001602 default 0x02530c00 if DEBUG_KEYSTONE_UART0
1603 default 0x02531000 if DEBUG_KEYSTONE_UART1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001604 default 0x03010fe0 if ARCH_RPC
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001605 default 0x07000000 if DEBUG_SUN9I_UART0
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001606 default 0x09530000 if DEBUG_STIH418_SBC_ASC0
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001607 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
Russell King5c972af2013-07-07 12:32:16 +01001608 DEBUG_VEXPRESS_UART0_CA9
1609 default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
Russell Kingc3faa9b2013-07-07 00:01:39 +01001610 default 0x10124000 if DEBUG_RK3X_UART0
1611 default 0x10126000 if DEBUG_RK3X_UART1
Arnd Bergmann4db22c12015-12-03 17:54:05 +01001612 default 0x101f1000 if DEBUG_VERSATILE
Russell King5c972af2013-07-07 12:32:16 +01001613 default 0x101fb000 if DEBUG_NOMADIK_UART
Andy Yana3b882f2016-11-14 20:12:35 +08001614 default 0x10210000 if DEBUG_RV1108_UART2
1615 default 0x10220000 if DEBUG_RV1108_UART1
1616 default 0x10230000 if DEBUG_RV1108_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001617 default 0x11002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001618 default 0x11006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001619 default 0x11009000 if DEBUG_MT8135_UART3
Arnd Bergmann4db22c12015-12-03 17:54:05 +01001620 default 0x16000000 if DEBUG_INTEGRATOR
Kefeng Wangc5fdb662020-09-29 22:14:44 +08001621 default 0x1600d000 if DEBUG_SD5203_UART
Hauke Mehrtens06580272014-02-04 00:01:44 +01001622 default 0x18000300 if DEBUG_BCM_5301X
Florian Fainellifa1e5812017-09-28 16:14:59 -07001623 default 0x18000400 if DEBUG_BCM_HR2
Clément Peron295898b2018-05-30 15:19:55 +02001624 default 0x18023000 if DEBUG_BCM_IPROC_UART3
Russell King5c972af2013-07-07 12:32:16 +01001625 default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
Romain Perier624b9d82021-05-04 19:03:16 +02001626 default 0x1f221000 if DEBUG_MSTARV7_PMUART
Wang Long27dafaa2014-12-24 03:09:56 +00001627 default 0x20001000 if DEBUG_HIP01_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001628 default 0x20060000 if DEBUG_RK29_UART0
1629 default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1630 default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Russell King5c972af2013-07-07 12:32:16 +01001631 default 0x20201000 if DEBUG_BCM2835
Christian Daudt753d1242013-12-23 09:00:01 +01001632 default 0x3e000000 if DEBUG_BCM_KONA_UART
Clément Peronf3f49e42018-05-30 15:19:56 +02001633 default 0x3f201000 if DEBUG_BCM2836
Erwan Le Ray62c15942020-02-03 15:04:25 +01001634 default 0x40010000 if STM32MP1_DEBUG_UART
Erwan Le Ray33cab892020-02-03 15:04:24 +01001635 default 0x40011000 if STM32F4_DEBUG_UART || STM32F7_DEBUG_UART || \
1636 STM32H7_DEBUG_UART
Szemző András63e07c02017-05-31 03:06:24 +02001637 default 0x40028000 if DEBUG_AT91_SAMV7_USART1
Joachim Eastwood0aed6a32015-05-19 20:55:03 +02001638 default 0x40081000 if DEBUG_LPC18XX_UART0
Arnd Bergmann59bd4c32015-12-03 17:54:05 +01001639 default 0x40090000 if DEBUG_LPC32XX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001640 default 0x40100000 if DEBUG_PXA_UART1
Arnd Bergmannd7175a32015-12-03 17:54:05 +01001641 default 0x42000000 if DEBUG_GEMINI
Tony Lindgren51ef7002017-07-16 22:10:14 -07001642 default 0x44e09000 if DEBUG_AM33XXUART1
Tony Lindgren2d1f7d22017-07-16 22:10:14 -07001643 default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
1644 default 0x48022000 if DEBUG_TI81XXUART2
1645 default 0x48024000 if DEBUG_TI81XXUART3
Tony Lindgrend2b310b2017-07-16 22:10:13 -07001646 default 0x4806a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1647 DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1648 default 0x4806c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1649 DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
Tony Lindgrenfc23beb2017-06-14 00:31:13 -07001650 default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
1651 default 0x49020000 if DEBUG_OMAP3UART3
1652 default 0x49042000 if DEBUG_OMAP3UART4
Heiko Stuebner1899de22014-05-16 06:59:18 +09001653 default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1654 DEBUG_S3C2410_UART0)
1655 default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1656 DEBUG_S3C2410_UART1)
1657 default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1658 DEBUG_S3C2410_UART2)
Krzysztof Hałasac3ca2132014-09-29 08:32:08 +02001659 default 0x78000000 if DEBUG_CNS3XXX
Arnd Bergmann0045c0d2015-12-03 18:27:53 +01001660 default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001661 default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
1662 default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1663 default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1664 default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001665 default 0x80010000 if DEBUG_ASM9260_UART
Russell King5c972af2013-07-07 12:32:16 +01001666 default 0x80070000 if DEBUG_IMX23_UART
1667 default 0x80074000 if DEBUG_IMX28_UART
Arnd Bergmannf06455f2015-12-03 16:19:22 +01001668 default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX
Russell King5c972af2013-07-07 12:32:16 +01001669 default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
1670 default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
Russell Kingc3faa9b2013-07-07 00:01:39 +01001671 default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1672 default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Arnd Bergmann375d84c2015-12-03 17:54:05 +01001673 default 0xd0000000 if DEBUG_SPEAR3XX
Maxime Ripardd91125d2015-01-08 18:38:03 +01001674 default 0xd0012000 if DEBUG_MVEBU_UART0
Carlo Caioned8a00912014-09-09 21:38:00 +02001675 default 0xc81004c0 if DEBUG_MESON_UARTAO
Russell Kingc3faa9b2013-07-07 00:01:39 +01001676 default 0xd4017000 if DEBUG_MMP_UART2
1677 default 0xd4018000 if DEBUG_MMP_UART3
Arnd Bergmann375d84c2015-12-03 17:54:05 +01001678 default 0xe0000000 if DEBUG_SPEAR13XX
Eugen Hristev577cb672021-04-09 14:31:16 +03001679 default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001680 default 0xe4007000 if DEBUG_HIP04_UART
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001681 default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
1682 default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
Lad Prabhakar96866b12020-04-29 22:56:41 +01001683 default 0xe6c60000 if DEBUG_RCAR_GEN2_SCIFA2
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001684 default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
1685 default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
1686 default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
Biju Das2f095c22018-03-29 11:42:26 +01001687 default 0xe6e68000 if DEBUG_RCAR_GEN2_SCIF1
Fabrizio Castro8e5f2d62017-08-16 11:20:10 +01001688 default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4
Geert Uytterhoevene9670cc2019-06-03 09:37:19 +02001689 default 0xe8008000 if DEBUG_R7S72100_SCIF2 || DEBUG_R7S9210_SCIF2
1690 default 0xe8009000 if DEBUG_R7S9210_SCIF4
Arnd Bergmann876e6452019-04-17 17:13:27 +02001691 default 0xf0000000 if DEBUG_DIGICOLOR_UA0
Maxime Ripardd91125d2015-01-08 18:38:03 +01001692 default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001693 default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001694 default 0xf7fc9000 if DEBUG_BERLIN_UART
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001695 default 0xf8020000 if DEBUG_AT91_SAMA5D2_UART1
Haifeng Yan12aae302014-04-11 11:40:58 +08001696 default 0xf8b00000 if DEBUG_HIX5HD2_UART
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001697 default 0xf991e000 if DEBUG_QCOM_UARTDM
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001698 default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
Haojian Zhuang8d258be2013-08-24 06:58:39 +01001699 default 0xfcb00000 if DEBUG_HI3620_UART
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001700 default 0xfd883000 if DEBUG_ALPINE_UART0
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001701 default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1
Russell Kingc3faa9b2013-07-07 00:01:39 +01001702 default 0xfe800000 if ARCH_IOP32X
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001703 default 0xfed32000 if DEBUG_STIH41X_ASC2
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001704 default 0xff690000 if DEBUG_RK32_UART2
Dinh Nguyende73c162015-03-09 15:48:31 -05001705 default 0xffc02000 if DEBUG_SOCFPGA_UART0
Clément Péronf6628482018-10-09 13:28:37 +02001706 default 0xffc02100 if DEBUG_SOCFPGA_ARRIA10_UART1
1707 default 0xffc03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001708 default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
1709 default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
Russell King5c972af2013-07-07 12:32:16 +01001710 default 0xfff36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001711 default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1712 default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1713 default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Arnd Bergmann6c548092016-01-18 10:45:00 +01001714 default 0xfffe8600 if DEBUG_BCM63XX_UART
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001715 default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU
1716 default 0xfffff200 if DEBUG_AT91_RM9200_DBGU
Daniel Thompsond02fde72015-01-09 18:34:12 +01001717 depends on ARCH_EP93XX || \
1718 DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001719 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001720 DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
Geert Uytterhoevene9670cc2019-06-03 09:37:19 +02001721 DEBUG_R7S9210_SCIF2 || DEBUG_R7S9210_SCIF4 || \
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001722 DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
Biju Das2f095c22018-03-29 11:42:26 +01001723 DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \
1724 DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
Lad Prabhakar96866b12020-04-29 22:56:41 +01001725 DEBUG_RCAR_GEN2_SCIFA2 || \
Geert Uytterhoeven7a2071c2014-11-14 16:49:47 +01001726 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
1727 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001728 DEBUG_S3C64XX_UART || \
Arnd Bergmann6c548092016-01-18 10:45:00 +01001729 DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
Arnd Bergmannf3a73282021-01-18 12:53:11 +01001730 DEBUG_DIGICOLOR_UA0 || \
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001731 DEBUG_AT91_UART || DEBUG_STM32_UART || \
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001732 DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
1733 DEBUG_STIH418_SBC_ASC0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001734
1735config DEBUG_UART_VIRT
1736 hex "Virtual base address of debug UART"
Andy Yana3b882f2016-11-14 20:12:35 +08001737 default 0xc881f000 if DEBUG_RV1108_UART2
1738 default 0xc8821000 if DEBUG_RV1108_UART1
1739 default 0xc8912000 if DEBUG_RV1108_UART0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001740 default 0xe0010fe0 if ARCH_RPC
Eugen Hristev577cb672021-04-09 14:31:16 +03001741 default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
Oleksij Rempeld5bd4e8d2014-11-24 12:08:28 +01001742 default 0xf0010000 if DEBUG_ASM9260_UART
Arnd Bergmann876e6452019-04-17 17:13:27 +02001743 default 0xf0100000 if DEBUG_DIGICOLOR_UA0
Russell King5c972af2013-07-07 12:32:16 +01001744 default 0xf01fb000 if DEBUG_NOMADIK_UART
Eric Anholt5234c342015-02-24 15:07:55 +00001745 default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
Romain Perier624b9d82021-05-04 19:03:16 +02001746 default 0xf0221000 if DEBUG_MSTARV7_PMUART
Hauke Mehrtens06580272014-02-04 00:01:44 +01001747 default 0xf1000300 if DEBUG_BCM_5301X
Florian Fainellifa1e5812017-09-28 16:14:59 -07001748 default 0xf1000400 if DEBUG_BCM_HR2
Joe.C65ec48c2014-11-04 15:30:54 +08001749 default 0xf1002000 if DEBUG_MT8127_UART0
Matthias Bruggerd6682082014-08-18 16:58:00 +02001750 default 0xf1006000 if DEBUG_MT6589_UART0
Joe.C65ec48c2014-11-04 15:30:54 +08001751 default 0xf1009000 if DEBUG_MT8135_UART3
Clément Peron295898b2018-05-30 15:19:55 +02001752 default 0xf1023000 if DEBUG_BCM_IPROC_UART3
Arnd Bergmann4db22c12015-12-03 17:54:05 +01001753 default 0xf11f1000 if DEBUG_VERSATILE
1754 default 0xf1600000 if DEBUG_INTEGRATOR
Russell Kingc3faa9b2013-07-07 00:01:39 +01001755 default 0xf1c28000 if DEBUG_SUNXI_UART0
1756 default 0xf1c28400 if DEBUG_SUNXI_UART1
Chen-Yu Tsaic4718542014-06-20 22:52:51 +08001757 default 0xf1f02800 if DEBUG_SUNXI_R_UART
Arnd Bergmann1dc93412015-12-03 18:16:45 +01001758 default 0xf31004c0 if DEBUG_MESON_UARTAO
Arnd Bergmann59bd4c32015-12-03 17:54:05 +01001759 default 0xf4090000 if DEBUG_LPC32XX
Arnd Bergmannd7175a32015-12-03 17:54:05 +01001760 default 0xf4200000 if DEBUG_GEMINI
Robert Jarzmikcde7fc82014-10-07 21:18:14 +02001761 default 0xf6200000 if DEBUG_PXA_UART1
Chen-Yu Tsaid4da8892014-09-24 22:48:56 +08001762 default 0xf7000000 if DEBUG_SUN9I_UART0
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001763 default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
Heiko Stuebner1899de22014-05-16 06:59:18 +09001764 default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
1765 DEBUG_S3C2410_UART0)
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001766 default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1767 default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1768 default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
Heiko Stuebner1899de22014-05-16 06:59:18 +09001769 default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
1770 DEBUG_S3C2410_UART1)
1771 default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
1772 DEBUG_S3C2410_UART2)
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001773 default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1
Sebastian Hesselbarthcaad0b42013-09-09 14:10:54 +02001774 default 0xf7fc9000 if DEBUG_BERLIN_UART
Haojian Zhuangc9a1df42013-12-20 15:01:41 +08001775 default 0xf8007000 if DEBUG_HIP04_UART
Russell King5c972af2013-07-07 12:32:16 +01001776 default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
1777 default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001778 default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU
1779 default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001780 default 0xf9530000 if DEBUG_STIH418_SBC_ASC0
Tony Lindgren51ef7002017-07-16 22:10:14 -07001781 default 0xf9e09000 if DEBUG_AM33XXUART1
Tony Lindgren2d1f7d22017-07-16 22:10:14 -07001782 default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
1783 default 0xfa022000 if DEBUG_TI81XXUART2
1784 default 0xfa024000 if DEBUG_TI81XXUART3
Tony Lindgrend2b310b2017-07-16 22:10:13 -07001785 default 0xfa06a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1786 DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1787 default 0xfa06c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1788 DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
Tony Lindgrenfc23beb2017-06-14 00:31:13 -07001789 default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
Ivan T. Ivanov7098cff2014-04-14 16:47:34 +03001790 default 0xfa71e000 if DEBUG_QCOM_UARTDM
Krzysztof Hałasab1251702014-09-16 12:35:10 +02001791 default 0xfb002000 if DEBUG_CNS3XXX
Russell King5c972af2013-07-07 12:32:16 +01001792 default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
Alexandre Belloni8b2f2d02016-06-08 12:21:38 +02001793 default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3
Tony Lindgrenfc23beb2017-06-14 00:31:13 -07001794 default 0xfb020000 if DEBUG_OMAP3UART3
1795 default 0xfb042000 if DEBUG_OMAP3UART4
Russell King5c972af2013-07-07 12:32:16 +01001796 default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
Arnd Bergmann6c548092016-01-18 10:45:00 +01001797 default 0xfcfe8600 if DEBUG_BCM63XX_UART
Arnd Bergmann375d84c2015-12-03 17:54:05 +01001798 default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001799 default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1
Tsahee Zidenberg3c215e62015-03-12 13:53:04 +02001800 default 0xfd883000 if DEBUG_ALPINE_UART0
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001801 default 0xfdd32000 if DEBUG_STIH41X_ASC2
Erwan Le Ray62c15942020-02-03 15:04:25 +01001802 default 0xfe010000 if STM32MP1_DEBUG_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001803 default 0xfe017000 if DEBUG_MMP_UART2
1804 default 0xfe018000 if DEBUG_MMP_UART3
Russell King5c972af2013-07-07 12:32:16 +01001805 default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
Christian Daudt753d1242013-12-23 09:00:01 +01001806 default 0xfe300000 if DEBUG_BCM_KONA_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001807 default 0xfe800000 if ARCH_IOP32X
Haifeng Yan12aae302014-04-11 11:40:58 +08001808 default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
Russell Kingc3faa9b2013-07-07 00:01:39 +01001809 default 0xfeb24000 if DEBUG_RK3X_UART0
1810 default 0xfeb26000 if DEBUG_RK3X_UART1
Russell Kingf2acf002013-07-07 16:05:49 +01001811 default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1812 default 0xfeb31000 if DEBUG_KEYSTONE_UART1
Dinh Nguyende73c162015-03-09 15:48:31 -05001813 default 0xfec02000 if DEBUG_SOCFPGA_UART0
Clément Péronf6628482018-10-09 13:28:37 +02001814 default 0xfec02100 if DEBUG_SOCFPGA_ARRIA10_UART1
1815 default 0xfec03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
Arnd Bergmann3584be92019-07-31 21:56:55 +02001816 default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
Maxime Ripardbd920492015-01-08 18:38:04 +01001817 default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
Russell King97bd1a42013-07-07 16:18:34 +01001818 default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
Heiko Stuebnerefd02ee2014-06-28 13:31:17 +02001819 default 0xfec90000 if DEBUG_RK32_UART2
Russell King97bd1a42013-07-07 16:18:34 +01001820 default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
Kefeng Wangc5fdb662020-09-29 22:14:44 +08001821 default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_SD5203_UART
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001822 default 0xfed60000 if DEBUG_RK29_UART0
1823 default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1824 default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
Arnd Bergmannf06455f2015-12-03 16:19:22 +01001825 default 0xfedc0000 if DEBUG_EP93XX
Arnd Bergmann0045c0d2015-12-03 18:27:53 +01001826 default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1
Russell King5c972af2013-07-07 12:32:16 +01001827 default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
Linus Walleij713ce382021-04-29 23:25:11 +02001828 default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1829 default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
Alexander Shiyanc39e1ef2014-04-12 06:07:23 +01001830 default 0xfef36000 if DEBUG_HIGHBANK_UART
Daniel Thompsonc26b9992015-01-09 18:33:50 +01001831 default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1832 default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1833 default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
Wang Long27dafaa2014-12-24 03:09:56 +00001834 default 0xffd01000 if DEBUG_HIP01_UART
Russell King5c972af2013-07-07 12:32:16 +01001835 default DEBUG_UART_PHYS if !MMU
Russell Kingf8f12792013-07-07 15:29:38 +01001836 depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
Carlo Caioned8a00912014-09-09 21:38:00 +02001837 DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
Daniel Thompson4d31e662015-01-09 18:34:03 +01001838 DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
Arnd Bergmannbb08dea2014-07-25 17:11:24 +02001839 DEBUG_S3C64XX_UART || \
Arnd Bergmann6c548092016-01-18 10:45:00 +01001840 DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
Arnd Bergmannf3a73282021-01-18 12:53:11 +01001841 DEBUG_DIGICOLOR_UA0 || \
Alain VOLMAT9ca4efe2020-12-09 20:42:31 +01001842 DEBUG_AT91_UART || DEBUG_STM32_UART || \
Alain VOLMAT6e959ad2020-12-09 20:45:43 +01001843 DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
1844 DEBUG_STIH418_SBC_ASC0
Russell Kingc3faa9b2013-07-07 00:01:39 +01001845
Russell King4a0036472013-07-06 23:13:15 +01001846config DEBUG_UART_8250_SHIFT
1847 int "Register offset shift for the 8250 debug UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001848 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Arnd Bergmann0045c0d2015-12-03 18:27:53 +01001849 default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \
Florian Fainellifa1e5812017-09-28 16:14:59 -07001850 DEBUG_BCM_HR2 || DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || \
1851 DEBUG_OMAP7XXUART3
Romain Perier624b9d82021-05-04 19:03:16 +02001852 default 3 if DEBUG_MSTARV7_PMUART
Russell King4a0036472013-07-06 23:13:15 +01001853 default 2
Russell King7610b602013-07-06 22:59:10 +01001854
Russell King0b4cccb2013-07-07 11:42:46 +01001855config DEBUG_UART_8250_WORD
1856 bool "Use 32-bit accesses for 8250 UART"
Russell Kingf8f12792013-07-07 15:29:38 +01001857 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
Russell King0b4cccb2013-07-07 11:42:46 +01001858 depends on DEBUG_UART_8250_SHIFT >= 2
Rob Herring665a8792020-12-10 14:03:13 -06001859 default y if DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_ARRIA10_UART1 || \
Clément Péronf6628482018-10-09 13:28:37 +02001860 DEBUG_SOCFPGA_CYCLONE5_UART1 || DEBUG_KEYSTONE_UART0 || \
1861 DEBUG_KEYSTONE_UART1 || DEBUG_ALPINE_UART0 || \
Russell King97bd1a42013-07-07 16:18:34 +01001862 DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
Clément Peron295898b2018-05-30 15:19:55 +02001863 DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_BCM_IPROC_UART3 || \
Florian Fainellid0cf9d82016-06-28 12:18:51 -07001864 DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2
Russell King0b4cccb2013-07-07 11:42:46 +01001865
Mans Rullgard0c532542016-02-05 10:49:22 +01001866config DEBUG_UART_8250_PALMCHIP
1867 bool "8250 UART is Palmchip BK-310x"
1868 depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1869 help
1870 Palmchip provides a UART implementation compatible with 16550
1871 except for having a different register layout. Say Y here if
1872 the debug UART is of this type.
1873
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001874config DEBUG_UNCOMPRESS
Russell King29337b62017-11-16 11:46:22 +00001875 bool "Enable decompressor debugging via DEBUG_LL output"
Stefan Agner9c77bc42015-05-20 00:03:51 +02001876 depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
Russell King29337b62017-11-16 11:46:22 +00001877 depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
Florian Fainellid0cf9d82016-06-28 12:18:51 -07001878 (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \
Linus Walleij5ed801d2020-12-11 09:57:25 +01001879 !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
Russell Kingb6992fa2013-07-17 17:54:27 +01001880 help
1881 This option influences the normal decompressor output for
1882 multiplatform kernels. Normally, multiplatform kernels disable
1883 decompressor output because it is not possible to know where to
1884 send the decompressor output.
1885
1886 When this option is set, the selected DEBUG_LL output method
1887 will be re-used for normal decompressor output on multiplatform
1888 kernels.
1889
Shawn Guo3b4af9b2013-03-14 08:48:06 +01001890
Shawn Guo615967b2013-03-14 08:47:27 +01001891config UNCOMPRESS_INCLUDE
1892 string
Sachin Kamatffd80ec2014-02-24 09:38:12 +09001893 default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
Ulrich Hecht36d6c922015-08-14 15:51:06 +02001894 PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
Shawn Guo615967b2013-03-14 08:47:27 +01001895 default "mach/uncompress.h"
1896
Linus Torvalds1da177e2005-04-16 15:20:36 -07001897config EARLY_PRINTK
1898 bool "Early printk"
1899 depends on DEBUG_LL
1900 help
1901 Say Y here if you want to have an early console using the
1902 kernel low-level debugging functions. Add earlyprintk to your
1903 kernel parameters to enable this console.
1904
Linus Torvalds1da177e2005-04-16 15:20:36 -07001905config ARM_KPROBES_TEST
1906 tristate "Kprobes test module"
1907 depends on KPROBES && MODULES
1908 help
1909 Perform tests of kprobes API and instruction set simulation.
1910
Will Deacon575320d2012-07-06 15:43:03 +01001911config PID_IN_CONTEXTIDR
1912 bool "Write the current PID to the CONTEXTIDR register"
1913 depends on CPU_COPY_V6
1914 help
1915 Enabling this option causes the kernel to write the current PID to
1916 the PROCID field of the CONTEXTIDR register, at the expense of some
1917 additional instructions during context switch. Say Y here only if you
1918 are planning to use hardware trace tools with this kernel.
1919
Mathieu Poirier01081f52015-03-30 14:13:41 -06001920source "drivers/hwtracing/coresight/Kconfig"