xref: /linux/arch/arm/Kconfig.debug (revision 2d1f7d2e2492ef7b2c0aa8d7a7822316d3a52c21)
11da177e4SLinus Torvaldsmenu "Kernel hacking"
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldssource "lib/Kconfig.debug"
41da177e4SLinus Torvalds
51fd15b87SRussell Kingconfig ARM_PTDUMP
61fd15b87SRussell King	bool "Export kernel pagetable layout to userspace via debugfs"
71fd15b87SRussell King	depends on DEBUG_KERNEL
865ba508dSArnd Bergmann	depends on MMU
91fd15b87SRussell King	select DEBUG_FS
101fd15b87SRussell King	---help---
111fd15b87SRussell King	  Say Y here if you want to show the kernel pagetable layout in a
121fd15b87SRussell King	  debugfs file. This information is only useful for kernel developers
131fd15b87SRussell King	  who are working in architecture specific areas of the kernel.
141fd15b87SRussell King	  It is probably not a good idea to enable this feature in a production
151fd15b87SRussell King	  kernel.
161fd15b87SRussell King	  If in doubt, say "N"
171fd15b87SRussell King
18adf8b37bSCatalin Marinas# RMK wants arm kernels compiled with frame pointers or stack unwinding.
191da177e4SLinus Torvalds# If you know what you are doing and are willing to live without stack
201da177e4SLinus Torvalds# traces, you can get a slightly smaller kernel by setting this option to
211da177e4SLinus Torvalds# n, but then RMK will have to kill you ;).
221da177e4SLinus Torvaldsconfig FRAME_POINTER
231da177e4SLinus Torvalds	bool
2416c79651SCatalin Marinas	depends on !THUMB2_KERNEL
250e341af8SRabin Vincent	default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  If you say N here, the resulting kernel will be slightly smaller and
28adf8b37bSCatalin Marinas	  faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled,
29adf8b37bSCatalin Marinas	  when a problem occurs with the kernel, the information that is
30adf8b37bSCatalin Marinas	  reported is severely limited.
31adf8b37bSCatalin Marinas
32adf8b37bSCatalin Marinasconfig ARM_UNWIND
334a50bfe3SRussell King	bool "Enable stack unwinding support (EXPERIMENTAL)"
34d6f94fa0SKees Cook	depends on AEABI
35adf8b37bSCatalin Marinas	default y
36adf8b37bSCatalin Marinas	help
37adf8b37bSCatalin Marinas	  This option enables stack unwinding support in the kernel
38adf8b37bSCatalin Marinas	  using the information automatically generated by the
39adf8b37bSCatalin Marinas	  compiler. The resulting kernel image is slightly bigger but
40adf8b37bSCatalin Marinas	  the performance is not affected. Currently, this feature
41adf8b37bSCatalin Marinas	  only works with EABI compilers. If unsure say Y.
421da177e4SLinus Torvalds
4309bfafacSRabin Vincentconfig OLD_MCOUNT
4409bfafacSRabin Vincent	bool
4509bfafacSRabin Vincent	depends on FUNCTION_TRACER && FRAME_POINTER
4609bfafacSRabin Vincent	default y
4709bfafacSRabin Vincent
481da177e4SLinus Torvaldsconfig DEBUG_USER
491da177e4SLinus Torvalds	bool "Verbose user fault messages"
501da177e4SLinus Torvalds	help
511da177e4SLinus Torvalds	  When a user program crashes due to an exception, the kernel can
521da177e4SLinus Torvalds	  print a brief message explaining what the problem was. This is
531da177e4SLinus Torvalds	  sometimes helpful for debugging but serves no purpose on a
541da177e4SLinus Torvalds	  production system. Most people should say N here.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  In addition, you need to pass user_debug=N on the kernel command
571da177e4SLinus Torvalds	  line to enable this feature.  N consists of the sum of:
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds	      1 - undefined instruction events
601da177e4SLinus Torvalds	      2 - system calls
611da177e4SLinus Torvalds	      4 - invalid data aborts
621da177e4SLinus Torvalds	      8 - SIGSEGV faults
631da177e4SLinus Torvalds	     16 - SIGBUS faults
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds# These options are only for real kernel hackers who want to get their hands dirty.
661da177e4SLinus Torvaldsconfig DEBUG_LL
674f5ef922SWill Deacon	bool "Kernel low-level debugging functions (read help!)"
681da177e4SLinus Torvalds	depends on DEBUG_KERNEL
691da177e4SLinus Torvalds	help
7035efb606SRussell King	  Say Y here to include definitions of printascii, printch, printhex
711da177e4SLinus Torvalds	  in the kernel.  This is helpful if you are debugging code that
721da177e4SLinus Torvalds	  executes before the console is initialized.
731da177e4SLinus Torvalds
744f5ef922SWill Deacon	  Note that selecting this option will limit the kernel to a single
754f5ef922SWill Deacon	  UART definition, as specified below. Attempting to boot the kernel
764f5ef922SWill Deacon	  image on a different platform *will not work*, so this option should
774f5ef922SWill Deacon	  not be enabled for kernels that are intended to be portable.
784f5ef922SWill Deacon
7917916b28SWill Deaconchoice
8017916b28SWill Deacon	prompt "Kernel low-level debugging port"
8117916b28SWill Deacon	depends on DEBUG_LL
8217916b28SWill Deacon
833c215e64STsahee Zidenberg	config DEBUG_ALPINE_UART0
843c215e64STsahee Zidenberg		bool "Kernel low-level debugging messages via Alpine UART0"
853c215e64STsahee Zidenberg		depends on ARCH_ALPINE
863c215e64STsahee Zidenberg		select DEBUG_UART_8250
873c215e64STsahee Zidenberg		help
883c215e64STsahee Zidenberg		  Say Y here if you want kernel low-level debugging support
893c215e64STsahee Zidenberg		  on Alpine based platforms.
903c215e64STsahee Zidenberg
91d5bd4e8dSOleksij Rempel	config DEBUG_ASM9260_UART
92d5bd4e8dSOleksij Rempel		bool "Kernel low-level debugging via asm9260 UART"
93d5bd4e8dSOleksij Rempel		depends on MACH_ASM9260
94d5bd4e8dSOleksij Rempel		help
95d5bd4e8dSOleksij Rempel		  Say Y here if you want the debug print routines to direct
96d5bd4e8dSOleksij Rempel		  their output to an UART or USART port on asm9260 based
97d5bd4e8dSOleksij Rempel		  machines.
98d5bd4e8dSOleksij Rempel
99d5bd4e8dSOleksij Rempel		    DEBUG_UART_PHYS | DEBUG_UART_VIRT
100d5bd4e8dSOleksij Rempel
101d5bd4e8dSOleksij Rempel		    0x80000000      | 0xf0000000     | UART0
102d5bd4e8dSOleksij Rempel		    0x80004000      | 0xf0004000     | UART1
103d5bd4e8dSOleksij Rempel		    0x80008000      | 0xf0008000     | UART2
104d5bd4e8dSOleksij Rempel		    0x8000c000      | 0xf000c000     | UART3
105d5bd4e8dSOleksij Rempel		    0x80010000      | 0xf0010000     | UART4
106d5bd4e8dSOleksij Rempel		    0x80014000      | 0xf0014000     | UART5
107d5bd4e8dSOleksij Rempel		    0x80018000      | 0xf0018000     | UART6
108d5bd4e8dSOleksij Rempel		    0x8001c000      | 0xf001c000     | UART7
109d5bd4e8dSOleksij Rempel		    0x80020000      | 0xf0020000     | UART8
110d5bd4e8dSOleksij Rempel		    0x80024000      | 0xf0024000     | UART9
111d5bd4e8dSOleksij Rempel
1128b2f2d03SAlexandre Belloni	config DEBUG_AT91_RM9200_DBGU
1138b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on AT91RM9200, AT91SAM9 DBGU"
1148b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1158b2f2d03SAlexandre Belloni		depends on SOC_AT91RM9200 || SOC_AT91SAM9
1166f112a08SAlexandre Belloni		help
1178b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1188b2f2d03SAlexandre Belloni		  on the DBGU port of:
1198b2f2d03SAlexandre Belloni		    at91rm9200, at91sam9260, at91sam9g20, at91sam9261,
1208b2f2d03SAlexandre Belloni		    at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5
12113079a73SJean-Christophe PLAGNIOL-VILLARD
1228b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAM9263_DBGU
1238b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU"
1248b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1258b2f2d03SAlexandre Belloni		depends on SOC_AT91SAM9 || SOC_SAMA5D3
1268b2f2d03SAlexandre Belloni		help
1278b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1288b2f2d03SAlexandre Belloni		  on the DBGU port of:
1298b2f2d03SAlexandre Belloni		    at91sam9263, at91sam9g45, at91sam9m10,
1308b2f2d03SAlexandre Belloni		    sama5d3
13113079a73SJean-Christophe PLAGNIOL-VILLARD
1328b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAMA5D2_UART1
1338b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on SAMA5D2 UART1"
1348b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1358b2f2d03SAlexandre Belloni		depends on SOC_SAMA5D2
1368b2f2d03SAlexandre Belloni		help
1378b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1388b2f2d03SAlexandre Belloni		  on the UART1 port of sama5d2.
1398b2f2d03SAlexandre Belloni
1408b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAMA5D4_USART3
1418b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on SAMA5D4 USART3"
1428b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1438b2f2d03SAlexandre Belloni		depends on SOC_SAMA5D4
1448b2f2d03SAlexandre Belloni		help
1458b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1468b2f2d03SAlexandre Belloni		  on the USART3 port of sama5d4.
147c268a743SNicolas Ferre
14863e07c0fSSzemző András	config DEBUG_AT91_SAMV7_USART1
14963e07c0fSSzemző András		bool "Kernel low-level debugging via SAMV7 USART1"
15063e07c0fSSzemző András		select DEBUG_AT91_UART
15163e07c0fSSzemző András		depends on SOC_SAMV7
15263e07c0fSSzemző András		help
15363e07c0fSSzemző András		  Say Y here if you want the debug print routines to direct
15463e07c0fSSzemző András		  their output to the USART1 port on SAMV7 based
15563e07c0fSSzemző András		  machines.
15663e07c0fSSzemző András
157f1ac922dSStephen Warren	config DEBUG_BCM2835
158f1ac922dSStephen Warren		bool "Kernel low-level debugging on BCM2835 PL011 UART"
1595234c34eSEric Anholt		depends on ARCH_BCM2835 && ARCH_MULTI_V6
1605234c34eSEric Anholt		select DEBUG_UART_PL01X
1615234c34eSEric Anholt
1625234c34eSEric Anholt	config DEBUG_BCM2836
1635234c34eSEric Anholt		bool "Kernel low-level debugging on BCM2836 PL011 UART"
1645234c34eSEric Anholt		depends on ARCH_BCM2835 && ARCH_MULTI_V7
1655c972af4SRussell King		select DEBUG_UART_PL01X
166f1ac922dSStephen Warren
16706580275SHauke Mehrtens	config DEBUG_BCM_5301X
1682dc9e0b9SFlorian Fainelli		bool "Kernel low-level debugging on BCM5301X/NSP UART1"
1692dc9e0b9SFlorian Fainelli		depends on ARCH_BCM_5301X || ARCH_BCM_NSP
170140bd603SHauke Mehrtens		select DEBUG_UART_8250
17106580275SHauke Mehrtens
172753d1243SChristian Daudt	config DEBUG_BCM_KONA_UART
173753d1243SChristian Daudt		bool "Kernel low-level debugging messages via BCM KONA UART"
1747aa2077bSFlorian Fainelli		depends on ARCH_BCM_MOBILE
175753d1243SChristian Daudt		select DEBUG_UART_8250
176753d1243SChristian Daudt		help
177753d1243SChristian Daudt		  Say Y here if you want kernel low-level debugging support
178753d1243SChristian Daudt		  on Broadcom SoC platforms.
179753d1243SChristian Daudt		  This low level debug works for Broadcom
180753d1243SChristian Daudt		  mobile SoCs in the Kona family of chips (e.g. bcm28155,
181753d1243SChristian Daudt		  bcm11351, etc...)
182753d1243SChristian Daudt
1836c548099SArnd Bergmann	config DEBUG_BCM63XX_UART
184b51312beSFlorian Fainelli		bool "Kernel low-level debugging on BCM63XX UART"
185b51312beSFlorian Fainelli		depends on ARCH_BCM_63XX
186b51312beSFlorian Fainelli
187caad0b41SSebastian Hesselbarth	config DEBUG_BERLIN_UART
188caad0b41SSebastian Hesselbarth		bool "Marvell Berlin SoC Debug UART"
189caad0b41SSebastian Hesselbarth		depends on ARCH_BERLIN
190caad0b41SSebastian Hesselbarth		select DEBUG_UART_8250
191caad0b41SSebastian Hesselbarth		help
192caad0b41SSebastian Hesselbarth		  Say Y here if you want kernel low-level debugging support
193caad0b41SSebastian Hesselbarth		  on Marvell Berlin SoC based platforms.
194caad0b41SSebastian Hesselbarth
19581b43a6eSMarc Carino	config DEBUG_BRCMSTB_UART
19681b43a6eSMarc Carino		bool "Use BRCMSTB UART for low-level debug"
19781b43a6eSMarc Carino		depends on ARCH_BRCMSTB
19881b43a6eSMarc Carino		help
19981b43a6eSMarc Carino		  Say Y here if you want the debug print routines to direct
200d0cf9d8aSFlorian Fainelli		  their output to the first serial port on these devices. The
201d0cf9d8aSFlorian Fainelli		  UART physical and virtual address is automatically provided
202d0cf9d8aSFlorian Fainelli		  based on the chip identification register value.
20381b43a6eSMarc Carino
20481b43a6eSMarc Carino		  If you have a Broadcom STB chip and would like early print
20581b43a6eSMarc Carino		  messages to appear over the UART, select this option.
20681b43a6eSMarc Carino
207164acf96SStephen Boyd	config DEBUG_CLPS711X_UART1
208164acf96SStephen Boyd		bool "Kernel low-level debugging messages via UART1"
209164acf96SStephen Boyd		depends on ARCH_CLPS711X
210164acf96SStephen Boyd		help
211164acf96SStephen Boyd		  Say Y here if you want the debug print routines to direct
212164acf96SStephen Boyd		  their output to the first serial port on these devices.
21317916b28SWill Deacon
21417916b28SWill Deacon	config DEBUG_CLPS711X_UART2
21517916b28SWill Deacon		bool "Kernel low-level debugging messages via UART2"
21617916b28SWill Deacon		depends on ARCH_CLPS711X
21717916b28SWill Deacon		help
21817916b28SWill Deacon		  Say Y here if you want the debug print routines to direct
21917916b28SWill Deacon		  their output to the second serial port on these devices.
22017916b28SWill Deacon
22129c9b7beSArnd Bergmann	config DEBUG_CNS3XXX
22229c9b7beSArnd Bergmann		bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx"
22329c9b7beSArnd Bergmann		depends on ARCH_CNS3XXX
224b125170aSKrzysztof Hałasa		select DEBUG_UART_8250
22529c9b7beSArnd Bergmann		help
22629c9b7beSArnd Bergmann		  Say Y here if you want the debug print routines to direct
22729c9b7beSArnd Bergmann                  their output to the CNS3xxx UART0.
22829c9b7beSArnd Bergmann
229477099f1SUwe Kleine-König	config DEBUG_DAVINCI_DA8XX_UART1
230477099f1SUwe Kleine-König		bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
231477099f1SUwe Kleine-König		depends on ARCH_DAVINCI_DA8XX
23297bd1a48SRussell King		select DEBUG_UART_8250
233477099f1SUwe Kleine-König		help
234477099f1SUwe Kleine-König		  Say Y here if you want the debug print routines to direct
235477099f1SUwe Kleine-König		  their output to UART1 serial port on DaVinci DA8XX devices.
236477099f1SUwe Kleine-König
237477099f1SUwe Kleine-König	config DEBUG_DAVINCI_DA8XX_UART2
238477099f1SUwe Kleine-König		bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
239477099f1SUwe Kleine-König		depends on ARCH_DAVINCI_DA8XX
24097bd1a48SRussell King		select DEBUG_UART_8250
241477099f1SUwe Kleine-König		help
242477099f1SUwe Kleine-König		  Say Y here if you want the debug print routines to direct
243477099f1SUwe Kleine-König		  their output to UART2 serial port on DaVinci DA8XX devices.
244477099f1SUwe Kleine-König
245477099f1SUwe Kleine-König	config DEBUG_DAVINCI_DMx_UART0
246477099f1SUwe Kleine-König		bool "Kernel low-level debugging on DaVinci DMx using UART0"
247477099f1SUwe Kleine-König		depends on ARCH_DAVINCI_DMx
24897bd1a48SRussell King		select DEBUG_UART_8250
249477099f1SUwe Kleine-König		help
250477099f1SUwe Kleine-König		  Say Y here if you want the debug print routines to direct
251477099f1SUwe Kleine-König		  their output to UART0 serial port on DaVinci DMx devices.
252477099f1SUwe Kleine-König
253e76f4750SRussell King	config DEBUG_DC21285_PORT
254e76f4750SRussell King		bool "Kernel low-level debugging messages via footbridge serial port"
255e76f4750SRussell King		depends on FOOTBRIDGE
256e76f4750SRussell King		help
257e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
258e76f4750SRussell King		  their output to the serial port in the DC21285 (Footbridge).
259e76f4750SRussell King
260e23814daSBaruch Siach	config DEBUG_DIGICOLOR_UA0
261e23814daSBaruch Siach		bool "Kernel low-level debugging messages via Digicolor UA0"
262e23814daSBaruch Siach		depends on ARCH_DIGICOLOR
263e23814daSBaruch Siach		help
264e23814daSBaruch Siach		  Say Y here if you want the debug print routines to direct
265e23814daSBaruch Siach		  their output to the UA0 serial port in the CX92755.
266e23814daSBaruch Siach
267f06455faSArnd Bergmann	config DEBUG_EP93XX
268f06455faSArnd Bergmann		bool "Kernel low-level debugging messages via ep93xx UART"
269f06455faSArnd Bergmann		depends on ARCH_EP93XX
270f06455faSArnd Bergmann		select DEBUG_UART_PL01X
271f06455faSArnd Bergmann		help
272f06455faSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
273f06455faSArnd Bergmann		  on Cirrus Logic EP93xx based platforms.
274f06455faSArnd Bergmann
275e76f4750SRussell King	config DEBUG_FOOTBRIDGE_COM1
276e76f4750SRussell King		bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
277e76f4750SRussell King		depends on FOOTBRIDGE
2780045c0ddSArnd Bergmann		select DEBUG_UART_8250
279e76f4750SRussell King		help
280e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
281e76f4750SRussell King		  their output to the 8250 at PCI COM1.
282e76f4750SRussell King
283d7175a3bSArnd Bergmann	config DEBUG_GEMINI
284d7175a3bSArnd Bergmann		bool "Kernel low-level debugging messages via Cortina Systems Gemini UART"
285d7175a3bSArnd Bergmann		depends on ARCH_GEMINI
286d7175a3bSArnd Bergmann		select DEBUG_UART_8250
287d7175a3bSArnd Bergmann		help
288d7175a3bSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
289d7175a3bSArnd Bergmann		  on Cortina Gemini based platforms.
290d7175a3bSArnd Bergmann
2918d258bebSHaojian Zhuang	config DEBUG_HI3620_UART
2928d258bebSHaojian Zhuang		bool "Hisilicon HI3620 Debug UART"
2938d258bebSHaojian Zhuang		depends on ARCH_HI3xxx
2948d258bebSHaojian Zhuang		select DEBUG_UART_PL01X
2958d258bebSHaojian Zhuang		help
2968d258bebSHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
2978d258bebSHaojian Zhuang		  on HI3620 UART.
2988d258bebSHaojian Zhuang
299220e6cf7SRob Herring	config DEBUG_HIGHBANK_UART
300220e6cf7SRob Herring		bool "Kernel low-level debugging messages via Highbank UART"
301220e6cf7SRob Herring		depends on ARCH_HIGHBANK
3025c972af4SRussell King		select DEBUG_UART_PL01X
303220e6cf7SRob Herring		help
304220e6cf7SRob Herring		  Say Y here if you want the debug print routines to direct
305220e6cf7SRob Herring		  their output to the UART on Highbank based devices.
306220e6cf7SRob Herring
30727dafaa8SWang Long	config DEBUG_HIP01_UART
30827dafaa8SWang Long		bool "Hisilicon Hip01 Debug UART"
30927dafaa8SWang Long		depends on ARCH_HIP01
31027dafaa8SWang Long		select DEBUG_UART_8250
31127dafaa8SWang Long		help
31227dafaa8SWang Long		  Say Y here if you want kernel low-level debugging support
31327dafaa8SWang Long		  on HIP01 UART.
31427dafaa8SWang Long
315c9a1df48SHaojian Zhuang	config DEBUG_HIP04_UART
316c9a1df48SHaojian Zhuang		bool "Hisilicon HiP04 Debug UART"
317c9a1df48SHaojian Zhuang		depends on ARCH_HIP04
318c9a1df48SHaojian Zhuang		select DEBUG_UART_8250
319c9a1df48SHaojian Zhuang		help
320c9a1df48SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
321c9a1df48SHaojian Zhuang		  on HIP04 UART.
322c9a1df48SHaojian Zhuang
32337bdaf82SOlof Johansson	config DEBUG_HIX5HD2_UART
32437bdaf82SOlof Johansson		bool "Hisilicon Hix5hd2 Debug UART"
32537bdaf82SOlof Johansson		depends on ARCH_HIX5HD2
32693fd03a8SCatalin Marinas		select DEBUG_UART_PL01X
32793fd03a8SCatalin Marinas		help
32837bdaf82SOlof Johansson		  Say Y here if you want kernel low-level debugging support
32937bdaf82SOlof Johansson		  on Hix5hd2 UART.
3301da177e4SLinus Torvalds
331f350b861SShawn Guo	config DEBUG_IMX1_UART
332f350b861SShawn Guo		bool "i.MX1 Debug UART"
333f350b861SShawn Guo		depends on SOC_IMX1
334f350b861SShawn Guo		help
335f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
336f350b861SShawn Guo		  on i.MX1.
337f350b861SShawn Guo
338f350b861SShawn Guo	config DEBUG_IMX23_UART
339f350b861SShawn Guo		bool "i.MX23 Debug UART"
340f350b861SShawn Guo		depends on SOC_IMX23
3415c972af4SRussell King		select DEBUG_UART_PL01X
342f350b861SShawn Guo		help
343f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
344f350b861SShawn Guo		  on i.MX23.
345f350b861SShawn Guo
346f350b861SShawn Guo	config DEBUG_IMX25_UART
347f350b861SShawn Guo		bool "i.MX25 Debug UART"
348f350b861SShawn Guo		depends on SOC_IMX25
349f350b861SShawn Guo		help
350f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
351f350b861SShawn Guo		  on i.MX25.
352f350b861SShawn Guo
353f350b861SShawn Guo	config DEBUG_IMX21_IMX27_UART
354f350b861SShawn Guo		bool "i.MX21 and i.MX27 Debug UART"
355f350b861SShawn Guo		depends on SOC_IMX21 || SOC_IMX27
356f350b861SShawn Guo		help
357f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
358f350b861SShawn Guo		  on i.MX21 or i.MX27.
359f350b861SShawn Guo
360f350b861SShawn Guo	config DEBUG_IMX28_UART
361f350b861SShawn Guo		bool "i.MX28 Debug UART"
362f350b861SShawn Guo		depends on SOC_IMX28
3635c972af4SRussell King		select DEBUG_UART_PL01X
364f350b861SShawn Guo		help
365f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
366f350b861SShawn Guo		  on i.MX28.
367f350b861SShawn Guo
3684ad625d4SShawn Guo	config DEBUG_IMX31_UART
3694ad625d4SShawn Guo		bool "i.MX31 Debug UART"
3704ad625d4SShawn Guo		depends on SOC_IMX31
371f350b861SShawn Guo		help
372f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
3734ad625d4SShawn Guo		  on i.MX31.
3744ad625d4SShawn Guo
3754ad625d4SShawn Guo	config DEBUG_IMX35_UART
3764ad625d4SShawn Guo		bool "i.MX35 Debug UART"
3774ad625d4SShawn Guo		depends on SOC_IMX35
3784ad625d4SShawn Guo		help
3794ad625d4SShawn Guo		  Say Y here if you want kernel low-level debugging support
3804ad625d4SShawn Guo		  on i.MX35.
381f350b861SShawn Guo
382ad364a70SGreg Ungerer	config DEBUG_IMX50_UART
383ad364a70SGreg Ungerer		bool "i.MX50 Debug UART"
384ad364a70SGreg Ungerer		depends on SOC_IMX50
385ad364a70SGreg Ungerer		help
386ad364a70SGreg Ungerer		  Say Y here if you want kernel low-level debugging support
387ad364a70SGreg Ungerer		  on i.MX50.
388ad364a70SGreg Ungerer
389f350b861SShawn Guo	config DEBUG_IMX51_UART
390f350b861SShawn Guo		bool "i.MX51 Debug UART"
391f350b861SShawn Guo		depends on SOC_IMX51
392f350b861SShawn Guo		help
393f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
394f350b861SShawn Guo		  on i.MX51.
395f350b861SShawn Guo
3967356420cSFabio Estevam	config DEBUG_IMX53_UART
3977356420cSFabio Estevam		bool "i.MX53 Debug UART"
3987356420cSFabio Estevam		depends on SOC_IMX53
399f350b861SShawn Guo		help
400f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
4017356420cSFabio Estevam		  on i.MX53.
402f350b861SShawn Guo
40349c9e60eSShawn Guo	config DEBUG_IMX6Q_UART
4043c03a2feSShawn Guo		bool "i.MX6Q/DL Debug UART"
405785d7fabSDirk Behme		depends on SOC_IMX6Q
406785d7fabSDirk Behme		help
407785d7fabSDirk Behme		  Say Y here if you want kernel low-level debugging support
4083c03a2feSShawn Guo		  on i.MX6Q/DL.
409bac89d75SShawn Guo
41034e8a16bSShawn Guo	config DEBUG_IMX6SL_UART
41134e8a16bSShawn Guo		bool "i.MX6SL Debug UART"
41234e8a16bSShawn Guo		depends on SOC_IMX6SL
41334e8a16bSShawn Guo		help
41434e8a16bSShawn Guo		  Say Y here if you want kernel low-level debugging support
41534e8a16bSShawn Guo		  on i.MX6SL.
41634e8a16bSShawn Guo
41774368e81SShawn Guo	config DEBUG_IMX6SX_UART
41874368e81SShawn Guo		bool "i.MX6SX Debug UART"
41974368e81SShawn Guo		depends on SOC_IMX6SX
42074368e81SShawn Guo		help
42174368e81SShawn Guo		  Say Y here if you want kernel low-level debugging support
42274368e81SShawn Guo		  on i.MX6SX.
42374368e81SShawn Guo
42420c305f6SAnson Huang	config DEBUG_IMX6UL_UART
42520c305f6SAnson Huang		bool "i.MX6UL Debug UART"
42620c305f6SAnson Huang		depends on SOC_IMX6UL
42720c305f6SAnson Huang		help
42820c305f6SAnson Huang		  Say Y here if you want kernel low-level debugging support
42920c305f6SAnson Huang		  on i.MX6UL.
43020c305f6SAnson Huang
43152d7aec2SAnson Huang	config DEBUG_IMX7D_UART
43252d7aec2SAnson Huang		bool "i.MX7D Debug UART"
43352d7aec2SAnson Huang		depends on SOC_IMX7D
43452d7aec2SAnson Huang		help
43552d7aec2SAnson Huang		  Say Y here if you want kernel low-level debugging support
43652d7aec2SAnson Huang		  on i.MX7D.
43752d7aec2SAnson Huang
4384db22c10SArnd Bergmann	config DEBUG_INTEGRATOR
4394db22c10SArnd Bergmann		bool "Kernel low-level debugging messages via ARM Integrator UART"
4404db22c10SArnd Bergmann		depends on ARCH_INTEGRATOR
4414db22c10SArnd Bergmann		select DEBUG_UART_PL01X
4424db22c10SArnd Bergmann		help
4434db22c10SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
4444db22c10SArnd Bergmann		  on ARM Integrator platforms.
4454db22c10SArnd Bergmann
446828989adSSantosh Shilimkar	config DEBUG_KEYSTONE_UART0
447828989adSSantosh Shilimkar		bool "Kernel low-level debugging on KEYSTONE2 using UART0"
448828989adSSantosh Shilimkar		depends on ARCH_KEYSTONE
449f2acf003SRussell King		select DEBUG_UART_8250
450828989adSSantosh Shilimkar		help
451828989adSSantosh Shilimkar		  Say Y here if you want the debug print routines to direct
452828989adSSantosh Shilimkar		  their output to UART0 serial port on KEYSTONE2 devices.
453828989adSSantosh Shilimkar
454828989adSSantosh Shilimkar	config DEBUG_KEYSTONE_UART1
455828989adSSantosh Shilimkar		bool "Kernel low-level debugging on KEYSTONE2 using UART1"
456828989adSSantosh Shilimkar		depends on ARCH_KEYSTONE
457f2acf003SRussell King		select DEBUG_UART_8250
458828989adSSantosh Shilimkar		help
459828989adSSantosh Shilimkar		  Say Y here if you want the debug print routines to direct
460828989adSSantosh Shilimkar		  their output to UART1 serial port on KEYSTONE2 devices.
461828989adSSantosh Shilimkar
462abbfb21eSDaniel Thompson	config DEBUG_KS8695_UART
463abbfb21eSDaniel Thompson		bool "KS8695 Debug UART"
464abbfb21eSDaniel Thompson		depends on ARCH_KS8695
465abbfb21eSDaniel Thompson		help
466abbfb21eSDaniel Thompson		  Say Y here if you want kernel low-level debugging support
467abbfb21eSDaniel Thompson		  on KS8695.
468abbfb21eSDaniel Thompson
4690aed6a37SJoachim Eastwood	config DEBUG_LPC18XX_UART0
4700aed6a37SJoachim Eastwood		bool "Kernel low-level debugging via LPC18xx/43xx UART0"
4710aed6a37SJoachim Eastwood		depends on ARCH_LPC18XX
4720aed6a37SJoachim Eastwood		select DEBUG_UART_8250
4730aed6a37SJoachim Eastwood		help
4740aed6a37SJoachim Eastwood		  Say Y here if you want kernel low-level debugging support
4750aed6a37SJoachim Eastwood		  on NXP LPC18xx/43xx UART0.
4760aed6a37SJoachim Eastwood
47759bd4c38SArnd Bergmann	config DEBUG_LPC32XX
47859bd4c38SArnd Bergmann		bool "Kernel low-level debugging messages via NXP LPC32xx UART"
47959bd4c38SArnd Bergmann		depends on ARCH_LPC32XX
48059bd4c38SArnd Bergmann		select DEBUG_UART_8250
48159bd4c38SArnd Bergmann		help
48259bd4c38SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
48359bd4c38SArnd Bergmann		  on NXP LPC32xx based platforms.
48459bd4c38SArnd Bergmann
485d8a00916SCarlo Caione	config DEBUG_MESON_UARTAO
486d8a00916SCarlo Caione		bool "Kernel low-level debugging via Meson6 UARTAO"
487d8a00916SCarlo Caione		depends on ARCH_MESON
488d8a00916SCarlo Caione		help
489d8a00916SCarlo Caione		  Say Y here if you want kernel low-lever debugging support
490d8a00916SCarlo Caione		  on Amlogic Meson6 based platforms on the UARTAO.
491d8a00916SCarlo Caione
492fa4cd2a8SHaojian Zhuang	config DEBUG_MMP_UART2
493fa4cd2a8SHaojian Zhuang		bool "Kernel low-level debugging message via MMP UART2"
494fa4cd2a8SHaojian Zhuang		depends on ARCH_MMP
4954a003647SRussell King		select DEBUG_UART_8250
496fa4cd2a8SHaojian Zhuang		help
497fa4cd2a8SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
498fa4cd2a8SHaojian Zhuang		  on MMP UART2.
499fa4cd2a8SHaojian Zhuang
500fa4cd2a8SHaojian Zhuang	config DEBUG_MMP_UART3
501fa4cd2a8SHaojian Zhuang		bool "Kernel low-level debugging message via MMP UART3"
502fa4cd2a8SHaojian Zhuang		depends on ARCH_MMP
5034a003647SRussell King		select DEBUG_UART_8250
504fa4cd2a8SHaojian Zhuang		help
505fa4cd2a8SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
506fa4cd2a8SHaojian Zhuang		  on MMP UART3.
507fa4cd2a8SHaojian Zhuang
508d91125ddSMaxime Ripard	config DEBUG_MVEBU_UART0
509d91125ddSMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
510bfd5af99SRob Herring		depends on ARCH_MVEBU
511c047f529SArnd Bergmann		depends on ARCH_MVEBU && CPU_V7
5124a003647SRussell King		select DEBUG_UART_8250
513bfd5af99SRob Herring		help
514bfd5af99SRob Herring		  Say Y here if you want kernel low-level debugging support
515d91125ddSMaxime Ripard		  on MVEBU based platforms on UART0.
516bfd5af99SRob Herring
517c2804cd6SThomas Petazzoni		  This option should be used with the old bootloaders
518c2804cd6SThomas Petazzoni		  that left the internal registers mapped at
519c2804cd6SThomas Petazzoni		  0xd0000000. As of today, this is the case on
520c2804cd6SThomas Petazzoni		  platforms such as the Globalscale Mirabox or the
521c2804cd6SThomas Petazzoni		  Plathome OpenBlocks AX3, when using the original
522c2804cd6SThomas Petazzoni		  bootloader.
523c2804cd6SThomas Petazzoni
524c047f529SArnd Bergmann		  This option will not work on older Marvell platforms
525c047f529SArnd Bergmann		  (Kirkwood, Dove, MV78xx0, Orion5x), which should pick
526c047f529SArnd Bergmann		  the "new bootloader" variant.
527c047f529SArnd Bergmann
528c2804cd6SThomas Petazzoni		  If the wrong DEBUG_MVEBU_UART* option is selected,
529c2804cd6SThomas Petazzoni		  when u-boot hands over to the kernel, the system
530c2804cd6SThomas Petazzoni		  silently crashes, with no serial output at all.
531c2804cd6SThomas Petazzoni
532d91125ddSMaxime Ripard	config DEBUG_MVEBU_UART0_ALTERNATE
533d91125ddSMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
534c047f529SArnd Bergmann		depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X
5354a003647SRussell King		select DEBUG_UART_8250
536c2804cd6SThomas Petazzoni		help
537c2804cd6SThomas Petazzoni		  Say Y here if you want kernel low-level debugging support
538c047f529SArnd Bergmann		  on MVEBU based platforms on UART0. (Armada XP, Armada 3xx,
539c047f529SArnd Bergmann		  Kirkwood, Dove, MV78xx0, Orion5x).
540c047f529SArnd Bergmann
541c2804cd6SThomas Petazzoni
542c2804cd6SThomas Petazzoni		  This option should be used with the new bootloaders
543c2804cd6SThomas Petazzoni		  that remap the internal registers at 0xf1000000.
544c2804cd6SThomas Petazzoni
545c2804cd6SThomas Petazzoni		  If the wrong DEBUG_MVEBU_UART* option is selected,
546c2804cd6SThomas Petazzoni		  when u-boot hands over to the kernel, the system
547c2804cd6SThomas Petazzoni		  silently crashes, with no serial output at all.
548c2804cd6SThomas Petazzoni
549bd920490SMaxime Ripard	config DEBUG_MVEBU_UART1_ALTERNATE
550bd920490SMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
551bd920490SMaxime Ripard		depends on ARCH_MVEBU
552bd920490SMaxime Ripard		select DEBUG_UART_8250
553bd920490SMaxime Ripard		help
554bd920490SMaxime Ripard		  Say Y here if you want kernel low-level debugging support
555c047f529SArnd Bergmann		  on MVEBU based platforms on UART1. (Armada XP, Armada 3xx,
556c047f529SArnd Bergmann		  Kirkwood, Dove, MV78xx0, Orion5x).
557a3d3ef9dSStephen Boyd
5581da177e4SLinus Torvalds		  This option should be used with the new bootloaders
5591da177e4SLinus Torvalds		  that remap the internal registers at 0xf1000000.
560c047f529SArnd Bergmann		  All of the older (pre Armada XP/370) platforms also use
561c047f529SArnd Bergmann		  this address, regardless of the boot loader version.
5621da177e4SLinus Torvalds
5631da177e4SLinus Torvalds		  If the wrong DEBUG_MVEBU_UART* option is selected,
5641da177e4SLinus Torvalds		  when u-boot hands over to the kernel, the system
5651da177e4SLinus Torvalds		  silently crashes, with no serial output at all.
5661da177e4SLinus Torvalds
5671dc93416SArnd Bergmann	config DEBUG_MT6589_UART0
5681dc93416SArnd Bergmann		bool "Mediatek mt6589 UART0"
5691dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
5701dc93416SArnd Bergmann		select DEBUG_UART_8250
571c7c3eac6SShawn Guo		help
572c7c3eac6SShawn Guo		  Say Y here if you want kernel low-level debugging support
5731dc93416SArnd Bergmann		  for Mediatek mt6589 based platforms on UART0.
5741dc93416SArnd Bergmann
5751dc93416SArnd Bergmann	config DEBUG_MT8127_UART0
5761dc93416SArnd Bergmann		bool "Mediatek mt8127/mt6592 UART0"
5771dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
5781dc93416SArnd Bergmann		select DEBUG_UART_8250
5791dc93416SArnd Bergmann		help
5801dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
5811dc93416SArnd Bergmann		  for Mediatek mt8127 based platforms on UART0.
5821dc93416SArnd Bergmann
5831dc93416SArnd Bergmann	config DEBUG_MT8135_UART3
5841dc93416SArnd Bergmann		bool "Mediatek mt8135 UART3"
5851dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
5861dc93416SArnd Bergmann		select DEBUG_UART_8250
5871dc93416SArnd Bergmann		help
5881dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
5891dc93416SArnd Bergmann		  for Mediatek mt8135 based platforms on UART3.
590c7c3eac6SShawn Guo
5914d31e664SDaniel Thompson	config DEBUG_NETX_UART
5924d31e664SDaniel Thompson		bool "Kernel low-level debugging messages via NetX UART"
5934d31e664SDaniel Thompson		depends on ARCH_NETX
5944d31e664SDaniel Thompson		help
5954d31e664SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
5964d31e664SDaniel Thompson		  on Hilscher NetX based platforms.
5974d31e664SDaniel Thompson
598266c3479SLinus Walleij	config DEBUG_NOMADIK_UART
599266c3479SLinus Walleij		bool "Kernel low-level debugging messages via NOMADIK UART"
600266c3479SLinus Walleij		depends on ARCH_NOMADIK
6015c972af4SRussell King		select DEBUG_UART_PL01X
602266c3479SLinus Walleij		help
603266c3479SLinus Walleij		  Say Y here if you want kernel low-level debugging support
604266c3479SLinus Walleij		  on NOMADIK based platforms.
605266c3479SLinus Walleij
6069851ca57SDaniel Tang	config DEBUG_NSPIRE_CLASSIC_UART
6079851ca57SDaniel Tang		bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
6089851ca57SDaniel Tang		depends on ARCH_NSPIRE
6094a003647SRussell King		select DEBUG_UART_8250
6109851ca57SDaniel Tang		help
6119851ca57SDaniel Tang		  Say Y here if you want kernel low-level debugging support
6129851ca57SDaniel Tang		  on TI-NSPIRE classic models.
6139851ca57SDaniel Tang
6149851ca57SDaniel Tang	config DEBUG_NSPIRE_CX_UART
6159851ca57SDaniel Tang		bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
6169851ca57SDaniel Tang		depends on ARCH_NSPIRE
6175c972af4SRussell King		select DEBUG_UART_PL01X
6189851ca57SDaniel Tang		help
6199851ca57SDaniel Tang		  Say Y here if you want kernel low-level debugging support
6209851ca57SDaniel Tang		  on TI-NSPIRE CX models.
6219851ca57SDaniel Tang
622c26b9993SDaniel Thompson	config DEBUG_OMAP1UART1
623c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART1"
624c26b9993SDaniel Thompson		depends on ARCH_OMAP1
625c26b9993SDaniel Thompson		select DEBUG_UART_8250
626c26b9993SDaniel Thompson		help
627c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
628c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART1.
629c26b9993SDaniel Thompson
630c26b9993SDaniel Thompson	config DEBUG_OMAP1UART2
631c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART2"
632c26b9993SDaniel Thompson		depends on ARCH_OMAP1
633c26b9993SDaniel Thompson		select DEBUG_UART_8250
634c26b9993SDaniel Thompson		help
635c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
636c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART2.
637c26b9993SDaniel Thompson
638c26b9993SDaniel Thompson	config DEBUG_OMAP1UART3
639c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART3"
640c26b9993SDaniel Thompson		depends on ARCH_OMAP1
641c26b9993SDaniel Thompson		select DEBUG_UART_8250
642c26b9993SDaniel Thompson		help
643c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
644c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART3.
645c26b9993SDaniel Thompson
646cce278d2SRussell King	config DEBUG_OMAP2UART1
647cce278d2SRussell King		bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
648808b7e07STony Lindgren		depends on ARCH_OMAP2PLUS
649d2b310b0STony Lindgren		select DEBUG_UART_8250
650808b7e07STony Lindgren		help
651cce278d2SRussell King		  This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
652cce278d2SRussell King		  omap3 torpedo and 3530 lv som.
653cce278d2SRussell King
654cce278d2SRussell King	config DEBUG_OMAP2UART2
655cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
656cce278d2SRussell King		depends on ARCH_OMAP2PLUS
657d2b310b0STony Lindgren		select DEBUG_UART_8250
658cce278d2SRussell King
659cce278d2SRussell King	config DEBUG_OMAP2UART3
660cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
661cce278d2SRussell King		depends on ARCH_OMAP2PLUS
662d2b310b0STony Lindgren		select DEBUG_UART_8250
663cce278d2SRussell King
664cce278d2SRussell King	config DEBUG_OMAP3UART3
665cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
666cce278d2SRussell King		depends on ARCH_OMAP2PLUS
667fc23beb8STony Lindgren		select DEBUG_UART_8250
668cce278d2SRussell King		help
669cce278d2SRussell King		  This covers at least cm_t3x, beagle, crane, devkit8000,
670cce278d2SRussell King		  igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
671cce278d2SRussell King		  and 3517evm.
672cce278d2SRussell King
673cce278d2SRussell King	config DEBUG_OMAP4UART3
674cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
675cce278d2SRussell King		depends on ARCH_OMAP2PLUS
676fc23beb8STony Lindgren		select DEBUG_UART_8250
677cce278d2SRussell King
678cce278d2SRussell King	config DEBUG_OMAP3UART4
679cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP36XX UART4"
680cce278d2SRussell King		depends on ARCH_OMAP2PLUS
681fc23beb8STony Lindgren		select DEBUG_UART_8250
682cce278d2SRussell King
683cce278d2SRussell King	config DEBUG_OMAP4UART4
684cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP4/5 UART4"
685cce278d2SRussell King		depends on ARCH_OMAP2PLUS
686fc23beb8STony Lindgren		select DEBUG_UART_8250
687cce278d2SRussell King
688c26b9993SDaniel Thompson	config DEBUG_OMAP7XXUART1
689c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP730 UART1"
690c26b9993SDaniel Thompson		depends on ARCH_OMAP730
691c26b9993SDaniel Thompson		select DEBUG_UART_8250
692c26b9993SDaniel Thompson		help
693c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
694c26b9993SDaniel Thompson		  on OMAP730 based platforms on the UART1.
695c26b9993SDaniel Thompson
696c26b9993SDaniel Thompson	config DEBUG_OMAP7XXUART2
697c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP730 UART2"
698c26b9993SDaniel Thompson		depends on ARCH_OMAP730
699c26b9993SDaniel Thompson		select DEBUG_UART_8250
700c26b9993SDaniel Thompson		help
701c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
702c26b9993SDaniel Thompson		  on OMAP730 based platforms on the UART2.
703c26b9993SDaniel Thompson
704c26b9993SDaniel Thompson	config DEBUG_OMAP7XXUART3
705c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP730 UART3"
706c26b9993SDaniel Thompson		depends on ARCH_OMAP730
707c26b9993SDaniel Thompson		select DEBUG_UART_8250
708c26b9993SDaniel Thompson		help
709c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
710c26b9993SDaniel Thompson		  on OMAP730 based platforms on the UART3.
711c26b9993SDaniel Thompson
712cce278d2SRussell King	config DEBUG_TI81XXUART1
713cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
714cce278d2SRussell King		depends on ARCH_OMAP2PLUS
715*2d1f7d2eSTony Lindgren		select DEBUG_UART_8250
716cce278d2SRussell King
717cce278d2SRussell King	config DEBUG_TI81XXUART2
718cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART2"
719cce278d2SRussell King		depends on ARCH_OMAP2PLUS
720*2d1f7d2eSTony Lindgren		select DEBUG_UART_8250
721cce278d2SRussell King
722cce278d2SRussell King	config DEBUG_TI81XXUART3
723cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
724cce278d2SRussell King		depends on ARCH_OMAP2PLUS
725*2d1f7d2eSTony Lindgren		select DEBUG_UART_8250
726cce278d2SRussell King
727cce278d2SRussell King	config DEBUG_AM33XXUART1
728cce278d2SRussell King		bool "Kernel low-level debugging messages via AM33XX UART1"
729cce278d2SRussell King		depends on ARCH_OMAP2PLUS
730cce278d2SRussell King		select DEBUG_OMAP2PLUS_UART
731cce278d2SRussell King
732cce278d2SRussell King	config DEBUG_ZOOM_UART
733cce278d2SRussell King		bool "Kernel low-level debugging messages via Zoom2/3 UART"
734cce278d2SRussell King		depends on ARCH_OMAP2PLUS
735cce278d2SRussell King		select DEBUG_OMAP2PLUS_UART
736808b7e07STony Lindgren
73759bba2a9SRob Herring	config DEBUG_PICOXCELL_UART
73859bba2a9SRob Herring		depends on ARCH_PICOXCELL
73959bba2a9SRob Herring		bool "Use PicoXcell UART for low-level debug"
7400b4cccbeSRussell King		select DEBUG_UART_8250
74159bba2a9SRob Herring		help
74259bba2a9SRob Herring		  Say Y here if you want kernel low-level debugging support
74359bba2a9SRob Herring		  on PicoXcell based platforms.
74459bba2a9SRob Herring
7450a43cd3bSHaojian Zhuang	config DEBUG_PXA_UART1
7460a43cd3bSHaojian Zhuang		depends on ARCH_PXA
7470a43cd3bSHaojian Zhuang		bool "Use PXA UART1 for low-level debug"
7484a003647SRussell King		select DEBUG_UART_8250
7490a43cd3bSHaojian Zhuang		help
7500a43cd3bSHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
7510a43cd3bSHaojian Zhuang		  on PXA UART1.
7520a43cd3bSHaojian Zhuang
7531dc93416SArnd Bergmann	config DEBUG_QCOM_UARTDM
7541dc93416SArnd Bergmann		bool "Kernel low-level debugging messages via QCOM UARTDM"
7551dc93416SArnd Bergmann		depends on ARCH_QCOM
7561dc93416SArnd Bergmann		help
7571dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
7581dc93416SArnd Bergmann		  their output to the serial port on Qualcomm devices.
7591dc93416SArnd Bergmann
7601dc93416SArnd Bergmann		  ARCH      DEBUG_UART_PHYS   DEBUG_UART_VIRT
7611dc93416SArnd Bergmann		  APQ8064   0x16640000        0xf0040000
7621dc93416SArnd Bergmann		  APQ8084   0xf995e000        0xfa75e000
7637b87fe94SChristian Lamparter		  IPQ4019   0x078af000        0xf78af000
7641dc93416SArnd Bergmann		  MSM8X60   0x19c40000        0xf0040000
7651dc93416SArnd Bergmann		  MSM8960   0x16440000        0xf0040000
7661dc93416SArnd Bergmann		  MSM8974   0xf991e000        0xfa71e000
7671dc93416SArnd Bergmann
7681dc93416SArnd Bergmann		  Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
7691dc93416SArnd Bergmann		  options based on your needs.
7701dc93416SArnd Bergmann
771e76f4750SRussell King	config DEBUG_REALVIEW_STD_PORT
772e76f4750SRussell King		bool "RealView Default UART"
773e76f4750SRussell King		depends on ARCH_REALVIEW
7745c972af4SRussell King		select DEBUG_UART_PL01X
775e76f4750SRussell King		help
776e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
777e76f4750SRussell King		  their output to the serial port on RealView EB, PB11MP, PBA8
778e76f4750SRussell King		  and PBX platforms.
779e76f4750SRussell King
780e76f4750SRussell King	config DEBUG_REALVIEW_PB1176_PORT
781e76f4750SRussell King		bool "RealView PB1176 UART"
782e76f4750SRussell King		depends on MACH_REALVIEW_PB1176
7835c972af4SRussell King		select DEBUG_UART_PL01X
784e76f4750SRussell King		help
785e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
786e76f4750SRussell King		  their output to the standard serial port on the RealView
787e76f4750SRussell King		  PB1176 platform.
788e76f4750SRussell King
789a3b882f9SAndy Yan	config DEBUG_RV1108_UART0
790a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART0"
791a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
792a3b882f9SAndy Yan		select DEBUG_UART_8250
793a3b882f9SAndy Yan		help
794a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
795a3b882f9SAndy Yan                  on Rockchip RV1108 based platforms.
796a3b882f9SAndy Yan
797a3b882f9SAndy Yan	config DEBUG_RV1108_UART1
798a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART1"
799a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
800a3b882f9SAndy Yan		select DEBUG_UART_8250
801a3b882f9SAndy Yan		help
802a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
803a3b882f9SAndy Yan		  on Rockchip RV1108 based platforms.
804a3b882f9SAndy Yan
805a3b882f9SAndy Yan	config DEBUG_RV1108_UART2
806a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART2"
807a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
808a3b882f9SAndy Yan		select DEBUG_UART_8250
809a3b882f9SAndy Yan		help
810a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
811a3b882f9SAndy Yan		  on Rockchip RV1108 based platforms.
812a3b882f9SAndy Yan
813cce278d2SRussell King	config DEBUG_RK29_UART0
814cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
81538bd6892SHeiko Stuebner		depends on ARCH_ROCKCHIP
8164a003647SRussell King		select DEBUG_UART_8250
817cce278d2SRussell King		help
818cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
819cce278d2SRussell King		  on Rockchip based platforms.
820cce278d2SRussell King
821cce278d2SRussell King	config DEBUG_RK29_UART1
822cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
823cce278d2SRussell King		depends on ARCH_ROCKCHIP
8244a003647SRussell King		select DEBUG_UART_8250
825cce278d2SRussell King		help
826cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
827cce278d2SRussell King		  on Rockchip based platforms.
828cce278d2SRussell King
829cce278d2SRussell King	config DEBUG_RK29_UART2
830cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
831cce278d2SRussell King		depends on ARCH_ROCKCHIP
8324a003647SRussell King		select DEBUG_UART_8250
833cce278d2SRussell King		help
834cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
835cce278d2SRussell King		  on Rockchip based platforms.
836cce278d2SRussell King
837cce278d2SRussell King	config DEBUG_RK3X_UART0
838aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
839cce278d2SRussell King		depends on ARCH_ROCKCHIP
8404a003647SRussell King		select DEBUG_UART_8250
841cce278d2SRussell King		help
842cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
843cce278d2SRussell King		  on Rockchip based platforms.
844cce278d2SRussell King
845cce278d2SRussell King	config DEBUG_RK3X_UART1
846aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
847cce278d2SRussell King		depends on ARCH_ROCKCHIP
8484a003647SRussell King		select DEBUG_UART_8250
849cce278d2SRussell King		help
850cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
851cce278d2SRussell King		  on Rockchip based platforms.
852cce278d2SRussell King
853cce278d2SRussell King	config DEBUG_RK3X_UART2
854aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
855cce278d2SRussell King		depends on ARCH_ROCKCHIP
8564a003647SRussell King		select DEBUG_UART_8250
857cce278d2SRussell King		help
858cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
859cce278d2SRussell King		  on Rockchip based platforms.
860cce278d2SRussell King
861cce278d2SRussell King	config DEBUG_RK3X_UART3
862aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
863cce278d2SRussell King		depends on ARCH_ROCKCHIP
8644a003647SRussell King		select DEBUG_UART_8250
86538bd6892SHeiko Stuebner		help
86638bd6892SHeiko Stuebner		  Say Y here if you want kernel low-level debugging support
86738bd6892SHeiko Stuebner		  on Rockchip based platforms.
86838bd6892SHeiko Stuebner
869efd02ee9SHeiko Stuebner	config DEBUG_RK32_UART2
870efd02ee9SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
871efd02ee9SHeiko Stuebner		depends on ARCH_ROCKCHIP
872efd02ee9SHeiko Stuebner		select DEBUG_UART_8250
873efd02ee9SHeiko Stuebner		help
874efd02ee9SHeiko Stuebner		  Say Y here if you want kernel low-level debugging support
875efd02ee9SHeiko Stuebner		  on Rockchip RK32xx based platforms.
876efd02ee9SHeiko Stuebner
8777a2071c5SGeert Uytterhoeven	config DEBUG_R7S72100_SCIF2
8787a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
8797a2071c5SGeert Uytterhoeven		depends on ARCH_R7S72100
8807a2071c5SGeert Uytterhoeven		help
8817a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
8827a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas RZ/A1H (R7S72100).
8837a2071c5SGeert Uytterhoeven
8847a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN1_SCIF0
8857a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
8867a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7778
8877a2071c5SGeert Uytterhoeven		help
8887a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
8897a2071c5SGeert Uytterhoeven		  via SCIF0 on Renesas R-Car M1A (R8A7778).
8907a2071c5SGeert Uytterhoeven
8917a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN1_SCIF2
8927a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
8937a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7779
8947a2071c5SGeert Uytterhoeven		help
8957a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
8967a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas R-Car H1 (R8A7779).
8977a2071c5SGeert Uytterhoeven
8987a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN2_SCIF0
899aedc53a9SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7792/R8A7793"
900aedc53a9SGeert Uytterhoeven		depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7792 || ARCH_R8A7793
9017a2071c5SGeert Uytterhoeven		help
9027a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
903aedc53a9SGeert Uytterhoeven		  via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), V2H
904aedc53a9SGeert Uytterhoeven		  (R8A7792), or M2-N (R8A7793).
9057a2071c5SGeert Uytterhoeven
9067a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN2_SCIF2
9077a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
9087a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7794
9097a2071c5SGeert Uytterhoeven		help
9107a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9117a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas R-Car E2 (R8A7794).
9127a2071c5SGeert Uytterhoeven
9137a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA0
91459b89af1SMagnus Damm		bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
91559b89af1SMagnus Damm		depends on ARCH_R8A73A4
9167a2071c5SGeert Uytterhoeven		help
9177a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
91859b89af1SMagnus Damm		  via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
9197a2071c5SGeert Uytterhoeven
9207a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA1
9217a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
9227a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7740
9237a2071c5SGeert Uytterhoeven		help
9247a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9257a2071c5SGeert Uytterhoeven		  via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
9267a2071c5SGeert Uytterhoeven
9277a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA4
9287a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
9297a2071c5SGeert Uytterhoeven		depends on ARCH_SH73A0
9307a2071c5SGeert Uytterhoeven		help
9317a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9327a2071c5SGeert Uytterhoeven		  via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
9337a2071c5SGeert Uytterhoeven
934e76f4750SRussell King	config DEBUG_S3C_UART0
935e76f4750SRussell King		depends on PLAT_SAMSUNG
936a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
9371899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
938bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
9397bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
9405cc8a016SSachin Kamat		bool "Use Samsung S3C UART 0 for low-level debug"
941e76f4750SRussell King		help
942e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
943e76f4750SRussell King		  their output to UART 0. The port must have been initialised
944e76f4750SRussell King		  by the boot-loader before use.
945e76f4750SRussell King
946e76f4750SRussell King	config DEBUG_S3C_UART1
947e76f4750SRussell King		depends on PLAT_SAMSUNG
948a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
9491899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
950bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
9517bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
9525cc8a016SSachin Kamat		bool "Use Samsung S3C UART 1 for low-level debug"
953e76f4750SRussell King		help
954e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
955e76f4750SRussell King		  their output to UART 1. The port must have been initialised
956e76f4750SRussell King		  by the boot-loader before use.
957e76f4750SRussell King
958e76f4750SRussell King	config DEBUG_S3C_UART2
959e76f4750SRussell King		depends on PLAT_SAMSUNG
960a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
9611899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
962bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
9637bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
9645cc8a016SSachin Kamat		bool "Use Samsung S3C UART 2 for low-level debug"
965e76f4750SRussell King		help
966e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
967e76f4750SRussell King		  their output to UART 2. The port must have been initialised
968e76f4750SRussell King		  by the boot-loader before use.
969e76f4750SRussell King
9705fa23ddeSOlof Johansson	config DEBUG_S3C_UART3
9717bab7d9eSTomasz Figa		depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210)
9727bab7d9eSTomasz Figa		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
973bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
9747bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
9755cc8a016SSachin Kamat		bool "Use Samsung S3C UART 3 for low-level debug"
9765fa23ddeSOlof Johansson		help
9775fa23ddeSOlof Johansson		  Say Y here if you want the debug print routines to direct
9785fa23ddeSOlof Johansson		  their output to UART 3. The port must have been initialised
9795fa23ddeSOlof Johansson		  by the boot-loader before use.
9805fa23ddeSOlof Johansson
981daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART0
982daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
983daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
984daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
985daf67dfcSHeiko Stuebner		help
986daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
987daf67dfcSHeiko Stuebner		  their output to UART 0. The port must have been initialised
988daf67dfcSHeiko Stuebner		  by the boot-loader before use.
989daf67dfcSHeiko Stuebner
990daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART1
991daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
992daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
993daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
994daf67dfcSHeiko Stuebner		help
995daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
996daf67dfcSHeiko Stuebner		  their output to UART 1. The port must have been initialised
997daf67dfcSHeiko Stuebner		  by the boot-loader before use.
998daf67dfcSHeiko Stuebner
999daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART2
1000daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
1001daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
1002daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
1003daf67dfcSHeiko Stuebner		help
1004daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
1005daf67dfcSHeiko Stuebner		  their output to UART 2. The port must have been initialised
1006daf67dfcSHeiko Stuebner		  by the boot-loader before use.
1007daf67dfcSHeiko Stuebner
1008e6131fa3SDmitry Eremin-Solenikov	config DEBUG_SA1100
1009e6131fa3SDmitry Eremin-Solenikov		depends on ARCH_SA1100
1010e6131fa3SDmitry Eremin-Solenikov		bool "Use SA1100 UARTs for low-level debug"
1011e6131fa3SDmitry Eremin-Solenikov		help
1012e6131fa3SDmitry Eremin-Solenikov		  Say Y here if you want kernel low-level debugging support
1013e6131fa3SDmitry Eremin-Solenikov		  on SA-11x0 UART ports. The kernel will check for the first
1014e6131fa3SDmitry Eremin-Solenikov		  enabled UART in a sequence 3-1-2.
1015e6131fa3SDmitry Eremin-Solenikov
1016de73c162SDinh Nguyen	config DEBUG_SOCFPGA_UART0
10176111bf7cSRob Herring		depends on ARCH_SOCFPGA
1018de73c162SDinh Nguyen		bool "Use SOCFPGA UART0 for low-level debug"
10190b4cccbeSRussell King		select DEBUG_UART_8250
10206111bf7cSRob Herring		help
10216111bf7cSRob Herring		  Say Y here if you want kernel low-level debugging support
1022de73c162SDinh Nguyen		  on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
1023de73c162SDinh Nguyen
1024de73c162SDinh Nguyen	config DEBUG_SOCFPGA_UART1
1025de73c162SDinh Nguyen		depends on ARCH_SOCFPGA
1026de73c162SDinh Nguyen		bool "Use SOCFPGA UART1 for low-level debug"
1027de73c162SDinh Nguyen		select DEBUG_UART_8250
1028de73c162SDinh Nguyen		help
1029de73c162SDinh Nguyen		  Say Y here if you want kernel low-level debugging support
1030de73c162SDinh Nguyen		  on SOCFPGA(Arria 10) based platforms.
1031de73c162SDinh Nguyen
10326111bf7cSRob Herring
1033d4da889aSChen-Yu Tsai	config DEBUG_SUN9I_UART0
1034d4da889aSChen-Yu Tsai		bool "Kernel low-level debugging messages via sun9i UART0"
1035d4da889aSChen-Yu Tsai		depends on MACH_SUN9I
1036d4da889aSChen-Yu Tsai		select DEBUG_UART_8250
1037d4da889aSChen-Yu Tsai		help
1038d4da889aSChen-Yu Tsai		  Say Y here if you want kernel low-level debugging support
1039d4da889aSChen-Yu Tsai		  on Allwinner A80 based platforms on the UART0.
1040d4da889aSChen-Yu Tsai
1041aa25115aSStefan Roese	config DEBUG_SUNXI_UART0
1042aa25115aSStefan Roese		bool "Kernel low-level debugging messages via sunXi UART0"
1043aa25115aSStefan Roese		depends on ARCH_SUNXI
10444a003647SRussell King		select DEBUG_UART_8250
1045aa25115aSStefan Roese		help
1046aa25115aSStefan Roese		  Say Y here if you want kernel low-level debugging support
1047aa25115aSStefan Roese		  on Allwinner A1X based platforms on the UART0.
1048aa25115aSStefan Roese
1049cb84fa18SMaxime Ripard	config DEBUG_SUNXI_UART1
1050cb84fa18SMaxime Ripard		bool "Kernel low-level debugging messages via sunXi UART1"
1051cb84fa18SMaxime Ripard		depends on ARCH_SUNXI
10524a003647SRussell King		select DEBUG_UART_8250
1053cb84fa18SMaxime Ripard		help
1054cb84fa18SMaxime Ripard		  Say Y here if you want kernel low-level debugging support
1055cb84fa18SMaxime Ripard		  on Allwinner A1X based platforms on the UART1.
1056cb84fa18SMaxime Ripard
1057c4718543SChen-Yu Tsai	config DEBUG_SUNXI_R_UART
1058c4718543SChen-Yu Tsai		bool "Kernel low-level debugging messages via sunXi R_UART"
1059c4718543SChen-Yu Tsai		depends on MACH_SUN6I || MACH_SUN8I
1060c4718543SChen-Yu Tsai		select DEBUG_UART_8250
1061c4718543SChen-Yu Tsai		help
1062c4718543SChen-Yu Tsai		  Say Y here if you want kernel low-level debugging support
1063c4718543SChen-Yu Tsai		  on Allwinner A31/A23 based platforms on the R_UART.
1064c4718543SChen-Yu Tsai
10657f46a107SBarry Song	config DEBUG_SIRFPRIMA2_UART1
10667f46a107SBarry Song		bool "Kernel low-level debugging messages via SiRFprimaII UART1"
10677f46a107SBarry Song		depends on ARCH_PRIMA2
106801ea63d9SGuo Zeng		select DEBUG_SIRFSOC_UART
10697f46a107SBarry Song		help
10707f46a107SBarry Song		  Say Y here if you want the debug print routines to direct
10717f46a107SBarry Song		  their output to the uart1 port on SiRFprimaII devices.
10727f46a107SBarry Song
107301ea63d9SGuo Zeng	config DEBUG_SIRFATLAS7_UART0
107401ea63d9SGuo Zeng		bool "Kernel low-level debugging messages via SiRFatlas7 UART0"
107501ea63d9SGuo Zeng		depends on ARCH_ATLAS7
107601ea63d9SGuo Zeng		select DEBUG_SIRFSOC_UART
10777f46a107SBarry Song		help
10787f46a107SBarry Song		  Say Y here if you want the debug print routines to direct
107901ea63d9SGuo Zeng		  their output to the uart0 port on SiRFATLAS7 devices.The uart0
108001ea63d9SGuo Zeng		  is used on SiRFATLAS7 as a extra debug port.sometimes an extra
108101ea63d9SGuo Zeng		  debug port can be very useful.
108201ea63d9SGuo Zeng
108301ea63d9SGuo Zeng	config DEBUG_SIRFATLAS7_UART1
108401ea63d9SGuo Zeng		bool "Kernel low-level debugging messages via SiRFatlas7 UART1"
108501ea63d9SGuo Zeng		depends on ARCH_ATLAS7
108601ea63d9SGuo Zeng		select DEBUG_SIRFSOC_UART
108701ea63d9SGuo Zeng		help
108801ea63d9SGuo Zeng		  Say Y here if you want the debug print routines to direct
108901ea63d9SGuo Zeng		  their output to the uart1 port on SiRFATLAS7 devices.
10907f46a107SBarry Song
1091375d84cfSArnd Bergmann	config DEBUG_SPEAR3XX
1092375d84cfSArnd Bergmann		bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART"
1093375d84cfSArnd Bergmann		depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX
1094375d84cfSArnd Bergmann		select DEBUG_UART_PL01X
1095375d84cfSArnd Bergmann		help
1096375d84cfSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1097375d84cfSArnd Bergmann		  on ST SPEAr based platforms.
1098375d84cfSArnd Bergmann
1099375d84cfSArnd Bergmann	config DEBUG_SPEAR13XX
1100375d84cfSArnd Bergmann		bool "Kernel low-level debugging messages via ST SPEAr 13xx UART"
1101375d84cfSArnd Bergmann		depends on ARCH_SPEAR13XX
1102375d84cfSArnd Bergmann		select DEBUG_UART_PL01X
1103375d84cfSArnd Bergmann		help
1104375d84cfSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1105375d84cfSArnd Bergmann		  on ST SPEAr13xx based platforms.
1106375d84cfSArnd Bergmann
1107cce278d2SRussell King	config STIH41X_DEBUG_ASC2
1108cce278d2SRussell King		bool "Use StiH415/416 ASC2 UART for low-level debug"
11095562b800SArnd Bergmann		depends on ARCH_STI
1110cce278d2SRussell King		select DEBUG_STI_UART
11115562b800SArnd Bergmann		help
11125562b800SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1113cce278d2SRussell King		  on STiH415/416 based platforms like b2000, which has
1114cce278d2SRussell King		  default UART wired up to ASC2.
1115cce278d2SRussell King
1116cce278d2SRussell King		  If unsure, say N.
1117cce278d2SRussell King
1118cce278d2SRussell King	config STIH41X_DEBUG_SBC_ASC1
1119cce278d2SRussell King		bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
1120cce278d2SRussell King		depends on ARCH_STI
1121cce278d2SRussell King		select DEBUG_STI_UART
1122cce278d2SRussell King		help
1123cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
1124cce278d2SRussell King		  on STiH415/416 based platforms like b2020. which has
1125cce278d2SRussell King		  default UART wired up to SBC ASC1.
11265562b800SArnd Bergmann
11275562b800SArnd Bergmann		  If unsure, say N.
11285562b800SArnd Bergmann
11291da177e4SLinus Torvalds	config TEGRA_DEBUG_UART_AUTO_ODMDATA
11301da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
11311da177e4SLinus Torvalds		depends on ARCH_TEGRA
11321da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
11331da177e4SLinus Torvalds		help
11341da177e4SLinus Torvalds		  Automatically determines which UART to use for low-level
11351da177e4SLinus Torvalds		  debug based on the ODMDATA value. This value is part of
11361da177e4SLinus Torvalds		  the BCT, and is written to the boot memory device using
11371da177e4SLinus Torvalds		  nvflash, or other flashing tool.  When bits 19:18 are 3,
11381da177e4SLinus Torvalds		  then bits 17:15 indicate which UART to use; 0/1/2/3/4
11391da177e4SLinus Torvalds		  are UART A/B/C/D/E.
11401da177e4SLinus Torvalds
11411da177e4SLinus Torvalds	config TEGRA_DEBUG_UARTA
11421da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART A"
11431da177e4SLinus Torvalds		depends on ARCH_TEGRA
11441da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
11451da177e4SLinus Torvalds		help
11461da177e4SLinus Torvalds		  Say Y here if you want kernel low-level debugging support
11471da177e4SLinus Torvalds		  on Tegra based platforms.
11481da177e4SLinus Torvalds
11491da177e4SLinus Torvalds	config TEGRA_DEBUG_UARTB
11501da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART B"
11511da177e4SLinus Torvalds		depends on ARCH_TEGRA
11521da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
11531da177e4SLinus Torvalds		help
11541da177e4SLinus Torvalds		  Say Y here if you want kernel low-level debugging support
11551da177e4SLinus Torvalds		  on Tegra based platforms.
11561da177e4SLinus Torvalds
11571da177e4SLinus Torvalds	config TEGRA_DEBUG_UARTC
11581da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART C"
11591da177e4SLinus Torvalds		depends on ARCH_TEGRA
11601da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
11611da177e4SLinus Torvalds		help
1162e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1163e76f4750SRussell King		  on Tegra based platforms.
1164e76f4750SRussell King
1165e76f4750SRussell King	config TEGRA_DEBUG_UARTD
1166e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART D"
1167e76f4750SRussell King		depends on ARCH_TEGRA
1168e76f4750SRussell King		select DEBUG_TEGRA_UART
1169e76f4750SRussell King		help
1170e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1171e76f4750SRussell King		  on Tegra based platforms.
1172e76f4750SRussell King
1173e76f4750SRussell King	config TEGRA_DEBUG_UARTE
1174e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART E"
1175e76f4750SRussell King		depends on ARCH_TEGRA
1176e76f4750SRussell King		select DEBUG_TEGRA_UART
1177e76f4750SRussell King		help
1178e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1179e76f4750SRussell King		  on Tegra based platforms.
1180e76f4750SRussell King
1181dd324da7SLinus Walleij	config DEBUG_U300_UART
1182dd324da7SLinus Walleij		bool "Kernel low-level debugging messages via U300 UART0"
1183dd324da7SLinus Walleij		depends on ARCH_U300
11845c972af4SRussell King		select DEBUG_UART_PL01X
1185dd324da7SLinus Walleij		help
1186dd324da7SLinus Walleij		  Say Y here if you want the debug print routines to direct
1187dd324da7SLinus Walleij		  their output to the uart port on U300 devices.
1188dd324da7SLinus Walleij
1189f87b95ddSLinus Walleij	config DEBUG_UX500_UART
1190f87b95ddSLinus Walleij		depends on ARCH_U8500
1191f87b95ddSLinus Walleij		bool "Use Ux500 UART for low-level debug"
1192f87b95ddSLinus Walleij		help
1193f87b95ddSLinus Walleij		  Say Y here if you want kernel low-level debugging support
1194f87b95ddSLinus Walleij		  on Ux500 based platforms.
1195f87b95ddSLinus Walleij
11964db22c10SArnd Bergmann	config DEBUG_VERSATILE
11974db22c10SArnd Bergmann		bool "Kernel low-level debugging messages via ARM Versatile UART"
11984db22c10SArnd Bergmann		depends on ARCH_VERSATILE
11994db22c10SArnd Bergmann		select DEBUG_UART_PL01X
1200d6682085SMatthias Brugger		help
1201d6682085SMatthias Brugger		  Say Y here if you want kernel low-level debugging support
12024db22c10SArnd Bergmann		  on ARM Versatile platforms.
120365ec48c0SJoe.C
12041b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_DETECT
12051b820eafSPawel Moll		bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
12061b820eafSPawel Moll		depends on ARCH_VEXPRESS && CPU_CP15_MMU
12071b820eafSPawel Moll		help
12081b820eafSPawel Moll		  This option enables a simple heuristic which tries to determine
12091b820eafSPawel Moll		  the motherboard's memory map variant (original or RS1) and then
12101b820eafSPawel Moll		  choose the relevant UART0 base address.
12111b820eafSPawel Moll
12121b820eafSPawel Moll		  Note that this will only work with standard A-class core tiles,
12131b820eafSPawel Moll		  and may fail with non-standard SMM or custom software models.
12141b820eafSPawel Moll
12151b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_CA9
12161b820eafSPawel Moll		bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
12171b820eafSPawel Moll		depends on ARCH_VEXPRESS
12185c972af4SRussell King		select DEBUG_UART_PL01X
12191b820eafSPawel Moll		help
12201b820eafSPawel Moll		  This option selects UART0 at 0x10009000. Except for custom models,
12211b820eafSPawel Moll		  this applies only to the V2P-CA9 tile.
12221b820eafSPawel Moll
12231b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_RS1
12241b820eafSPawel Moll		bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
12251b820eafSPawel Moll		depends on ARCH_VEXPRESS
12265c972af4SRussell King		select DEBUG_UART_PL01X
12271b820eafSPawel Moll		help
12281b820eafSPawel Moll		  This option selects UART0 at 0x1c090000. This applies to most
12291b820eafSPawel Moll		  of the tiles using the RS1 memory map, including all new A-class
12301b820eafSPawel Moll		  core tiles, FPGA-based SMMs and software models.
12311b820eafSPawel Moll
1232ed18bdc8SJonathan Austin	config DEBUG_VEXPRESS_UART0_CRX
1233ed18bdc8SJonathan Austin		bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
1234ed18bdc8SJonathan Austin		depends on ARCH_VEXPRESS && !MMU
12355c972af4SRussell King		select DEBUG_UART_PL01X
1236ed18bdc8SJonathan Austin		help
1237ed18bdc8SJonathan Austin		  This option selects UART0 at 0xb0090000. This is appropriate for
1238ed18bdc8SJonathan Austin		  Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
1239ed18bdc8SJonathan Austin
12401dc93416SArnd Bergmann	config DEBUG_VF_UART
12411dc93416SArnd Bergmann		bool "Vybrid UART"
12421dc93416SArnd Bergmann		depends on SOC_VF610
12431dc93416SArnd Bergmann		help
12441dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
12451dc93416SArnd Bergmann		  on Vybrid based platforms.
12461dc93416SArnd Bergmann
1247b61a2722STony Prisk	config DEBUG_VT8500_UART0
1248b61a2722STony Prisk		bool "Use UART0 on VIA/Wondermedia SoCs"
1249b61a2722STony Prisk		depends on ARCH_VT8500
1250b61a2722STony Prisk		help
1251b61a2722STony Prisk		  This option selects UART0 on VIA/Wondermedia System-on-a-chip
1252b61a2722STony Prisk		  devices, including VT8500, WM8505, WM8650 and WM8850.
1253b61a2722STony Prisk
12541dc93416SArnd Bergmann	config DEBUG_ZTE_ZX
12551dc93416SArnd Bergmann		bool "Use ZTE ZX UART"
12561dc93416SArnd Bergmann		select DEBUG_UART_PL01X
12571dc93416SArnd Bergmann		depends on ARCH_ZX
12581dc93416SArnd Bergmann		help
12591dc93416SArnd Bergmann		  Say Y here if you are enabling ZTE ZX296702 SOC and need
12601dc93416SArnd Bergmann		  debug uart support.
12611dc93416SArnd Bergmann
12621dc93416SArnd Bergmann		  This option is preferred over the platform specific
12631dc93416SArnd Bergmann		  options; the platform specific options are deprecated
12641dc93416SArnd Bergmann		  and will be soon removed.
12651dc93416SArnd Bergmann
12661dc93416SArnd Bergmann	config DEBUG_ZYNQ_UART0
12671dc93416SArnd Bergmann		bool "Kernel low-level debugging on Xilinx Zynq using UART0"
12681dc93416SArnd Bergmann		depends on ARCH_ZYNQ
12691dc93416SArnd Bergmann		help
12701dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
12711dc93416SArnd Bergmann		  their output to UART0 on the Zynq platform.
12721dc93416SArnd Bergmann
12731dc93416SArnd Bergmann	config DEBUG_ZYNQ_UART1
12741dc93416SArnd Bergmann		bool "Kernel low-level debugging on Xilinx Zynq using UART1"
12751dc93416SArnd Bergmann		depends on ARCH_ZYNQ
12761dc93416SArnd Bergmann		help
12771dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
12781dc93416SArnd Bergmann		  their output to UART1 on the Zynq platform.
12791dc93416SArnd Bergmann
12801dc93416SArnd Bergmann		  If you have a ZC702 board and want early boot messages to
12811dc93416SArnd Bergmann		  appear on the USB serial adaptor, select this option.
12821dc93416SArnd Bergmann
1283e76f4750SRussell King	config DEBUG_ICEDCC
1284e76f4750SRussell King		bool "Kernel low-level debugging via EmbeddedICE DCC channel"
1285e76f4750SRussell King		help
1286e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
1287e76f4750SRussell King		  their output to the EmbeddedICE macrocell's DCC channel using
1288e76f4750SRussell King		  co-processor 14. This is known to work on the ARM9 style ICE
1289e76f4750SRussell King		  channel and on the XScale with the PEEDI.
1290e76f4750SRussell King
1291e76f4750SRussell King		  Note that the system will appear to hang during boot if there
1292e76f4750SRussell King		  is nothing connected to read from the DCC.
1293e76f4750SRussell King
1294b0df8986SRussell King	config DEBUG_SEMIHOSTING
129562194bdaSStephen Boyd		bool "Kernel low-level debug output via semihosting I/O"
1296b0df8986SRussell King		help
1297b0df8986SRussell King		  Semihosting enables code running on an ARM target to use
1298b0df8986SRussell King		  the I/O facilities on a host debugger/emulator through a
129962194bdaSStephen Boyd		  simple SVC call. The host debugger or emulator must have
1300b0df8986SRussell King		  semihosting enabled for the special svc call to be trapped
1301b0df8986SRussell King		  otherwise the kernel will crash.
1302b0df8986SRussell King
1303b0df8986SRussell King		  This is known to work with OpenOCD, as well as
1304b0df8986SRussell King		  ARM's Fast Models, or any other controlling environment
1305b0df8986SRussell King		  that implements semihosting.
1306b0df8986SRussell King
1307b0df8986SRussell King		  For more details about semihosting, please see
1308b0df8986SRussell King		  chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
1309b0df8986SRussell King
1310f8f1279cSRussell King	config DEBUG_LL_UART_8250
1311f8f1279cSRussell King		bool "Kernel low-level debugging via 8250 UART"
1312f8f1279cSRussell King		help
1313f8f1279cSRussell King		  Say Y here if you wish the debug print routes to direct
1314f8f1279cSRussell King		  their output to an 8250 UART.  You can use this option
1315f8f1279cSRussell King		  to provide the parameters for the 8250 UART rather than
1316f8f1279cSRussell King		  selecting one of the platform specific options above if
1317f8f1279cSRussell King		  you know the parameters for the port.
1318f8f1279cSRussell King
1319f8f1279cSRussell King		  This option is preferred over the platform specific
1320f8f1279cSRussell King		  options; the platform specific options are deprecated
1321f8f1279cSRussell King		  and will be soon removed.
1322f8f1279cSRussell King
1323494e492dSUwe Kleine-König	config DEBUG_LL_UART_EFM32
1324494e492dSUwe Kleine-König		bool "Kernel low-level debugging via efm32 UART"
1325494e492dSUwe Kleine-König		depends on ARCH_EFM32
1326494e492dSUwe Kleine-König		help
1327494e492dSUwe Kleine-König		  Say Y here if you want the debug print routines to direct
1328494e492dSUwe Kleine-König		  their output to an UART or USART port on efm32 based
1329494e492dSUwe Kleine-König		  machines. Use the following addresses for DEBUG_UART_PHYS:
1330494e492dSUwe Kleine-König
1331494e492dSUwe Kleine-König		    0x4000c000 | USART0
1332494e492dSUwe Kleine-König		    0x4000c400 | USART1
1333494e492dSUwe Kleine-König		    0x4000c800 | USART2
1334494e492dSUwe Kleine-König		    0x4000e000 | UART0
1335494e492dSUwe Kleine-König		    0x4000e400 | UART1
1336494e492dSUwe Kleine-König
1337f8f1279cSRussell King	config DEBUG_LL_UART_PL01X
1338f8f1279cSRussell King		bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
1339f8f1279cSRussell King		help
1340f8f1279cSRussell King		  Say Y here if you wish the debug print routes to direct
1341f8f1279cSRussell King		  their output to a PL01x Primecell UART.  You can use
1342f8f1279cSRussell King		  this option to provide the parameters for the UART
1343f8f1279cSRussell King		  rather than selecting one of the platform specific
1344f8f1279cSRussell King		  options above if you know the parameters for the port.
1345f8f1279cSRussell King
1346f8f1279cSRussell King		  This option is preferred over the platform specific
1347f8f1279cSRussell King		  options; the platform specific options are deprecated
1348f8f1279cSRussell King		  and will be soon removed.
1349f8f1279cSRussell King
13501da177e4SLinus Torvaldsendchoice
13511da177e4SLinus Torvalds
13528b2f2d03SAlexandre Belloniconfig DEBUG_AT91_UART
13538b2f2d03SAlexandre Belloni	bool
13548b2f2d03SAlexandre Belloni	depends on ARCH_AT91
13558b2f2d03SAlexandre Belloni
1356a2e40710SArnd Bergmannconfig DEBUG_EXYNOS_UART
1357a2e40710SArnd Bergmann	bool
1358a2e40710SArnd Bergmann
1359daf67dfcSHeiko Stuebnerconfig DEBUG_S3C2410_UART
1360daf67dfcSHeiko Stuebner	bool
13611899de28SHeiko Stuebner	select DEBUG_S3C24XX_UART
13621899de28SHeiko Stuebner
13631899de28SHeiko Stuebnerconfig DEBUG_S3C24XX_UART
13641899de28SHeiko Stuebner	bool
1365daf67dfcSHeiko Stuebner
1366bb08dea1SArnd Bergmannconfig DEBUG_S3C64XX_UART
1367bb08dea1SArnd Bergmann	bool
1368bb08dea1SArnd Bergmann
13697bab7d9eSTomasz Figaconfig DEBUG_S5PV210_UART
13707bab7d9eSTomasz Figa	bool
13717bab7d9eSTomasz Figa
1372cce278d2SRussell Kingconfig DEBUG_OMAP2PLUS_UART
1373cce278d2SRussell King	bool
1374cce278d2SRussell King	depends on ARCH_OMAP2PLUS
1375cce278d2SRussell King
1376f8c95fe6SShawn Guoconfig DEBUG_IMX_UART_PORT
1377f8c95fe6SShawn Guo	int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \
1378f8c95fe6SShawn Guo						DEBUG_IMX25_UART || \
1379f8c95fe6SShawn Guo						DEBUG_IMX21_IMX27_UART || \
1380f8c95fe6SShawn Guo						DEBUG_IMX31_UART || \
1381f8c95fe6SShawn Guo						DEBUG_IMX35_UART || \
1382ad364a70SGreg Ungerer						DEBUG_IMX50_UART || \
1383f8c95fe6SShawn Guo						DEBUG_IMX51_UART || \
13840c52db7eSPaul Bolle						DEBUG_IMX53_UART || \
138534e8a16bSShawn Guo						DEBUG_IMX6Q_UART || \
138674368e81SShawn Guo						DEBUG_IMX6SL_UART || \
138752d7aec2SAnson Huang						DEBUG_IMX6SX_UART || \
138820c305f6SAnson Huang						DEBUG_IMX6UL_UART || \
138952d7aec2SAnson Huang						DEBUG_IMX7D_UART
139049c9e60eSShawn Guo	default 1
1391287939a3SShawn Guo	depends on ARCH_MXC
139249c9e60eSShawn Guo	help
139349c9e60eSShawn Guo	  Choose UART port on which kernel low-level debug messages
139449c9e60eSShawn Guo	  should be output.
139549c9e60eSShawn Guo
1396cfdb7d56SStefan Agnerconfig DEBUG_VF_UART_PORT
1397cfdb7d56SStefan Agner	int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
1398cfdb7d56SStefan Agner	default 1
1399cfdb7d56SStefan Agner	range 0 3
1400cfdb7d56SStefan Agner	depends on SOC_VF610
1401cfdb7d56SStefan Agner	help
1402cfdb7d56SStefan Agner	  Choose UART port on which kernel low-level debug messages
1403cfdb7d56SStefan Agner	  should be output.
1404cfdb7d56SStefan Agner
1405cce278d2SRussell Kingconfig DEBUG_TEGRA_UART
1406cce278d2SRussell King	bool
1407cce278d2SRussell King	depends on ARCH_TEGRA
1408808b7e07STony Lindgren
1409cce278d2SRussell Kingconfig DEBUG_STI_UART
1410cce278d2SRussell King	bool
1411cce278d2SRussell King	depends on ARCH_STI
14125026aecfSSrinivas Kandagatla
141301ea63d9SGuo Zengconfig DEBUG_SIRFSOC_UART
141401ea63d9SGuo Zeng	bool
141501ea63d9SGuo Zeng	depends on ARCH_SIRF
141601ea63d9SGuo Zeng
141791a9fec0SRob Herringconfig DEBUG_LL_INCLUDE
141891a9fec0SRob Herring	string
1419e6131fa3SDmitry Eremin-Solenikov	default "debug/sa1100.S" if DEBUG_SA1100
14200c532546SMans Rullgard	default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP
1421f8f1279cSRussell King	default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
142242dfd1e1SNicolas Ferre	default "debug/at91.S" if DEBUG_AT91_UART
1423d5bd4e8dSOleksij Rempel	default "debug/asm9260.S" if DEBUG_ASM9260_UART
1424dd99eef5SAlexander Shiyan	default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
14250045c0ddSArnd Bergmann	default "debug/dc21285.S" if DEBUG_DC21285_PORT
1426d8a00916SCarlo Caione	default "debug/meson.S" if DEBUG_MESON_UARTAO
1427f8f1279cSRussell King	default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
1428a2e40710SArnd Bergmann	default "debug/exynos.S" if DEBUG_EXYNOS_UART
1429494e492dSUwe Kleine-König	default "debug/efm32.S" if DEBUG_LL_UART_EFM32
143091a9fec0SRob Herring	default "debug/icedcc.S" if DEBUG_ICEDCC
14316dde5ac5SShawn Guo	default "debug/imx.S" if DEBUG_IMX1_UART || \
14326dde5ac5SShawn Guo				 DEBUG_IMX25_UART || \
14336dde5ac5SShawn Guo				 DEBUG_IMX21_IMX27_UART || \
14344ad625d4SShawn Guo				 DEBUG_IMX31_UART || \
14354ad625d4SShawn Guo				 DEBUG_IMX35_UART || \
1436ad364a70SGreg Ungerer				 DEBUG_IMX50_UART || \
14376dde5ac5SShawn Guo				 DEBUG_IMX51_UART || \
14387356420cSFabio Estevam				 DEBUG_IMX53_UART ||\
143934e8a16bSShawn Guo				 DEBUG_IMX6Q_UART || \
144074368e81SShawn Guo				 DEBUG_IMX6SL_UART || \
144152d7aec2SAnson Huang				 DEBUG_IMX6SX_UART || \
144220c305f6SAnson Huang				 DEBUG_IMX6UL_UART || \
144352d7aec2SAnson Huang				 DEBUG_IMX7D_UART
1444abbfb21eSDaniel Thompson	default "debug/ks8695.S" if DEBUG_KS8695_UART
1445c0c89fafSStephen Boyd	default "debug/msm.S" if DEBUG_QCOM_UARTDM
14464d31e664SDaniel Thompson	default "debug/netx.S" if DEBUG_NETX_UART
1447808b7e07STony Lindgren	default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
14487a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
14497a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
14507a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
14517a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
14527a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
14537a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
14547a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
14557a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
1456bb08dea1SArnd Bergmann	default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART
14577bab7d9eSTomasz Figa	default "debug/s5pv210.S" if DEBUG_S5PV210_UART
145801ea63d9SGuo Zeng	default "debug/sirf.S" if DEBUG_SIRFSOC_UART
14595026aecfSSrinivas Kandagatla	default "debug/sti.S" if DEBUG_STI_UART
1460150a8dcfSLinus Torvalds	default "debug/tegra.S" if DEBUG_TEGRA_UART
1461150a8dcfSLinus Torvalds	default "debug/ux500.S" if DEBUG_UX500_UART
14624e218b99SRussell King	default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
1463c7c3eac6SShawn Guo	default "debug/vf.S" if DEBUG_VF_UART
1464b61a2722STony Prisk	default "debug/vt8500.S" if DEBUG_VT8500_UART0
1465385f02b1SJosh Cartwright	default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
14666c548099SArnd Bergmann	default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART
1467e23814daSBaruch Siach	default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
1468d0cf9d8aSFlorian Fainelli	default "debug/brcmstb.S" if DEBUG_BRCMSTB_UART
146991a9fec0SRob Herring	default "mach/debug-macro.S"
147091a9fec0SRob Herring
1471f8f1279cSRussell King# Compatibility options for PL01x
14725c972af4SRussell Kingconfig DEBUG_UART_PL01X
1473a61cbf51SDaniel Thompson	bool
14745c972af4SRussell King
1475f8f1279cSRussell King# Compatibility options for 8250
14767610b607SRussell Kingconfig DEBUG_UART_8250
14770045c0ddSArnd Bergmann	def_bool ARCH_EBSA110 || \
1478d7175a3bSArnd Bergmann		ARCH_IOP13XX || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || \
147959bd4c38SArnd Bergmann		ARCH_RPC
14804a003647SRussell King
1481c3faa9b7SRussell Kingconfig DEBUG_UART_PHYS
1482c3faa9b7SRussell King	hex "Physical base address of debug UART"
14834d31e664SDaniel Thompson	default 0x00100a00 if DEBUG_NETX_UART
148497bd1a48SRussell King	default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
1485c3faa9b7SRussell King	default 0x01c28000 if DEBUG_SUNXI_UART0
1486c3faa9b7SRussell King	default 0x01c28400 if DEBUG_SUNXI_UART1
148797bd1a48SRussell King	default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
148897bd1a48SRussell King	default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
1489c4718543SChen-Yu Tsai	default 0x01f02800 if DEBUG_SUNXI_R_UART
1490f2acf003SRussell King	default 0x02530c00 if DEBUG_KEYSTONE_UART0
1491f2acf003SRussell King	default 0x02531000 if DEBUG_KEYSTONE_UART1
1492c3faa9b7SRussell King	default 0x03010fe0 if ARCH_RPC
1493d4da889aSChen-Yu Tsai	default 0x07000000 if DEBUG_SUN9I_UART0
149458d03985SJun Nie	default 0x09405000 if DEBUG_ZTE_ZX
1495b125170aSKrzysztof Hałasa	default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
14965c972af4SRussell King				DEBUG_VEXPRESS_UART0_CA9
14975c972af4SRussell King	default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
1498c3faa9b7SRussell King	default 0x10124000 if DEBUG_RK3X_UART0
1499c3faa9b7SRussell King	default 0x10126000 if DEBUG_RK3X_UART1
15004db22c10SArnd Bergmann	default 0x101f1000 if DEBUG_VERSATILE
15015c972af4SRussell King	default 0x101fb000 if DEBUG_NOMADIK_UART
1502a3b882f9SAndy Yan	default 0x10210000 if DEBUG_RV1108_UART2
1503a3b882f9SAndy Yan	default 0x10220000 if DEBUG_RV1108_UART1
1504a3b882f9SAndy Yan	default 0x10230000 if DEBUG_RV1108_UART0
150565ec48c0SJoe.C	default 0x11002000 if DEBUG_MT8127_UART0
1506d6682085SMatthias Brugger	default 0x11006000 if DEBUG_MT6589_UART0
150765ec48c0SJoe.C	default 0x11009000 if DEBUG_MT8135_UART3
15084db22c10SArnd Bergmann	default 0x16000000 if DEBUG_INTEGRATOR
150906580275SHauke Mehrtens	default 0x18000300 if DEBUG_BCM_5301X
151001ea63d9SGuo Zeng	default 0x18010000 if DEBUG_SIRFATLAS7_UART0
151101ea63d9SGuo Zeng	default 0x18020000 if DEBUG_SIRFATLAS7_UART1
15125c972af4SRussell King	default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
151327dafaa8SWang Long	default 0x20001000 if DEBUG_HIP01_UART
1514c3faa9b7SRussell King	default 0x20060000 if DEBUG_RK29_UART0
1515c3faa9b7SRussell King	default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1516c3faa9b7SRussell King	default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
15175c972af4SRussell King	default 0x20201000 if DEBUG_BCM2835
15185234c34eSEric Anholt	default 0x3f201000 if DEBUG_BCM2836
1519753d1243SChristian Daudt	default 0x3e000000 if DEBUG_BCM_KONA_UART
1520494e492dSUwe Kleine-König	default 0x4000e400 if DEBUG_LL_UART_EFM32
152163e07c0fSSzemző András	default 0x40028000 if DEBUG_AT91_SAMV7_USART1
15220aed6a37SJoachim Eastwood	default 0x40081000 if DEBUG_LPC18XX_UART0
152359bd4c38SArnd Bergmann	default 0x40090000 if DEBUG_LPC32XX
1524c3faa9b7SRussell King	default 0x40100000 if DEBUG_PXA_UART1
1525d7175a3bSArnd Bergmann	default 0x42000000 if DEBUG_GEMINI
1526*2d1f7d2eSTony Lindgren	default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
1527*2d1f7d2eSTony Lindgren	default 0x48022000 if DEBUG_TI81XXUART2
1528*2d1f7d2eSTony Lindgren	default 0x48024000 if DEBUG_TI81XXUART3
1529d2b310b0STony Lindgren	default 0x4806a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1530d2b310b0STony Lindgren				DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1531d2b310b0STony Lindgren	default 0x4806c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1532d2b310b0STony Lindgren				DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
1533fc23beb8STony Lindgren	default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
1534fc23beb8STony Lindgren	default 0x49020000 if DEBUG_OMAP3UART3
1535fc23beb8STony Lindgren	default 0x49042000 if DEBUG_OMAP3UART4
15361899de28SHeiko Stuebner	default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
15371899de28SHeiko Stuebner				DEBUG_S3C2410_UART0)
15381899de28SHeiko Stuebner	default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
15391899de28SHeiko Stuebner				DEBUG_S3C2410_UART1)
15401899de28SHeiko Stuebner	default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
15411899de28SHeiko Stuebner				DEBUG_S3C2410_UART2)
1542c3ca2130SKrzysztof Hałasa	default 0x78000000 if DEBUG_CNS3XXX
15430045c0ddSArnd Bergmann	default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
1544bb08dea1SArnd Bergmann	default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
1545bb08dea1SArnd Bergmann	default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1546bb08dea1SArnd Bergmann	default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1547bb08dea1SArnd Bergmann	default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
1548d5bd4e8dSOleksij Rempel	default 0x80010000 if DEBUG_ASM9260_UART
15495c972af4SRussell King	default 0x80070000 if DEBUG_IMX23_UART
15505c972af4SRussell King	default 0x80074000 if DEBUG_IMX28_UART
1551c39e1ef7SAlexander Shiyan	default 0x80230000 if DEBUG_PICOXCELL_UART
1552f06455faSArnd Bergmann	default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX
15535c972af4SRussell King	default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
155401ea63d9SGuo Zeng	default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1
15555c972af4SRussell King	default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
15565c972af4SRussell King	default 0xc0013000 if DEBUG_U300_UART
1557c3faa9b7SRussell King	default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1558c3faa9b7SRussell King	default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1559375d84cfSArnd Bergmann	default 0xd0000000 if DEBUG_SPEAR3XX
1560d91125ddSMaxime Ripard	default 0xd0012000 if DEBUG_MVEBU_UART0
1561d8a00916SCarlo Caione	default 0xc81004c0 if DEBUG_MESON_UARTAO
1562c3faa9b7SRussell King	default 0xd4017000 if DEBUG_MMP_UART2
1563c3faa9b7SRussell King	default 0xd4018000 if DEBUG_MMP_UART3
1564375d84cfSArnd Bergmann	default 0xe0000000 if DEBUG_SPEAR13XX
1565c9a1df48SHaojian Zhuang	default 0xe4007000 if DEBUG_HIP04_UART
15667a2071c5SGeert Uytterhoeven	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
15677a2071c5SGeert Uytterhoeven	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
15687a2071c5SGeert Uytterhoeven	default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
15697a2071c5SGeert Uytterhoeven	default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
15707a2071c5SGeert Uytterhoeven	default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
15717a2071c5SGeert Uytterhoeven	default 0xe8008000 if DEBUG_R7S72100_SCIF2
1572c3faa9b7SRussell King	default 0xf0000be0 if ARCH_EBSA110
1573d91125ddSMaxime Ripard	default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
1574bd920490SMaxime Ripard	default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
1575caad0b41SSebastian Hesselbarth	default 0xf7fc9000 if DEBUG_BERLIN_UART
15768b2f2d03SAlexandre Belloni	default 0xf8020000 if DEBUG_AT91_SAMA5D2_UART1
157712aae309SHaifeng Yan	default 0xf8b00000 if DEBUG_HIX5HD2_UART
15787098cff2SIvan T. Ivanov	default 0xf991e000 if DEBUG_QCOM_UARTDM
15798b2f2d03SAlexandre Belloni	default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
15808d258bebSHaojian Zhuang	default 0xfcb00000 if DEBUG_HI3620_UART
15813c215e64STsahee Zidenberg	default 0xfd883000 if DEBUG_ALPINE_UART0
1582c3faa9b7SRussell King	default 0xfe800000 if ARCH_IOP32X
1583efd02ee9SHeiko Stuebner	default 0xff690000 if DEBUG_RK32_UART2
1584de73c162SDinh Nguyen	default 0xffc02000 if DEBUG_SOCFPGA_UART0
1585de73c162SDinh Nguyen	default 0xffc02100 if DEBUG_SOCFPGA_UART1
1586c3faa9b7SRussell King	default 0xffd82340 if ARCH_IOP13XX
15877a2071c5SGeert Uytterhoeven	default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
15887a2071c5SGeert Uytterhoeven	default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
15895c972af4SRussell King	default 0xfff36000 if DEBUG_HIGHBANK_UART
1590c26b9993SDaniel Thompson	default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1591c26b9993SDaniel Thompson	default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1592c26b9993SDaniel Thompson	default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
15936c548099SArnd Bergmann	default 0xfffe8600 if DEBUG_BCM63XX_UART
15948b2f2d03SAlexandre Belloni	default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU
15958b2f2d03SAlexandre Belloni	default 0xfffff200 if DEBUG_AT91_RM9200_DBGU
1596c3faa9b7SRussell King	default 0xfffff700 if ARCH_IOP33X
1597d02fde7fSDaniel Thompson	depends on ARCH_EP93XX || \
1598d02fde7fSDaniel Thompson	        DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1599494e492dSUwe Kleine-König		DEBUG_LL_UART_EFM32 || \
1600d8a00916SCarlo Caione		DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
1601c0c89fafSStephen Boyd		DEBUG_NETX_UART || \
16024d31e664SDaniel Thompson		DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
16037a2071c5SGeert Uytterhoeven		DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
16047a2071c5SGeert Uytterhoeven		DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \
16057a2071c5SGeert Uytterhoeven		DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
16067a2071c5SGeert Uytterhoeven		DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
1607bb08dea1SArnd Bergmann		DEBUG_S3C64XX_UART || \
16086c548099SArnd Bergmann		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
16096f112a08SAlexandre Belloni		DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \
16106f112a08SAlexandre Belloni		DEBUG_AT91_UART
1611c3faa9b7SRussell King
1612c3faa9b7SRussell Kingconfig DEBUG_UART_VIRT
1613c3faa9b7SRussell King	hex "Virtual base address of debug UART"
1614a3b882f9SAndy Yan	default 0xc881f000 if DEBUG_RV1108_UART2
1615a3b882f9SAndy Yan	default 0xc8821000 if DEBUG_RV1108_UART1
1616a3b882f9SAndy Yan	default 0xc8912000 if DEBUG_RV1108_UART0
16174d31e664SDaniel Thompson	default 0xe0000a00 if DEBUG_NETX_UART
1618c3faa9b7SRussell King	default 0xe0010fe0 if ARCH_RPC
1619c3faa9b7SRussell King	default 0xf0000be0 if ARCH_EBSA110
1620d5bd4e8dSOleksij Rempel	default 0xf0010000 if DEBUG_ASM9260_UART
16215c972af4SRussell King	default 0xf01fb000 if DEBUG_NOMADIK_UART
16225234c34eSEric Anholt	default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
162306580275SHauke Mehrtens	default 0xf1000300 if DEBUG_BCM_5301X
162465ec48c0SJoe.C	default 0xf1002000 if DEBUG_MT8127_UART0
1625d6682085SMatthias Brugger	default 0xf1006000 if DEBUG_MT6589_UART0
162665ec48c0SJoe.C	default 0xf1009000 if DEBUG_MT8135_UART3
16274db22c10SArnd Bergmann	default 0xf11f1000 if DEBUG_VERSATILE
16284db22c10SArnd Bergmann	default 0xf1600000 if DEBUG_INTEGRATOR
1629c3faa9b7SRussell King	default 0xf1c28000 if DEBUG_SUNXI_UART0
1630c3faa9b7SRussell King	default 0xf1c28400 if DEBUG_SUNXI_UART1
1631c4718543SChen-Yu Tsai	default 0xf1f02800 if DEBUG_SUNXI_R_UART
16321dc93416SArnd Bergmann	default 0xf31004c0 if DEBUG_MESON_UARTAO
163359bd4c38SArnd Bergmann	default 0xf4090000 if DEBUG_LPC32XX
1634d7175a3bSArnd Bergmann	default 0xf4200000 if DEBUG_GEMINI
1635cde7fc87SRobert Jarzmik	default 0xf6200000 if DEBUG_PXA_UART1
1636d4da889aSChen-Yu Tsai	default 0xf7000000 if DEBUG_SUN9I_UART0
1637bb08dea1SArnd Bergmann	default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
16381899de28SHeiko Stuebner	default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
16391899de28SHeiko Stuebner				DEBUG_S3C2410_UART0)
1640bb08dea1SArnd Bergmann	default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1641bb08dea1SArnd Bergmann	default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1642bb08dea1SArnd Bergmann	default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
16431899de28SHeiko Stuebner	default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
16441899de28SHeiko Stuebner				DEBUG_S3C2410_UART1)
16451899de28SHeiko Stuebner	default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
16461899de28SHeiko Stuebner				DEBUG_S3C2410_UART2)
16478b2f2d03SAlexandre Belloni	default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1
1648caad0b41SSebastian Hesselbarth	default 0xf7fc9000 if DEBUG_BERLIN_UART
1649c9a1df48SHaojian Zhuang	default 0xf8007000 if DEBUG_HIP04_UART
16505c972af4SRussell King	default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
16515c972af4SRussell King	default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
16528b2f2d03SAlexandre Belloni	default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU
16538b2f2d03SAlexandre Belloni	default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU
1654*2d1f7d2eSTony Lindgren	default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
1655*2d1f7d2eSTony Lindgren	default 0xfa022000 if DEBUG_TI81XXUART2
1656*2d1f7d2eSTony Lindgren	default 0xfa024000 if DEBUG_TI81XXUART3
1657d2b310b0STony Lindgren	default 0xfa06a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1658d2b310b0STony Lindgren				DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1659d2b310b0STony Lindgren	default 0xfa06c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1660d2b310b0STony Lindgren				DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
1661fc23beb8STony Lindgren	default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
16627098cff2SIvan T. Ivanov	default 0xfa71e000 if DEBUG_QCOM_UARTDM
1663b125170aSKrzysztof Hałasa	default 0xfb002000 if DEBUG_CNS3XXX
16645c972af4SRussell King	default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
16658b2f2d03SAlexandre Belloni	default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3
1666fc23beb8STony Lindgren	default 0xfb020000 if DEBUG_OMAP3UART3
1667fc23beb8STony Lindgren	default 0xfb042000 if DEBUG_OMAP3UART4
16685c972af4SRussell King	default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
166958d03985SJun Nie	default 0xfc705000 if DEBUG_ZTE_ZX
16706c548099SArnd Bergmann	default 0xfcfe8600 if DEBUG_BCM63XX_UART
1671375d84cfSArnd Bergmann	default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
1672c047f529SArnd Bergmann	default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0
16733c215e64STsahee Zidenberg	default 0xfd883000 if DEBUG_ALPINE_UART0
1674c047f529SArnd Bergmann	default 0xfde12000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_DOVE
1675c047f529SArnd Bergmann	default 0xfe012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_ORION5X
1676c3faa9b7SRussell King	default 0xfe017000 if DEBUG_MMP_UART2
1677c3faa9b7SRussell King	default 0xfe018000 if DEBUG_MMP_UART3
16785c972af4SRussell King	default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
16790b4cccbeSRussell King	default 0xfe230000 if DEBUG_PICOXCELL_UART
1680753d1243SChristian Daudt	default 0xfe300000 if DEBUG_BCM_KONA_UART
1681c3faa9b7SRussell King	default 0xfe800000 if ARCH_IOP32X
168212aae309SHaifeng Yan	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
1683c3faa9b7SRussell King	default 0xfeb24000 if DEBUG_RK3X_UART0
1684c3faa9b7SRussell King	default 0xfeb26000 if DEBUG_RK3X_UART1
1685f2acf003SRussell King	default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1686f2acf003SRussell King	default 0xfeb31000 if DEBUG_KEYSTONE_UART1
1687de73c162SDinh Nguyen	default 0xfec02000 if DEBUG_SOCFPGA_UART0
1688de73c162SDinh Nguyen	default 0xfec02100 if DEBUG_SOCFPGA_UART1
1689c047f529SArnd Bergmann	default 0xfec12000 if (DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE) && ARCH_MVEBU
1690bd920490SMaxime Ripard	default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
169101ea63d9SGuo Zeng	default 0xfec10000 if DEBUG_SIRFATLAS7_UART0
169297bd1a48SRussell King	default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0
169301ea63d9SGuo Zeng	default 0xfec20000 if DEBUG_SIRFATLAS7_UART1
169401ea63d9SGuo Zeng	default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1
1695efd02ee9SHeiko Stuebner	default 0xfec90000 if DEBUG_RK32_UART2
169697bd1a48SRussell King	default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
169797bd1a48SRussell King	default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2
1698c39e1ef7SAlexander Shiyan	default 0xfed60000 if DEBUG_RK29_UART0
1699c39e1ef7SAlexander Shiyan	default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1700c39e1ef7SAlexander Shiyan	default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
1701f06455faSArnd Bergmann	default 0xfedc0000 if DEBUG_EP93XX
17020045c0ddSArnd Bergmann	default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1
17035c972af4SRussell King	default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
1704c3faa9b7SRussell King	default 0xfee82340 if ARCH_IOP13XX
1705c3faa9b7SRussell King	default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1706c3faa9b7SRussell King	default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1707c39e1ef7SAlexander Shiyan	default 0xfef36000 if DEBUG_HIGHBANK_UART
1708c26b9993SDaniel Thompson	default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1709c26b9993SDaniel Thompson	default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1710c26b9993SDaniel Thompson	default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
1711c3faa9b7SRussell King	default 0xfefff700 if ARCH_IOP33X
17125c972af4SRussell King	default 0xff003000 if DEBUG_U300_UART
171327dafaa8SWang Long	default 0xffd01000 if DEBUG_HIP01_UART
17145c972af4SRussell King	default DEBUG_UART_PHYS if !MMU
1715f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1716d8a00916SCarlo Caione		DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
1717c0c89fafSStephen Boyd		DEBUG_NETX_UART || \
17184d31e664SDaniel Thompson		DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
1719bb08dea1SArnd Bergmann		DEBUG_S3C64XX_UART || \
17206c548099SArnd Bergmann		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
17210b37e9e8SAlexandre Belloni		DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \
17220b37e9e8SAlexandre Belloni		DEBUG_AT91_UART
1723c3faa9b7SRussell King
17244a003647SRussell Kingconfig DEBUG_UART_8250_SHIFT
17254a003647SRussell King	int "Register offset shift for the 8250 debug UART"
1726f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
17270045c0ddSArnd Bergmann	default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \
1728c26b9993SDaniel Thompson		DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3
17294a003647SRussell King	default 2
17307610b607SRussell King
17310b4cccbeSRussell Kingconfig DEBUG_UART_8250_WORD
17320b4cccbeSRussell King	bool "Use 32-bit accesses for 8250 UART"
1733f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
17340b4cccbeSRussell King	depends on DEBUG_UART_8250_SHIFT >= 2
1735cdd2e08bSArnd Bergmann	default y if DEBUG_PICOXCELL_UART || \
1736cdd2e08bSArnd Bergmann		DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_UART1 || \
1737cdd2e08bSArnd Bergmann		DEBUG_KEYSTONE_UART0 || DEBUG_KEYSTONE_UART1 || \
1738de73c162SDinh Nguyen		DEBUG_ALPINE_UART0 || \
173997bd1a48SRussell King		DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \
17409d6eccb9SArnd Bergmann		DEBUG_DAVINCI_DA8XX_UART2 || \
1741d0cf9d8aSFlorian Fainelli		DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2
17420b4cccbeSRussell King
17430c532546SMans Rullgardconfig DEBUG_UART_8250_PALMCHIP
17440c532546SMans Rullgard	bool "8250 UART is Palmchip BK-310x"
17450c532546SMans Rullgard	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
17460c532546SMans Rullgard	help
17470c532546SMans Rullgard	  Palmchip provides a UART implementation compatible with 16550
17480c532546SMans Rullgard	  except for having a different register layout.  Say Y here if
17490c532546SMans Rullgard	  the debug UART is of this type.
17500c532546SMans Rullgard
17517610b607SRussell Kingconfig DEBUG_UART_8250_FLOW_CONTROL
17527610b607SRussell King	bool "Enable flow control for 8250 UART"
1753f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
17540045c0ddSArnd Bergmann	default y if ARCH_EBSA110 || DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC
17557610b607SRussell King
17563b4af9bcSShawn Guoconfig DEBUG_UNCOMPRESS
17573b4af9bcSShawn Guo	bool
17589c77bc43SStefan Agner	depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
1759b6992fa9SRussell King	default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
1760d0cf9d8aSFlorian Fainelli		     (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \
1761d0cf9d8aSFlorian Fainelli		     !DEBUG_BRCMSTB_UART
1762b6992fa9SRussell King	help
1763b6992fa9SRussell King	  This option influences the normal decompressor output for
1764b6992fa9SRussell King	  multiplatform kernels.  Normally, multiplatform kernels disable
1765b6992fa9SRussell King	  decompressor output because it is not possible to know where to
1766b6992fa9SRussell King	  send the decompressor output.
1767b6992fa9SRussell King
1768b6992fa9SRussell King	  When this option is set, the selected DEBUG_LL output method
1769b6992fa9SRussell King	  will be re-used for normal decompressor output on multiplatform
1770b6992fa9SRussell King	  kernels.
1771b6992fa9SRussell King
17723b4af9bcSShawn Guo
1773615967b0SShawn Guoconfig UNCOMPRESS_INCLUDE
1774615967b0SShawn Guo	string
1775ffd80eccSSachin Kamat	default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
177636d6c928SUlrich Hecht					PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
1777615967b0SShawn Guo	default "mach/uncompress.h"
1778615967b0SShawn Guo
17791da177e4SLinus Torvaldsconfig EARLY_PRINTK
17801da177e4SLinus Torvalds	bool "Early printk"
17811da177e4SLinus Torvalds	depends on DEBUG_LL
17821da177e4SLinus Torvalds	help
17831da177e4SLinus Torvalds	  Say Y here if you want to have an early console using the
17841da177e4SLinus Torvalds	  kernel low-level debugging functions. Add earlyprintk to your
17851da177e4SLinus Torvalds	  kernel parameters to enable this console.
17861da177e4SLinus Torvalds
17871da177e4SLinus Torvaldsconfig ARM_KPROBES_TEST
17881da177e4SLinus Torvalds	tristate "Kprobes test module"
17891da177e4SLinus Torvalds	depends on KPROBES && MODULES
17901da177e4SLinus Torvalds	help
17911da177e4SLinus Torvalds	  Perform tests of kprobes API and instruction set simulation.
17921da177e4SLinus Torvalds
1793575320d6SWill Deaconconfig PID_IN_CONTEXTIDR
1794575320d6SWill Deacon	bool "Write the current PID to the CONTEXTIDR register"
1795575320d6SWill Deacon	depends on CPU_COPY_V6
1796575320d6SWill Deacon	help
1797575320d6SWill Deacon	  Enabling this option causes the kernel to write the current PID to
1798575320d6SWill Deacon	  the PROCID field of the CONTEXTIDR register, at the expense of some
1799575320d6SWill Deacon	  additional instructions during context switch. Say Y here only if you
1800575320d6SWill Deacon	  are planning to use hardware trace tools with this kernel.
1801575320d6SWill Deacon
180201081f5aSMathieu Poiriersource "drivers/hwtracing/coresight/Kconfig"
1803bc4bf7feSPratik Patel
18041da177e4SLinus Torvaldsendmenu
1805