xref: /linux/arch/arm/Kconfig.debug (revision 2af4fcc0d3574482c73c34274eea63bac5518d48)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds
34fb69cc4SJinbum Parkconfig ARM_PTDUMP_CORE
44fb69cc4SJinbum Park	def_bool n
54fb69cc4SJinbum Park
64fb69cc4SJinbum Parkconfig ARM_PTDUMP_DEBUGFS
71fd15b87SRussell King	bool "Export kernel pagetable layout to userspace via debugfs"
81fd15b87SRussell King	depends on DEBUG_KERNEL
965ba508dSArnd Bergmann	depends on MMU
104fb69cc4SJinbum Park	select ARM_PTDUMP_CORE
111fd15b87SRussell King	select DEBUG_FS
12a7f7f624SMasahiro Yamada	help
131fd15b87SRussell King	  Say Y here if you want to show the kernel pagetable layout in a
141fd15b87SRussell King	  debugfs file. This information is only useful for kernel developers
151fd15b87SRussell King	  who are working in architecture specific areas of the kernel.
161fd15b87SRussell King	  It is probably not a good idea to enable this feature in a production
171fd15b87SRussell King	  kernel.
181fd15b87SRussell King	  If in doubt, say "N"
191fd15b87SRussell King
20a8e53c15SJinbum Parkconfig DEBUG_WX
21a8e53c15SJinbum Park	bool "Warn on W+X mappings at boot"
22ad43fc9aSArnd Bergmann	depends on MMU
23a8e53c15SJinbum Park	select ARM_PTDUMP_CORE
24a7f7f624SMasahiro Yamada	help
25a8e53c15SJinbum Park		Generate a warning if any W+X mappings are found at boot.
26a8e53c15SJinbum Park
27a8e53c15SJinbum Park		This is useful for discovering cases where the kernel is leaving
28a8e53c15SJinbum Park		W+X mappings after applying NX, as such mappings are a security risk.
29a8e53c15SJinbum Park
30a8e53c15SJinbum Park		Look for a message in dmesg output like this:
31a8e53c15SJinbum Park
32a8e53c15SJinbum Park			arm/mm: Checked W+X mappings: passed, no W+X pages found.
33a8e53c15SJinbum Park
34a8e53c15SJinbum Park		or like this, if the check failed:
35a8e53c15SJinbum Park
36a8e53c15SJinbum Park			arm/mm: Checked W+X mappings: FAILED, <N> W+X pages found.
37a8e53c15SJinbum Park
38a8e53c15SJinbum Park		Note that even if the check fails, your kernel is possibly
39a8e53c15SJinbum Park		still fine, as W+X mappings are not a security hole in
40a8e53c15SJinbum Park		themselves, what they do is that they make the exploitation
41a8e53c15SJinbum Park		of other unfixed kernel bugs easier.
42a8e53c15SJinbum Park
43a8e53c15SJinbum Park		There is no runtime or memory usage effect of this option
44a8e53c15SJinbum Park		once the kernel has booted up - it's a one time check.
45a8e53c15SJinbum Park
46a8e53c15SJinbum Park		If in doubt, say "Y".
47a8e53c15SJinbum Park
48f9b58e8cSStefan Agnerchoice
49f9b58e8cSStefan Agner	prompt "Choose kernel unwinder"
5050362162SRussell King	default UNWINDER_ARM if AEABI
5150362162SRussell King	default UNWINDER_FRAME_POINTER if !AEABI
521da177e4SLinus Torvalds	help
53f9b58e8cSStefan Agner	  This determines which method will be used for unwinding kernel stack
54f9b58e8cSStefan Agner	  traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
55f9b58e8cSStefan Agner	  livepatch, lockdep, and more.
56adf8b37bSCatalin Marinas
57f9b58e8cSStefan Agnerconfig UNWINDER_FRAME_POINTER
58f9b58e8cSStefan Agner	bool "Frame pointer unwinder"
596dc5fd93SNathan Huckleberry	depends on !THUMB2_KERNEL
60f9b58e8cSStefan Agner	select ARCH_WANT_FRAME_POINTERS
61f9b58e8cSStefan Agner	select FRAME_POINTER
62f9b58e8cSStefan Agner	help
63f9b58e8cSStefan Agner	  This option enables the frame pointer unwinder for unwinding
64f9b58e8cSStefan Agner	  kernel stack traces.
65f9b58e8cSStefan Agner
66f9b58e8cSStefan Agnerconfig UNWINDER_ARM
67f9b58e8cSStefan Agner	bool "ARM EABI stack unwinder"
6841918ec8SArd Biesheuvel	depends on AEABI
69f9b58e8cSStefan Agner	select ARM_UNWIND
70adf8b37bSCatalin Marinas	help
71adf8b37bSCatalin Marinas	  This option enables stack unwinding support in the kernel
72adf8b37bSCatalin Marinas	  using the information automatically generated by the
73adf8b37bSCatalin Marinas	  compiler. The resulting kernel image is slightly bigger but
74adf8b37bSCatalin Marinas	  the performance is not affected. Currently, this feature
75f9b58e8cSStefan Agner	  only works with EABI compilers.
76f9b58e8cSStefan Agner
77f9b58e8cSStefan Agnerendchoice
78f9b58e8cSStefan Agner
79f9b58e8cSStefan Agnerconfig ARM_UNWIND
80f9b58e8cSStefan Agner	bool
81f9b58e8cSStefan Agner
82b0343ab3SRussell Kingconfig BACKTRACE_VERBOSE
83b0343ab3SRussell King	bool "Verbose backtrace"
84b0343ab3SRussell King	depends on EXPERT
85b0343ab3SRussell King	help
86b0343ab3SRussell King	  When the kernel produces a warning or oops, the kernel prints a
87b0343ab3SRussell King	  trace of the call chain. This option controls whether we include
88b0343ab3SRussell King	  the numeric addresses or only include the symbolic information.
89b0343ab3SRussell King
90b0343ab3SRussell King	  In most cases, say N here, unless you are intending to debug the
91b0343ab3SRussell King	  kernel and have access to the kernel binary image.
92b0343ab3SRussell King
93f9b58e8cSStefan Agnerconfig FRAME_POINTER
94f9b58e8cSStefan Agner	bool
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsconfig DEBUG_USER
971da177e4SLinus Torvalds	bool "Verbose user fault messages"
981da177e4SLinus Torvalds	help
991da177e4SLinus Torvalds	  When a user program crashes due to an exception, the kernel can
1001da177e4SLinus Torvalds	  print a brief message explaining what the problem was. This is
1011da177e4SLinus Torvalds	  sometimes helpful for debugging but serves no purpose on a
1021da177e4SLinus Torvalds	  production system. Most people should say N here.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  In addition, you need to pass user_debug=N on the kernel command
1051da177e4SLinus Torvalds	  line to enable this feature.  N consists of the sum of:
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	      1 - undefined instruction events
1081da177e4SLinus Torvalds	      2 - system calls
1091da177e4SLinus Torvalds	      4 - invalid data aborts
1101da177e4SLinus Torvalds	      8 - SIGSEGV faults
1111da177e4SLinus Torvalds	     16 - SIGBUS faults
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvalds# These options are only for real kernel hackers who want to get their hands dirty.
1141da177e4SLinus Torvaldsconfig DEBUG_LL
1154f5ef922SWill Deacon	bool "Kernel low-level debugging functions (read help!)"
1161da177e4SLinus Torvalds	depends on DEBUG_KERNEL
1171da177e4SLinus Torvalds	help
11835efb606SRussell King	  Say Y here to include definitions of printascii, printch, printhex
1191da177e4SLinus Torvalds	  in the kernel.  This is helpful if you are debugging code that
1201da177e4SLinus Torvalds	  executes before the console is initialized.
1211da177e4SLinus Torvalds
1224f5ef922SWill Deacon	  Note that selecting this option will limit the kernel to a single
1234f5ef922SWill Deacon	  UART definition, as specified below. Attempting to boot the kernel
1244f5ef922SWill Deacon	  image on a different platform *will not work*, so this option should
1254f5ef922SWill Deacon	  not be enabled for kernels that are intended to be portable.
1264f5ef922SWill Deacon
12717916b28SWill Deaconchoice
12817916b28SWill Deacon	prompt "Kernel low-level debugging port"
12917916b28SWill Deacon	depends on DEBUG_LL
13017916b28SWill Deacon
1313c215e64STsahee Zidenberg	config DEBUG_ALPINE_UART0
1323c215e64STsahee Zidenberg		bool "Kernel low-level debugging messages via Alpine UART0"
1333c215e64STsahee Zidenberg		depends on ARCH_ALPINE
1343c215e64STsahee Zidenberg		select DEBUG_UART_8250
1353c215e64STsahee Zidenberg		help
1363c215e64STsahee Zidenberg		  Say Y here if you want kernel low-level debugging support
1373c215e64STsahee Zidenberg		  on Alpine based platforms.
1383c215e64STsahee Zidenberg
139d5bd4e8dSOleksij Rempel	config DEBUG_ASM9260_UART
140d5bd4e8dSOleksij Rempel		bool "Kernel low-level debugging via asm9260 UART"
141d5bd4e8dSOleksij Rempel		depends on MACH_ASM9260
142d5bd4e8dSOleksij Rempel		help
143d5bd4e8dSOleksij Rempel		  Say Y here if you want the debug print routines to direct
144d5bd4e8dSOleksij Rempel		  their output to an UART or USART port on asm9260 based
145d5bd4e8dSOleksij Rempel		  machines.
146d5bd4e8dSOleksij Rempel
147d5bd4e8dSOleksij Rempel		    DEBUG_UART_PHYS | DEBUG_UART_VIRT
148d5bd4e8dSOleksij Rempel
149d5bd4e8dSOleksij Rempel		    0x80000000      | 0xf0000000     | UART0
150d5bd4e8dSOleksij Rempel		    0x80004000      | 0xf0004000     | UART1
151d5bd4e8dSOleksij Rempel		    0x80008000      | 0xf0008000     | UART2
152d5bd4e8dSOleksij Rempel		    0x8000c000      | 0xf000c000     | UART3
153d5bd4e8dSOleksij Rempel		    0x80010000      | 0xf0010000     | UART4
154d5bd4e8dSOleksij Rempel		    0x80014000      | 0xf0014000     | UART5
155d5bd4e8dSOleksij Rempel		    0x80018000      | 0xf0018000     | UART6
156d5bd4e8dSOleksij Rempel		    0x8001c000      | 0xf001c000     | UART7
157d5bd4e8dSOleksij Rempel		    0x80020000      | 0xf0020000     | UART8
158d5bd4e8dSOleksij Rempel		    0x80024000      | 0xf0024000     | UART9
159d5bd4e8dSOleksij Rempel
1608b2f2d03SAlexandre Belloni	config DEBUG_AT91_RM9200_DBGU
16180f58695SClaudiu Beznea		bool "Kernel low-level debugging on AT91RM9200, AT91SAM9, SAM9X60 DBGU"
1628b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
16380f58695SClaudiu Beznea		depends on SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60
1646f112a08SAlexandre Belloni		help
1658b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1668b2f2d03SAlexandre Belloni		  on the DBGU port of:
1678b2f2d03SAlexandre Belloni		    at91rm9200, at91sam9260, at91sam9g20, at91sam9261,
16880f58695SClaudiu Beznea		    at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5, sam9x60
16913079a73SJean-Christophe PLAGNIOL-VILLARD
1708b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAM9263_DBGU
1718b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU"
1728b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1738b2f2d03SAlexandre Belloni		depends on SOC_AT91SAM9 || SOC_SAMA5D3
1748b2f2d03SAlexandre Belloni		help
1758b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1768b2f2d03SAlexandre Belloni		  on the DBGU port of:
1778b2f2d03SAlexandre Belloni		    at91sam9263, at91sam9g45, at91sam9m10,
1788b2f2d03SAlexandre Belloni		    sama5d3
17913079a73SJean-Christophe PLAGNIOL-VILLARD
1808b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAMA5D2_UART1
1818b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on SAMA5D2 UART1"
1828b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1838b2f2d03SAlexandre Belloni		depends on SOC_SAMA5D2
1848b2f2d03SAlexandre Belloni		help
1858b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1868b2f2d03SAlexandre Belloni		  on the UART1 port of sama5d2.
1878b2f2d03SAlexandre Belloni
1888b2f2d03SAlexandre Belloni	config DEBUG_AT91_SAMA5D4_USART3
1898b2f2d03SAlexandre Belloni		bool "Kernel low-level debugging on SAMA5D4 USART3"
1908b2f2d03SAlexandre Belloni		select DEBUG_AT91_UART
1918b2f2d03SAlexandre Belloni		depends on SOC_SAMA5D4
1928b2f2d03SAlexandre Belloni		help
1938b2f2d03SAlexandre Belloni		  Say Y here if you want kernel low-level debugging support
1948b2f2d03SAlexandre Belloni		  on the USART3 port of sama5d4.
195c268a743SNicolas Ferre
19663e07c0fSSzemző András	config DEBUG_AT91_SAMV7_USART1
19763e07c0fSSzemző András		bool "Kernel low-level debugging via SAMV7 USART1"
19863e07c0fSSzemző András		select DEBUG_AT91_UART
19963e07c0fSSzemző András		depends on SOC_SAMV7
20063e07c0fSSzemző András		help
20163e07c0fSSzemző András		  Say Y here if you want the debug print routines to direct
20263e07c0fSSzemző András		  their output to the USART1 port on SAMV7 based
20363e07c0fSSzemző András		  machines.
20463e07c0fSSzemző András
205577cb67aSEugen Hristev	config DEBUG_AT91_SAMA7G5_FLEXCOM3
206577cb67aSEugen Hristev		bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
207577cb67aSEugen Hristev		select DEBUG_AT91_UART
208577cb67aSEugen Hristev		depends on SOC_SAMA7G5
209577cb67aSEugen Hristev		help
210577cb67aSEugen Hristev		  Say Y here if you want kernel low-level debugging support
211577cb67aSEugen Hristev		  on the FLEXCOM3 port of SAMA7G5.
212577cb67aSEugen Hristev
2136041558eSKavyasree Kotagiri	config DEBUG_AT91_LAN966_FLEXCOM
2146041558eSKavyasree Kotagiri		bool "Kernel low-level debugging on LAN966 FLEXCOM USART"
2156041558eSKavyasree Kotagiri		select DEBUG_AT91_UART
2166041558eSKavyasree Kotagiri		depends on SOC_LAN966
2176041558eSKavyasree Kotagiri		help
2186041558eSKavyasree Kotagiri		Say Y here if you want kernel low-level debugging support
2196041558eSKavyasree Kotagiri		on the FLEXCOM port of LAN966.
2206041558eSKavyasree Kotagiri
2216041558eSKavyasree Kotagiri		DEBUG_UART_PHYS | DEBUG_UART_VIRT
2226041558eSKavyasree Kotagiri
2236041558eSKavyasree Kotagiri		0xe0040200      | 0xfd040200     | FLEXCOM0
2246041558eSKavyasree Kotagiri		0xe0044200      | 0xfd044200     | FLEXCOM1
2256041558eSKavyasree Kotagiri		0xe0060200      | 0xfd060200     | FLEXCOM2
2266041558eSKavyasree Kotagiri		0xe0064200      | 0xfd064200     | FLEXCOM3
2276041558eSKavyasree Kotagiri		0xe0070200      | 0xfd070200     | FLEXCOM4
2286041558eSKavyasree Kotagiri
2296041558eSKavyasree Kotagiri		By default, enabling FLEXCOM3 port. Based on requirement, use
2306041558eSKavyasree Kotagiri		DEBUG_UART_PHYS and DEBUG_UART_VIRT configurations from above
2316041558eSKavyasree Kotagiri		table.
2326041558eSKavyasree Kotagiri
233f1ac922dSStephen Warren	config DEBUG_BCM2835
234f1ac922dSStephen Warren		bool "Kernel low-level debugging on BCM2835 PL011 UART"
2355234c34eSEric Anholt		depends on ARCH_BCM2835 && ARCH_MULTI_V6
2365234c34eSEric Anholt		select DEBUG_UART_PL01X
2375234c34eSEric Anholt
2385234c34eSEric Anholt	config DEBUG_BCM2836
2395234c34eSEric Anholt		bool "Kernel low-level debugging on BCM2836 PL011 UART"
2405234c34eSEric Anholt		depends on ARCH_BCM2835 && ARCH_MULTI_V7
2415c972af4SRussell King		select DEBUG_UART_PL01X
242f1ac922dSStephen Warren
24306580275SHauke Mehrtens	config DEBUG_BCM_5301X
2442dc9e0b9SFlorian Fainelli		bool "Kernel low-level debugging on BCM5301X/NSP UART1"
2452dc9e0b9SFlorian Fainelli		depends on ARCH_BCM_5301X || ARCH_BCM_NSP
246140bd603SHauke Mehrtens		select DEBUG_UART_8250
24706580275SHauke Mehrtens
248fa1e581dSFlorian Fainelli	config DEBUG_BCM_HR2
249fa1e581dSFlorian Fainelli		bool "Kernel low-level debugging on Hurricane 2 UART2"
250fa1e581dSFlorian Fainelli		depends on ARCH_BCM_HR2
251fa1e581dSFlorian Fainelli		select DEBUG_UART_8250
252fa1e581dSFlorian Fainelli
253295898baSClément Peron	config DEBUG_BCM_IPROC_UART3
254295898baSClément Peron		bool "Kernel low-level debugging on BCM IPROC UART3"
255295898baSClément Peron		depends on ARCH_BCM_CYGNUS
256295898baSClément Peron		select DEBUG_UART_8250
257295898baSClément Peron		help
258295898baSClément Peron		  Say Y here if you want the debug print routines to direct
259295898baSClément Peron		  their output to the third serial port on these devices.
260295898baSClément Peron
261753d1243SChristian Daudt	config DEBUG_BCM_KONA_UART
262753d1243SChristian Daudt		bool "Kernel low-level debugging messages via BCM KONA UART"
2637aa2077bSFlorian Fainelli		depends on ARCH_BCM_MOBILE
264753d1243SChristian Daudt		select DEBUG_UART_8250
265753d1243SChristian Daudt		help
266753d1243SChristian Daudt		  Say Y here if you want kernel low-level debugging support
267753d1243SChristian Daudt		  on Broadcom SoC platforms.
268753d1243SChristian Daudt		  This low level debug works for Broadcom
269753d1243SChristian Daudt		  mobile SoCs in the Kona family of chips (e.g. bcm28155,
270753d1243SChristian Daudt		  bcm11351, etc...)
271753d1243SChristian Daudt
2726c548099SArnd Bergmann	config DEBUG_BCM63XX_UART
273b51312beSFlorian Fainelli		bool "Kernel low-level debugging on BCM63XX UART"
274fa0ef5a0SWilliam Zhang		depends on ARCH_BCMBCA
275b51312beSFlorian Fainelli
276caad0b41SSebastian Hesselbarth	config DEBUG_BERLIN_UART
277caad0b41SSebastian Hesselbarth		bool "Marvell Berlin SoC Debug UART"
278caad0b41SSebastian Hesselbarth		depends on ARCH_BERLIN
279caad0b41SSebastian Hesselbarth		select DEBUG_UART_8250
280caad0b41SSebastian Hesselbarth		help
281caad0b41SSebastian Hesselbarth		  Say Y here if you want kernel low-level debugging support
282caad0b41SSebastian Hesselbarth		  on Marvell Berlin SoC based platforms.
283caad0b41SSebastian Hesselbarth
28481b43a6eSMarc Carino	config DEBUG_BRCMSTB_UART
28581b43a6eSMarc Carino		bool "Use BRCMSTB UART for low-level debug"
28681b43a6eSMarc Carino		depends on ARCH_BRCMSTB
28781b43a6eSMarc Carino		help
28881b43a6eSMarc Carino		  Say Y here if you want the debug print routines to direct
289d0cf9d8aSFlorian Fainelli		  their output to the first serial port on these devices. The
290d0cf9d8aSFlorian Fainelli		  UART physical and virtual address is automatically provided
291d0cf9d8aSFlorian Fainelli		  based on the chip identification register value.
29281b43a6eSMarc Carino
29381b43a6eSMarc Carino		  If you have a Broadcom STB chip and would like early print
29481b43a6eSMarc Carino		  messages to appear over the UART, select this option.
29581b43a6eSMarc Carino
296164acf96SStephen Boyd	config DEBUG_CLPS711X_UART1
297164acf96SStephen Boyd		bool "Kernel low-level debugging messages via UART1"
298164acf96SStephen Boyd		depends on ARCH_CLPS711X
299164acf96SStephen Boyd		help
300164acf96SStephen Boyd		  Say Y here if you want the debug print routines to direct
301164acf96SStephen Boyd		  their output to the first serial port on these devices.
30217916b28SWill Deacon
30317916b28SWill Deacon	config DEBUG_CLPS711X_UART2
30417916b28SWill Deacon		bool "Kernel low-level debugging messages via UART2"
30517916b28SWill Deacon		depends on ARCH_CLPS711X
30617916b28SWill Deacon		help
30717916b28SWill Deacon		  Say Y here if you want the debug print routines to direct
30817916b28SWill Deacon		  their output to the second serial port on these devices.
30917916b28SWill Deacon
310477099f1SUwe Kleine-König	config DEBUG_DAVINCI_DA8XX_UART1
311477099f1SUwe Kleine-König		bool "Kernel low-level debugging on DaVinci DA8XX using UART1"
312477099f1SUwe Kleine-König		depends on ARCH_DAVINCI_DA8XX
31397bd1a48SRussell King		select DEBUG_UART_8250
314477099f1SUwe Kleine-König		help
315477099f1SUwe Kleine-König		  Say Y here if you want the debug print routines to direct
316477099f1SUwe Kleine-König		  their output to UART1 serial port on DaVinci DA8XX devices.
317477099f1SUwe Kleine-König
318477099f1SUwe Kleine-König	config DEBUG_DAVINCI_DA8XX_UART2
319477099f1SUwe Kleine-König		bool "Kernel low-level debugging on DaVinci DA8XX using UART2"
320477099f1SUwe Kleine-König		depends on ARCH_DAVINCI_DA8XX
32197bd1a48SRussell King		select DEBUG_UART_8250
322477099f1SUwe Kleine-König		help
323477099f1SUwe Kleine-König		  Say Y here if you want the debug print routines to direct
324477099f1SUwe Kleine-König		  their output to UART2 serial port on DaVinci DA8XX devices.
325477099f1SUwe Kleine-König
326e76f4750SRussell King	config DEBUG_DC21285_PORT
327e76f4750SRussell King		bool "Kernel low-level debugging messages via footbridge serial port"
328e76f4750SRussell King		depends on FOOTBRIDGE
329e76f4750SRussell King		help
330e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
331e76f4750SRussell King		  their output to the serial port in the DC21285 (Footbridge).
332e76f4750SRussell King
333e23814daSBaruch Siach	config DEBUG_DIGICOLOR_UA0
334e23814daSBaruch Siach		bool "Kernel low-level debugging messages via Digicolor UA0"
335e23814daSBaruch Siach		depends on ARCH_DIGICOLOR
336e23814daSBaruch Siach		help
337e23814daSBaruch Siach		  Say Y here if you want the debug print routines to direct
338e23814daSBaruch Siach		  their output to the UA0 serial port in the CX92755.
339e23814daSBaruch Siach
340f06455faSArnd Bergmann	config DEBUG_EP93XX
341f06455faSArnd Bergmann		bool "Kernel low-level debugging messages via ep93xx UART"
342f06455faSArnd Bergmann		depends on ARCH_EP93XX
343f06455faSArnd Bergmann		select DEBUG_UART_PL01X
344f06455faSArnd Bergmann		help
345f06455faSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
346f06455faSArnd Bergmann		  on Cirrus Logic EP93xx based platforms.
347f06455faSArnd Bergmann
348e76f4750SRussell King	config DEBUG_FOOTBRIDGE_COM1
349e76f4750SRussell King		bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
350e76f4750SRussell King		depends on FOOTBRIDGE
3510045c0ddSArnd Bergmann		select DEBUG_UART_8250
352e76f4750SRussell King		help
353e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
354e76f4750SRussell King		  their output to the 8250 at PCI COM1.
355e76f4750SRussell King
356d7175a3bSArnd Bergmann	config DEBUG_GEMINI
357d7175a3bSArnd Bergmann		bool "Kernel low-level debugging messages via Cortina Systems Gemini UART"
358d7175a3bSArnd Bergmann		depends on ARCH_GEMINI
359d7175a3bSArnd Bergmann		select DEBUG_UART_8250
360d7175a3bSArnd Bergmann		help
361d7175a3bSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
362d7175a3bSArnd Bergmann		  on Cortina Gemini based platforms.
363d7175a3bSArnd Bergmann
3648d258bebSHaojian Zhuang	config DEBUG_HI3620_UART
3658d258bebSHaojian Zhuang		bool "Hisilicon HI3620 Debug UART"
3668d258bebSHaojian Zhuang		depends on ARCH_HI3xxx
3678d258bebSHaojian Zhuang		select DEBUG_UART_PL01X
3688d258bebSHaojian Zhuang		help
3698d258bebSHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
3708d258bebSHaojian Zhuang		  on HI3620 UART.
3718d258bebSHaojian Zhuang
372220e6cf7SRob Herring	config DEBUG_HIGHBANK_UART
373220e6cf7SRob Herring		bool "Kernel low-level debugging messages via Highbank UART"
374220e6cf7SRob Herring		depends on ARCH_HIGHBANK
3755c972af4SRussell King		select DEBUG_UART_PL01X
376220e6cf7SRob Herring		help
377220e6cf7SRob Herring		  Say Y here if you want the debug print routines to direct
378220e6cf7SRob Herring		  their output to the UART on Highbank based devices.
379220e6cf7SRob Herring
38027dafaa8SWang Long	config DEBUG_HIP01_UART
38127dafaa8SWang Long		bool "Hisilicon Hip01 Debug UART"
38227dafaa8SWang Long		depends on ARCH_HIP01
38327dafaa8SWang Long		select DEBUG_UART_8250
38427dafaa8SWang Long		help
38527dafaa8SWang Long		  Say Y here if you want kernel low-level debugging support
38627dafaa8SWang Long		  on HIP01 UART.
38727dafaa8SWang Long
388c9a1df48SHaojian Zhuang	config DEBUG_HIP04_UART
389c9a1df48SHaojian Zhuang		bool "Hisilicon HiP04 Debug UART"
390c9a1df48SHaojian Zhuang		depends on ARCH_HIP04
391c9a1df48SHaojian Zhuang		select DEBUG_UART_8250
392c9a1df48SHaojian Zhuang		help
393c9a1df48SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
394c9a1df48SHaojian Zhuang		  on HIP04 UART.
395c9a1df48SHaojian Zhuang
39637bdaf82SOlof Johansson	config DEBUG_HIX5HD2_UART
39737bdaf82SOlof Johansson		bool "Hisilicon Hix5hd2 Debug UART"
39837bdaf82SOlof Johansson		depends on ARCH_HIX5HD2
39993fd03a8SCatalin Marinas		select DEBUG_UART_PL01X
40093fd03a8SCatalin Marinas		help
40137bdaf82SOlof Johansson		  Say Y here if you want kernel low-level debugging support
40237bdaf82SOlof Johansson		  on Hix5hd2 UART.
4031da177e4SLinus Torvalds
404f350b861SShawn Guo	config DEBUG_IMX1_UART
405f350b861SShawn Guo		bool "i.MX1 Debug UART"
406f350b861SShawn Guo		depends on SOC_IMX1
407f350b861SShawn Guo		help
408f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
409f350b861SShawn Guo		  on i.MX1.
410f350b861SShawn Guo
411f350b861SShawn Guo	config DEBUG_IMX23_UART
412f350b861SShawn Guo		bool "i.MX23 Debug UART"
413f350b861SShawn Guo		depends on SOC_IMX23
4145c972af4SRussell King		select DEBUG_UART_PL01X
415f350b861SShawn Guo		help
416f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
417f350b861SShawn Guo		  on i.MX23.
418f350b861SShawn Guo
419f350b861SShawn Guo	config DEBUG_IMX25_UART
420f350b861SShawn Guo		bool "i.MX25 Debug UART"
421f350b861SShawn Guo		depends on SOC_IMX25
422f350b861SShawn Guo		help
423f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
424f350b861SShawn Guo		  on i.MX25.
425f350b861SShawn Guo
426b0100bceSLukas Bulwahn	config DEBUG_IMX27_UART
427b0100bceSLukas Bulwahn		bool "i.MX27 Debug UART"
428b0100bceSLukas Bulwahn		depends on SOC_IMX27
429f350b861SShawn Guo		help
430f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
431b0100bceSLukas Bulwahn		  on i.MX27.
432f350b861SShawn Guo
433f350b861SShawn Guo	config DEBUG_IMX28_UART
434f350b861SShawn Guo		bool "i.MX28 Debug UART"
435f350b861SShawn Guo		depends on SOC_IMX28
4365c972af4SRussell King		select DEBUG_UART_PL01X
437f350b861SShawn Guo		help
438f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
439f350b861SShawn Guo		  on i.MX28.
440f350b861SShawn Guo
4414ad625d4SShawn Guo	config DEBUG_IMX31_UART
4424ad625d4SShawn Guo		bool "i.MX31 Debug UART"
4434ad625d4SShawn Guo		depends on SOC_IMX31
444f350b861SShawn Guo		help
445f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
4464ad625d4SShawn Guo		  on i.MX31.
4474ad625d4SShawn Guo
4484ad625d4SShawn Guo	config DEBUG_IMX35_UART
4494ad625d4SShawn Guo		bool "i.MX35 Debug UART"
4504ad625d4SShawn Guo		depends on SOC_IMX35
4514ad625d4SShawn Guo		help
4524ad625d4SShawn Guo		  Say Y here if you want kernel low-level debugging support
4534ad625d4SShawn Guo		  on i.MX35.
454f350b861SShawn Guo
455ad364a70SGreg Ungerer	config DEBUG_IMX50_UART
456ad364a70SGreg Ungerer		bool "i.MX50 Debug UART"
457ad364a70SGreg Ungerer		depends on SOC_IMX50
458ad364a70SGreg Ungerer		help
459ad364a70SGreg Ungerer		  Say Y here if you want kernel low-level debugging support
460ad364a70SGreg Ungerer		  on i.MX50.
461ad364a70SGreg Ungerer
462f350b861SShawn Guo	config DEBUG_IMX51_UART
463f350b861SShawn Guo		bool "i.MX51 Debug UART"
464f350b861SShawn Guo		depends on SOC_IMX51
465f350b861SShawn Guo		help
466f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
467f350b861SShawn Guo		  on i.MX51.
468f350b861SShawn Guo
4697356420cSFabio Estevam	config DEBUG_IMX53_UART
4707356420cSFabio Estevam		bool "i.MX53 Debug UART"
4717356420cSFabio Estevam		depends on SOC_IMX53
472f350b861SShawn Guo		help
473f350b861SShawn Guo		  Say Y here if you want kernel low-level debugging support
4747356420cSFabio Estevam		  on i.MX53.
475f350b861SShawn Guo
47649c9e60eSShawn Guo	config DEBUG_IMX6Q_UART
4773c03a2feSShawn Guo		bool "i.MX6Q/DL Debug UART"
478785d7fabSDirk Behme		depends on SOC_IMX6Q
479785d7fabSDirk Behme		help
480785d7fabSDirk Behme		  Say Y here if you want kernel low-level debugging support
4813c03a2feSShawn Guo		  on i.MX6Q/DL.
482bac89d75SShawn Guo
48334e8a16bSShawn Guo	config DEBUG_IMX6SL_UART
48434e8a16bSShawn Guo		bool "i.MX6SL Debug UART"
48534e8a16bSShawn Guo		depends on SOC_IMX6SL
48634e8a16bSShawn Guo		help
48734e8a16bSShawn Guo		  Say Y here if you want kernel low-level debugging support
48834e8a16bSShawn Guo		  on i.MX6SL.
48934e8a16bSShawn Guo
49074368e81SShawn Guo	config DEBUG_IMX6SX_UART
49174368e81SShawn Guo		bool "i.MX6SX Debug UART"
49274368e81SShawn Guo		depends on SOC_IMX6SX
49374368e81SShawn Guo		help
49474368e81SShawn Guo		  Say Y here if you want kernel low-level debugging support
49574368e81SShawn Guo		  on i.MX6SX.
49674368e81SShawn Guo
49720c305f6SAnson Huang	config DEBUG_IMX6UL_UART
49820c305f6SAnson Huang		bool "i.MX6UL Debug UART"
49920c305f6SAnson Huang		depends on SOC_IMX6UL
50020c305f6SAnson Huang		help
50120c305f6SAnson Huang		  Say Y here if you want kernel low-level debugging support
50220c305f6SAnson Huang		  on i.MX6UL.
50320c305f6SAnson Huang
50452d7aec2SAnson Huang	config DEBUG_IMX7D_UART
50552d7aec2SAnson Huang		bool "i.MX7D Debug UART"
50652d7aec2SAnson Huang		depends on SOC_IMX7D
50752d7aec2SAnson Huang		help
50852d7aec2SAnson Huang		  Say Y here if you want kernel low-level debugging support
50952d7aec2SAnson Huang		  on i.MX7D.
51052d7aec2SAnson Huang
5114db22c10SArnd Bergmann	config DEBUG_INTEGRATOR
5124db22c10SArnd Bergmann		bool "Kernel low-level debugging messages via ARM Integrator UART"
5134db22c10SArnd Bergmann		depends on ARCH_INTEGRATOR
5144db22c10SArnd Bergmann		select DEBUG_UART_PL01X
5154db22c10SArnd Bergmann		help
5164db22c10SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
5174db22c10SArnd Bergmann		  on ARM Integrator platforms.
5184db22c10SArnd Bergmann
519828989adSSantosh Shilimkar	config DEBUG_KEYSTONE_UART0
520828989adSSantosh Shilimkar		bool "Kernel low-level debugging on KEYSTONE2 using UART0"
521828989adSSantosh Shilimkar		depends on ARCH_KEYSTONE
522f2acf003SRussell King		select DEBUG_UART_8250
523828989adSSantosh Shilimkar		help
524828989adSSantosh Shilimkar		  Say Y here if you want the debug print routines to direct
525828989adSSantosh Shilimkar		  their output to UART0 serial port on KEYSTONE2 devices.
526828989adSSantosh Shilimkar
527828989adSSantosh Shilimkar	config DEBUG_KEYSTONE_UART1
528828989adSSantosh Shilimkar		bool "Kernel low-level debugging on KEYSTONE2 using UART1"
529828989adSSantosh Shilimkar		depends on ARCH_KEYSTONE
530f2acf003SRussell King		select DEBUG_UART_8250
531828989adSSantosh Shilimkar		help
532828989adSSantosh Shilimkar		  Say Y here if you want the debug print routines to direct
533828989adSSantosh Shilimkar		  their output to UART1 serial port on KEYSTONE2 devices.
534828989adSSantosh Shilimkar
5350aed6a37SJoachim Eastwood	config DEBUG_LPC18XX_UART0
5360aed6a37SJoachim Eastwood		bool "Kernel low-level debugging via LPC18xx/43xx UART0"
5370aed6a37SJoachim Eastwood		depends on ARCH_LPC18XX
5380aed6a37SJoachim Eastwood		select DEBUG_UART_8250
5390aed6a37SJoachim Eastwood		help
5400aed6a37SJoachim Eastwood		  Say Y here if you want kernel low-level debugging support
5410aed6a37SJoachim Eastwood		  on NXP LPC18xx/43xx UART0.
5420aed6a37SJoachim Eastwood
54359bd4c38SArnd Bergmann	config DEBUG_LPC32XX
54459bd4c38SArnd Bergmann		bool "Kernel low-level debugging messages via NXP LPC32xx UART"
54559bd4c38SArnd Bergmann		depends on ARCH_LPC32XX
54659bd4c38SArnd Bergmann		select DEBUG_UART_8250
54759bd4c38SArnd Bergmann		help
54859bd4c38SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
54959bd4c38SArnd Bergmann		  on NXP LPC32xx based platforms.
55059bd4c38SArnd Bergmann
551d8a00916SCarlo Caione	config DEBUG_MESON_UARTAO
552d8a00916SCarlo Caione		bool "Kernel low-level debugging via Meson6 UARTAO"
553d8a00916SCarlo Caione		depends on ARCH_MESON
554d8a00916SCarlo Caione		help
555d8a00916SCarlo Caione		  Say Y here if you want kernel low-lever debugging support
556d8a00916SCarlo Caione		  on Amlogic Meson6 based platforms on the UARTAO.
557d8a00916SCarlo Caione
558fa4cd2a8SHaojian Zhuang	config DEBUG_MMP_UART2
559fa4cd2a8SHaojian Zhuang		bool "Kernel low-level debugging message via MMP UART2"
560fa4cd2a8SHaojian Zhuang		depends on ARCH_MMP
5614a003647SRussell King		select DEBUG_UART_8250
562fa4cd2a8SHaojian Zhuang		help
563fa4cd2a8SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
564fa4cd2a8SHaojian Zhuang		  on MMP UART2.
565fa4cd2a8SHaojian Zhuang
566fa4cd2a8SHaojian Zhuang	config DEBUG_MMP_UART3
567fa4cd2a8SHaojian Zhuang		bool "Kernel low-level debugging message via MMP UART3"
568fa4cd2a8SHaojian Zhuang		depends on ARCH_MMP
5694a003647SRussell King		select DEBUG_UART_8250
570fa4cd2a8SHaojian Zhuang		help
571fa4cd2a8SHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
572fa4cd2a8SHaojian Zhuang		  on MMP UART3.
573fa4cd2a8SHaojian Zhuang
574d91125ddSMaxime Ripard	config DEBUG_MVEBU_UART0
575d91125ddSMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)"
576bfd5af99SRob Herring		depends on ARCH_MVEBU
577c047f529SArnd Bergmann		depends on ARCH_MVEBU && CPU_V7
5784a003647SRussell King		select DEBUG_UART_8250
579bfd5af99SRob Herring		help
580bfd5af99SRob Herring		  Say Y here if you want kernel low-level debugging support
581d91125ddSMaxime Ripard		  on MVEBU based platforms on UART0.
582bfd5af99SRob Herring
583c2804cd6SThomas Petazzoni		  This option should be used with the old bootloaders
584c2804cd6SThomas Petazzoni		  that left the internal registers mapped at
585c2804cd6SThomas Petazzoni		  0xd0000000. As of today, this is the case on
586c2804cd6SThomas Petazzoni		  platforms such as the Globalscale Mirabox or the
587c2804cd6SThomas Petazzoni		  Plathome OpenBlocks AX3, when using the original
588c2804cd6SThomas Petazzoni		  bootloader.
589c2804cd6SThomas Petazzoni
590c047f529SArnd Bergmann		  This option will not work on older Marvell platforms
591c047f529SArnd Bergmann		  (Kirkwood, Dove, MV78xx0, Orion5x), which should pick
592c047f529SArnd Bergmann		  the "new bootloader" variant.
593c047f529SArnd Bergmann
594c2804cd6SThomas Petazzoni		  If the wrong DEBUG_MVEBU_UART* option is selected,
595c2804cd6SThomas Petazzoni		  when u-boot hands over to the kernel, the system
596c2804cd6SThomas Petazzoni		  silently crashes, with no serial output at all.
597c2804cd6SThomas Petazzoni
598d91125ddSMaxime Ripard	config DEBUG_MVEBU_UART0_ALTERNATE
599d91125ddSMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
600c047f529SArnd Bergmann		depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X
6014a003647SRussell King		select DEBUG_UART_8250
602c2804cd6SThomas Petazzoni		help
603c2804cd6SThomas Petazzoni		  Say Y here if you want kernel low-level debugging support
604c047f529SArnd Bergmann		  on MVEBU based platforms on UART0. (Armada XP, Armada 3xx,
605c047f529SArnd Bergmann		  Kirkwood, Dove, MV78xx0, Orion5x).
606c047f529SArnd Bergmann
607c2804cd6SThomas Petazzoni
608c2804cd6SThomas Petazzoni		  This option should be used with the new bootloaders
609c2804cd6SThomas Petazzoni		  that remap the internal registers at 0xf1000000.
610c2804cd6SThomas Petazzoni
611c2804cd6SThomas Petazzoni		  If the wrong DEBUG_MVEBU_UART* option is selected,
612c2804cd6SThomas Petazzoni		  when u-boot hands over to the kernel, the system
613c2804cd6SThomas Petazzoni		  silently crashes, with no serial output at all.
614c2804cd6SThomas Petazzoni
615bd920490SMaxime Ripard	config DEBUG_MVEBU_UART1_ALTERNATE
616bd920490SMaxime Ripard		bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)"
617bd920490SMaxime Ripard		depends on ARCH_MVEBU
618bd920490SMaxime Ripard		select DEBUG_UART_8250
619bd920490SMaxime Ripard		help
620bd920490SMaxime Ripard		  Say Y here if you want kernel low-level debugging support
621c047f529SArnd Bergmann		  on MVEBU based platforms on UART1. (Armada XP, Armada 3xx,
622c047f529SArnd Bergmann		  Kirkwood, Dove, MV78xx0, Orion5x).
623a3d3ef9dSStephen Boyd
6241da177e4SLinus Torvalds		  This option should be used with the new bootloaders
6251da177e4SLinus Torvalds		  that remap the internal registers at 0xf1000000.
626c047f529SArnd Bergmann		  All of the older (pre Armada XP/370) platforms also use
627c047f529SArnd Bergmann		  this address, regardless of the boot loader version.
6281da177e4SLinus Torvalds
6291da177e4SLinus Torvalds		  If the wrong DEBUG_MVEBU_UART* option is selected,
6301da177e4SLinus Torvalds		  when u-boot hands over to the kernel, the system
6311da177e4SLinus Torvalds		  silently crashes, with no serial output at all.
6321da177e4SLinus Torvalds
633624b9d83SRomain Perier	config DEBUG_MSTARV7_PMUART
634624b9d83SRomain Perier		bool "Kernel low-level debugging messages via MSTARV7 PM UART"
635624b9d83SRomain Perier		depends on ARCH_MSTARV7
636624b9d83SRomain Perier		select DEBUG_UART_8250
637624b9d83SRomain Perier		help
638624b9d83SRomain Perier		  Say Y here if you want kernel low-level debugging support
639624b9d83SRomain Perier		  for MSTAR ARMv7-based platforms on PM UART.
640624b9d83SRomain Perier
6411dc93416SArnd Bergmann	config DEBUG_MT6589_UART0
6421dc93416SArnd Bergmann		bool "Mediatek mt6589 UART0"
6431dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
6441dc93416SArnd Bergmann		select DEBUG_UART_8250
645c7c3eac6SShawn Guo		help
646c7c3eac6SShawn Guo		  Say Y here if you want kernel low-level debugging support
6471dc93416SArnd Bergmann		  for Mediatek mt6589 based platforms on UART0.
6481dc93416SArnd Bergmann
6491dc93416SArnd Bergmann	config DEBUG_MT8127_UART0
6501dc93416SArnd Bergmann		bool "Mediatek mt8127/mt6592 UART0"
6511dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
6521dc93416SArnd Bergmann		select DEBUG_UART_8250
6531dc93416SArnd Bergmann		help
6541dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
6551dc93416SArnd Bergmann		  for Mediatek mt8127 based platforms on UART0.
6561dc93416SArnd Bergmann
6571dc93416SArnd Bergmann	config DEBUG_MT8135_UART3
6581dc93416SArnd Bergmann		bool "Mediatek mt8135 UART3"
6591dc93416SArnd Bergmann		depends on ARCH_MEDIATEK
6601dc93416SArnd Bergmann		select DEBUG_UART_8250
6611dc93416SArnd Bergmann		help
6621dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
6631dc93416SArnd Bergmann		  for Mediatek mt8135 based platforms on UART3.
664c7c3eac6SShawn Guo
665266c3479SLinus Walleij	config DEBUG_NOMADIK_UART
666266c3479SLinus Walleij		bool "Kernel low-level debugging messages via NOMADIK UART"
667266c3479SLinus Walleij		depends on ARCH_NOMADIK
6685c972af4SRussell King		select DEBUG_UART_PL01X
669266c3479SLinus Walleij		help
670266c3479SLinus Walleij		  Say Y here if you want kernel low-level debugging support
671266c3479SLinus Walleij		  on NOMADIK based platforms.
672266c3479SLinus Walleij
6739851ca57SDaniel Tang	config DEBUG_NSPIRE_CLASSIC_UART
6749851ca57SDaniel Tang		bool "Kernel low-level debugging via TI-NSPIRE 8250 UART"
6759851ca57SDaniel Tang		depends on ARCH_NSPIRE
6764a003647SRussell King		select DEBUG_UART_8250
6779851ca57SDaniel Tang		help
6789851ca57SDaniel Tang		  Say Y here if you want kernel low-level debugging support
6799851ca57SDaniel Tang		  on TI-NSPIRE classic models.
6809851ca57SDaniel Tang
6819851ca57SDaniel Tang	config DEBUG_NSPIRE_CX_UART
6829851ca57SDaniel Tang		bool "Kernel low-level debugging via TI-NSPIRE PL011 UART"
6839851ca57SDaniel Tang		depends on ARCH_NSPIRE
6845c972af4SRussell King		select DEBUG_UART_PL01X
6859851ca57SDaniel Tang		help
6869851ca57SDaniel Tang		  Say Y here if you want kernel low-level debugging support
6879851ca57SDaniel Tang		  on TI-NSPIRE CX models.
6889851ca57SDaniel Tang
689c26b9993SDaniel Thompson	config DEBUG_OMAP1UART1
690c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART1"
691c26b9993SDaniel Thompson		depends on ARCH_OMAP1
692c26b9993SDaniel Thompson		select DEBUG_UART_8250
693c26b9993SDaniel Thompson		help
694c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
695c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART1.
696c26b9993SDaniel Thompson
697c26b9993SDaniel Thompson	config DEBUG_OMAP1UART2
698c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART2"
699c26b9993SDaniel Thompson		depends on ARCH_OMAP1
700c26b9993SDaniel Thompson		select DEBUG_UART_8250
701c26b9993SDaniel Thompson		help
702c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
703c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART2.
704c26b9993SDaniel Thompson
705c26b9993SDaniel Thompson	config DEBUG_OMAP1UART3
706c26b9993SDaniel Thompson		bool "Kernel low-level debugging via OMAP1 UART3"
707c26b9993SDaniel Thompson		depends on ARCH_OMAP1
708c26b9993SDaniel Thompson		select DEBUG_UART_8250
709c26b9993SDaniel Thompson		help
710c26b9993SDaniel Thompson		  Say Y here if you want kernel low-level debugging support
711c26b9993SDaniel Thompson		  on OMAP1 based platforms (except OMAP730) on the UART3.
712c26b9993SDaniel Thompson
713cce278d2SRussell King	config DEBUG_OMAP2UART1
714cce278d2SRussell King		bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)"
715808b7e07STony Lindgren		depends on ARCH_OMAP2PLUS
716d2b310b0STony Lindgren		select DEBUG_UART_8250
717808b7e07STony Lindgren		help
718cce278d2SRussell King		  This covers at least h4, 2430sdp, 3430sdp, 3630sdp,
719cce278d2SRussell King		  omap3 torpedo and 3530 lv som.
720cce278d2SRussell King
721cce278d2SRussell King	config DEBUG_OMAP2UART2
722cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP2/3/4 UART2"
723cce278d2SRussell King		depends on ARCH_OMAP2PLUS
724d2b310b0STony Lindgren		select DEBUG_UART_8250
725cce278d2SRussell King
726cce278d2SRussell King	config DEBUG_OMAP2UART3
727cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)"
728cce278d2SRussell King		depends on ARCH_OMAP2PLUS
729d2b310b0STony Lindgren		select DEBUG_UART_8250
730cce278d2SRussell King
731cce278d2SRussell King	config DEBUG_OMAP3UART3
732cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)"
733cce278d2SRussell King		depends on ARCH_OMAP2PLUS
734fc23beb8STony Lindgren		select DEBUG_UART_8250
735cce278d2SRussell King		help
736cce278d2SRussell King		  This covers at least cm_t3x, beagle, crane, devkit8000,
737cce278d2SRussell King		  igep00x0, ldp, n900, n9(50), pandora, overo, touchbook,
738cce278d2SRussell King		  and 3517evm.
739cce278d2SRussell King
740cce278d2SRussell King	config DEBUG_OMAP4UART3
741cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)"
742cce278d2SRussell King		depends on ARCH_OMAP2PLUS
743fc23beb8STony Lindgren		select DEBUG_UART_8250
744cce278d2SRussell King
745cce278d2SRussell King	config DEBUG_OMAP3UART4
746cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP36XX UART4"
747cce278d2SRussell King		depends on ARCH_OMAP2PLUS
748fc23beb8STony Lindgren		select DEBUG_UART_8250
749cce278d2SRussell King
750cce278d2SRussell King	config DEBUG_OMAP4UART4
751cce278d2SRussell King		bool "Kernel low-level debugging messages via OMAP4/5 UART4"
752cce278d2SRussell King		depends on ARCH_OMAP2PLUS
753fc23beb8STony Lindgren		select DEBUG_UART_8250
754cce278d2SRussell King
755cce278d2SRussell King	config DEBUG_TI81XXUART1
756cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)"
757cce278d2SRussell King		depends on ARCH_OMAP2PLUS
7582d1f7d2eSTony Lindgren		select DEBUG_UART_8250
759cce278d2SRussell King
760cce278d2SRussell King	config DEBUG_TI81XXUART2
761cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART2"
762cce278d2SRussell King		depends on ARCH_OMAP2PLUS
7632d1f7d2eSTony Lindgren		select DEBUG_UART_8250
764cce278d2SRussell King
765cce278d2SRussell King	config DEBUG_TI81XXUART3
766cce278d2SRussell King		bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)"
767cce278d2SRussell King		depends on ARCH_OMAP2PLUS
7682d1f7d2eSTony Lindgren		select DEBUG_UART_8250
769cce278d2SRussell King
770cce278d2SRussell King	config DEBUG_AM33XXUART1
771cce278d2SRussell King		bool "Kernel low-level debugging messages via AM33XX UART1"
772cce278d2SRussell King		depends on ARCH_OMAP2PLUS
77351ef7003STony Lindgren		select DEBUG_UART_8250
774cce278d2SRussell King
775cce278d2SRussell King	config DEBUG_ZOOM_UART
776cce278d2SRussell King		bool "Kernel low-level debugging messages via Zoom2/3 UART"
777cce278d2SRussell King		depends on ARCH_OMAP2PLUS
778cce278d2SRussell King		select DEBUG_OMAP2PLUS_UART
779808b7e07STony Lindgren
7800a43cd3bSHaojian Zhuang	config DEBUG_PXA_UART1
7810a43cd3bSHaojian Zhuang		depends on ARCH_PXA
7820a43cd3bSHaojian Zhuang		bool "Use PXA UART1 for low-level debug"
7834a003647SRussell King		select DEBUG_UART_8250
7840a43cd3bSHaojian Zhuang		help
7850a43cd3bSHaojian Zhuang		  Say Y here if you want kernel low-level debugging support
7860a43cd3bSHaojian Zhuang		  on PXA UART1.
7870a43cd3bSHaojian Zhuang
7881dc93416SArnd Bergmann	config DEBUG_QCOM_UARTDM
7891dc93416SArnd Bergmann		bool "Kernel low-level debugging messages via QCOM UARTDM"
7901dc93416SArnd Bergmann		depends on ARCH_QCOM
7911dc93416SArnd Bergmann		help
7921dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
7931dc93416SArnd Bergmann		  their output to the serial port on Qualcomm devices.
7941dc93416SArnd Bergmann
7951dc93416SArnd Bergmann		  ARCH      DEBUG_UART_PHYS   DEBUG_UART_VIRT
7961dc93416SArnd Bergmann		  APQ8064   0x16640000        0xf0040000
7971dc93416SArnd Bergmann		  APQ8084   0xf995e000        0xfa75e000
7987b87fe94SChristian Lamparter		  IPQ4019   0x078af000        0xf78af000
7991dc93416SArnd Bergmann		  MSM8X60   0x19c40000        0xf0040000
8001dc93416SArnd Bergmann		  MSM8960   0x16440000        0xf0040000
8011dc93416SArnd Bergmann		  MSM8974   0xf991e000        0xfa71e000
8021dc93416SArnd Bergmann
8031dc93416SArnd Bergmann		  Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration
8041dc93416SArnd Bergmann		  options based on your needs.
8051dc93416SArnd Bergmann
806e76f4750SRussell King	config DEBUG_REALVIEW_STD_PORT
807e76f4750SRussell King		bool "RealView Default UART"
808e76f4750SRussell King		depends on ARCH_REALVIEW
8095c972af4SRussell King		select DEBUG_UART_PL01X
810e76f4750SRussell King		help
811e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
812e76f4750SRussell King		  their output to the serial port on RealView EB, PB11MP, PBA8
813e76f4750SRussell King		  and PBX platforms.
814e76f4750SRussell King
815e76f4750SRussell King	config DEBUG_REALVIEW_PB1176_PORT
816e76f4750SRussell King		bool "RealView PB1176 UART"
817e76f4750SRussell King		depends on MACH_REALVIEW_PB1176
8185c972af4SRussell King		select DEBUG_UART_PL01X
819e76f4750SRussell King		help
820e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
821e76f4750SRussell King		  their output to the standard serial port on the RealView
822e76f4750SRussell King		  PB1176 platform.
823e76f4750SRussell King
824a3b882f9SAndy Yan	config DEBUG_RV1108_UART0
825a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART0"
826a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
827a3b882f9SAndy Yan		select DEBUG_UART_8250
828a3b882f9SAndy Yan		help
829a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
830a3b882f9SAndy Yan                  on Rockchip RV1108 based platforms.
831a3b882f9SAndy Yan
832a3b882f9SAndy Yan	config DEBUG_RV1108_UART1
833a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART1"
834a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
835a3b882f9SAndy Yan		select DEBUG_UART_8250
836a3b882f9SAndy Yan		help
837a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
838a3b882f9SAndy Yan		  on Rockchip RV1108 based platforms.
839a3b882f9SAndy Yan
840a3b882f9SAndy Yan	config DEBUG_RV1108_UART2
841a3b882f9SAndy Yan		bool "Kernel low-level debugging messages via Rockchip RV1108 UART2"
842a3b882f9SAndy Yan		depends on ARCH_ROCKCHIP
843a3b882f9SAndy Yan		select DEBUG_UART_8250
844a3b882f9SAndy Yan		help
845a3b882f9SAndy Yan		  Say Y here if you want kernel low-level debugging support
846a3b882f9SAndy Yan		  on Rockchip RV1108 based platforms.
847a3b882f9SAndy Yan
848cce278d2SRussell King	config DEBUG_RK29_UART0
849cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART0"
85038bd6892SHeiko Stuebner		depends on ARCH_ROCKCHIP
8514a003647SRussell King		select DEBUG_UART_8250
852cce278d2SRussell King		help
853cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
854cce278d2SRussell King		  on Rockchip based platforms.
855cce278d2SRussell King
856cce278d2SRussell King	config DEBUG_RK29_UART1
857cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART1"
858cce278d2SRussell King		depends on ARCH_ROCKCHIP
8594a003647SRussell King		select DEBUG_UART_8250
860cce278d2SRussell King		help
861cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
862cce278d2SRussell King		  on Rockchip based platforms.
863cce278d2SRussell King
864cce278d2SRussell King	config DEBUG_RK29_UART2
865cce278d2SRussell King		bool "Kernel low-level debugging messages via Rockchip RK29 UART2"
866cce278d2SRussell King		depends on ARCH_ROCKCHIP
8674a003647SRussell King		select DEBUG_UART_8250
868cce278d2SRussell King		help
869cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
870cce278d2SRussell King		  on Rockchip based platforms.
871cce278d2SRussell King
872cce278d2SRussell King	config DEBUG_RK3X_UART0
873aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0"
874cce278d2SRussell King		depends on ARCH_ROCKCHIP
8754a003647SRussell King		select DEBUG_UART_8250
876cce278d2SRussell King		help
877cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
878cce278d2SRussell King		  on Rockchip based platforms.
879cce278d2SRussell King
880cce278d2SRussell King	config DEBUG_RK3X_UART1
881aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1"
882cce278d2SRussell King		depends on ARCH_ROCKCHIP
8834a003647SRussell King		select DEBUG_UART_8250
884cce278d2SRussell King		help
885cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
886cce278d2SRussell King		  on Rockchip based platforms.
887cce278d2SRussell King
888cce278d2SRussell King	config DEBUG_RK3X_UART2
889aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2"
890cce278d2SRussell King		depends on ARCH_ROCKCHIP
8914a003647SRussell King		select DEBUG_UART_8250
892cce278d2SRussell King		help
893cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
894cce278d2SRussell King		  on Rockchip based platforms.
895cce278d2SRussell King
896cce278d2SRussell King	config DEBUG_RK3X_UART3
897aa9c4f74SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3"
898cce278d2SRussell King		depends on ARCH_ROCKCHIP
8994a003647SRussell King		select DEBUG_UART_8250
90038bd6892SHeiko Stuebner		help
90138bd6892SHeiko Stuebner		  Say Y here if you want kernel low-level debugging support
90238bd6892SHeiko Stuebner		  on Rockchip based platforms.
90338bd6892SHeiko Stuebner
904efd02ee9SHeiko Stuebner	config DEBUG_RK32_UART2
905efd02ee9SHeiko Stuebner		bool "Kernel low-level debugging messages via Rockchip RK32 UART2"
906efd02ee9SHeiko Stuebner		depends on ARCH_ROCKCHIP
907efd02ee9SHeiko Stuebner		select DEBUG_UART_8250
908efd02ee9SHeiko Stuebner		help
909efd02ee9SHeiko Stuebner		  Say Y here if you want kernel low-level debugging support
910efd02ee9SHeiko Stuebner		  on Rockchip RK32xx based platforms.
911efd02ee9SHeiko Stuebner
9127a2071c5SGeert Uytterhoeven	config DEBUG_R7S72100_SCIF2
9137a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R7S72100"
9147a2071c5SGeert Uytterhoeven		depends on ARCH_R7S72100
9157a2071c5SGeert Uytterhoeven		help
9167a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9177a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas RZ/A1H (R7S72100).
9187a2071c5SGeert Uytterhoeven
919e9670ccbSGeert Uytterhoeven	config DEBUG_R7S9210_SCIF2
920e9670ccbSGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R7S9210"
921e9670ccbSGeert Uytterhoeven		depends on ARCH_R7S9210
922e9670ccbSGeert Uytterhoeven		help
923e9670ccbSGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
924e9670ccbSGeert Uytterhoeven		  via SCIF2 on Renesas RZ/A2M (R7S9210).
925e9670ccbSGeert Uytterhoeven
926e9670ccbSGeert Uytterhoeven	config DEBUG_R7S9210_SCIF4
927e9670ccbSGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF4 on R7S9210"
928e9670ccbSGeert Uytterhoeven		depends on ARCH_R7S9210
929e9670ccbSGeert Uytterhoeven		help
930e9670ccbSGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
931e9670ccbSGeert Uytterhoeven		  via SCIF4 on Renesas RZ/A2M (R7S9210).
932e9670ccbSGeert Uytterhoeven
9337a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN1_SCIF0
9347a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF0 on R8A7778"
9357a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7778
9367a2071c5SGeert Uytterhoeven		help
9377a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9387a2071c5SGeert Uytterhoeven		  via SCIF0 on Renesas R-Car M1A (R8A7778).
9397a2071c5SGeert Uytterhoeven
9407a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN1_SCIF2
9417a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R8A7779"
9427a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7779
9437a2071c5SGeert Uytterhoeven		help
9447a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9457a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas R-Car H1 (R8A7779).
9467a2071c5SGeert Uytterhoeven
9477a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN2_SCIF0
948fcfbb6f1SChris Paterson		bool "Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1"
949abf3bf53SBiju Das		depends on ARCH_R8A7743 || ARCH_R8A7744 || ARCH_R8A7790 || \
950abf3bf53SBiju Das			ARCH_R8A7791 || ARCH_R8A7792 || ARCH_R8A7793
9517a2071c5SGeert Uytterhoeven		help
9527a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
953abf3bf53SBiju Das		  via SCIF0 on Renesas RZ/G1M (R8A7743), RZ/G1N (R8A7744),
954abf3bf53SBiju Das		  R-Car H2 (R8A7790), M2-W (R8A7791), V2H (R8A7792), or
955abf3bf53SBiju Das		  M2-N (R8A7793).
9567a2071c5SGeert Uytterhoeven
9572f095c26SBiju Das	config DEBUG_RCAR_GEN2_SCIF1
9582f095c26SBiju Das		bool "Kernel low-level debugging messages via SCIF1 on R8A77470"
9592f095c26SBiju Das		depends on ARCH_R8A77470
9602f095c26SBiju Das		help
9612f095c26SBiju Das		  Say Y here if you want kernel low-level debugging support
9622f095c26SBiju Das		  via SCIF1 on Renesas RZ/G1C (R8A77470).
9632f095c26SBiju Das
9647a2071c5SGeert Uytterhoeven	config DEBUG_RCAR_GEN2_SCIF2
9657a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIF2 on R8A7794"
9667a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7794
9677a2071c5SGeert Uytterhoeven		help
9687a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9697a2071c5SGeert Uytterhoeven		  via SCIF2 on Renesas R-Car E2 (R8A7794).
9707a2071c5SGeert Uytterhoeven
9718e5f2d65SFabrizio Castro	config DEBUG_RCAR_GEN2_SCIF4
9728e5f2d65SFabrizio Castro		bool "Kernel low-level debugging messages via SCIF4 on R8A7745"
9738e5f2d65SFabrizio Castro		depends on ARCH_R8A7745
9748e5f2d65SFabrizio Castro		help
9758e5f2d65SFabrizio Castro		  Say Y here if you want kernel low-level debugging support
9768e5f2d65SFabrizio Castro		  via SCIF4 on Renesas RZ/G1E (R8A7745).
9778e5f2d65SFabrizio Castro
97896866b1aSLad Prabhakar	config DEBUG_RCAR_GEN2_SCIFA2
97996866b1aSLad Prabhakar		bool "Kernel low-level debugging messages via SCIFA2 on R8A7742"
98096866b1aSLad Prabhakar		depends on ARCH_R8A7742
98196866b1aSLad Prabhakar		help
98296866b1aSLad Prabhakar		  Say Y here if you want kernel low-level debugging support
98396866b1aSLad Prabhakar		  via SCIFA2 on Renesas RZ/G1H (R8A7742).
98496866b1aSLad Prabhakar
9857a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA0
98659b89af1SMagnus Damm		bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
98759b89af1SMagnus Damm		depends on ARCH_R8A73A4
9887a2071c5SGeert Uytterhoeven		help
9897a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
99059b89af1SMagnus Damm		  via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).
9917a2071c5SGeert Uytterhoeven
9927a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA1
9937a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIFA1 on R8A7740"
9947a2071c5SGeert Uytterhoeven		depends on ARCH_R8A7740
9957a2071c5SGeert Uytterhoeven		help
9967a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
9977a2071c5SGeert Uytterhoeven		  via SCIFA1 on Renesas R-Mobile A1 (R8A7740).
9987a2071c5SGeert Uytterhoeven
9997a2071c5SGeert Uytterhoeven	config DEBUG_RMOBILE_SCIFA4
10007a2071c5SGeert Uytterhoeven		bool "Kernel low-level debugging messages via SCIFA4 on SH73A0"
10017a2071c5SGeert Uytterhoeven		depends on ARCH_SH73A0
10027a2071c5SGeert Uytterhoeven		help
10037a2071c5SGeert Uytterhoeven		  Say Y here if you want kernel low-level debugging support
10047a2071c5SGeert Uytterhoeven		  via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).
10057a2071c5SGeert Uytterhoeven
1006e76f4750SRussell King	config DEBUG_S3C_UART0
1007db8230d2SArnd Bergmann		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
1008a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10091899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
1010bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
10117bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
10125cc8a016SSachin Kamat		bool "Use Samsung S3C UART 0 for low-level debug"
1013e76f4750SRussell King		help
1014e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
1015e76f4750SRussell King		  their output to UART 0. The port must have been initialised
1016e76f4750SRussell King		  by the boot-loader before use.
1017e76f4750SRussell King
1018e76f4750SRussell King	config DEBUG_S3C_UART1
1019db8230d2SArnd Bergmann		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
1020a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10211899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
1022bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
10237bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
10245cc8a016SSachin Kamat		bool "Use Samsung S3C UART 1 for low-level debug"
1025e76f4750SRussell King		help
1026e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
1027e76f4750SRussell King		  their output to UART 1. The port must have been initialised
1028e76f4750SRussell King		  by the boot-loader before use.
1029e76f4750SRussell King
1030e76f4750SRussell King	config DEBUG_S3C_UART2
1031db8230d2SArnd Bergmann		depends on PLAT_SAMSUNG || ARCH_S5PV210 || ARCH_EXYNOS
1032a2e40710SArnd Bergmann		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
10331899de28SHeiko Stuebner		select DEBUG_S3C24XX_UART if ARCH_S3C24XX
1034bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
10357bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
10365cc8a016SSachin Kamat		bool "Use Samsung S3C UART 2 for low-level debug"
1037e76f4750SRussell King		help
1038e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
1039e76f4750SRussell King		  their output to UART 2. The port must have been initialised
1040e76f4750SRussell King		  by the boot-loader before use.
1041e76f4750SRussell King
10425fa23ddeSOlof Johansson	config DEBUG_S3C_UART3
1043cb6c0301SArnd Bergmann		depends on ARCH_EXYNOS || ARCH_S5PV210
10447bab7d9eSTomasz Figa		select DEBUG_EXYNOS_UART if ARCH_EXYNOS
1045bb08dea1SArnd Bergmann		select DEBUG_S3C64XX_UART if ARCH_S3C64XX
10467bab7d9eSTomasz Figa		select DEBUG_S5PV210_UART if ARCH_S5PV210
10475cc8a016SSachin Kamat		bool "Use Samsung S3C UART 3 for low-level debug"
10485fa23ddeSOlof Johansson		help
10495fa23ddeSOlof Johansson		  Say Y here if you want the debug print routines to direct
10505fa23ddeSOlof Johansson		  their output to UART 3. The port must have been initialised
10515fa23ddeSOlof Johansson		  by the boot-loader before use.
10525fa23ddeSOlof Johansson
1053daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART0
1054daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
1055daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
1056daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 0 for low-level debug"
1057daf67dfcSHeiko Stuebner		help
1058daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
1059daf67dfcSHeiko Stuebner		  their output to UART 0. The port must have been initialised
1060daf67dfcSHeiko Stuebner		  by the boot-loader before use.
1061daf67dfcSHeiko Stuebner
1062daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART1
1063daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
1064daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
1065daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 1 for low-level debug"
1066daf67dfcSHeiko Stuebner		help
1067daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
1068daf67dfcSHeiko Stuebner		  their output to UART 1. The port must have been initialised
1069daf67dfcSHeiko Stuebner		  by the boot-loader before use.
1070daf67dfcSHeiko Stuebner
1071daf67dfcSHeiko Stuebner	config DEBUG_S3C2410_UART2
1072daf67dfcSHeiko Stuebner		depends on ARCH_S3C24XX
1073daf67dfcSHeiko Stuebner		select DEBUG_S3C2410_UART
1074daf67dfcSHeiko Stuebner		bool "Use S3C2410/S3C2412 UART 2 for low-level debug"
1075daf67dfcSHeiko Stuebner		help
1076daf67dfcSHeiko Stuebner		  Say Y here if you want the debug print routines to direct
1077daf67dfcSHeiko Stuebner		  their output to UART 2. The port must have been initialised
1078daf67dfcSHeiko Stuebner		  by the boot-loader before use.
1079daf67dfcSHeiko Stuebner
1080e6131fa3SDmitry Eremin-Solenikov	config DEBUG_SA1100
1081e6131fa3SDmitry Eremin-Solenikov		depends on ARCH_SA1100
1082e6131fa3SDmitry Eremin-Solenikov		bool "Use SA1100 UARTs for low-level debug"
1083e6131fa3SDmitry Eremin-Solenikov		help
1084e6131fa3SDmitry Eremin-Solenikov		  Say Y here if you want kernel low-level debugging support
1085e6131fa3SDmitry Eremin-Solenikov		  on SA-11x0 UART ports. The kernel will check for the first
1086e6131fa3SDmitry Eremin-Solenikov		  enabled UART in a sequence 3-1-2.
1087e6131fa3SDmitry Eremin-Solenikov
1088c5fdb668SKefeng Wang	config DEBUG_SD5203_UART
1089c5fdb668SKefeng Wang		bool "Hisilicon SD5203 Debug UART"
1090c5fdb668SKefeng Wang		depends on ARCH_SD5203
1091c5fdb668SKefeng Wang		select DEBUG_UART_8250
1092c5fdb668SKefeng Wang		help
1093c5fdb668SKefeng Wang		  Say Y here if you want kernel low-level debugging support
1094c5fdb668SKefeng Wang		  on SD5203 UART.
1095c5fdb668SKefeng Wang
1096de73c162SDinh Nguyen	config DEBUG_SOCFPGA_UART0
1097910499e1SKrzysztof Kozlowski		depends on ARCH_INTEL_SOCFPGA
1098de73c162SDinh Nguyen		bool "Use SOCFPGA UART0 for low-level debug"
10990b4cccbeSRussell King		select DEBUG_UART_8250
11006111bf7cSRob Herring		help
11016111bf7cSRob Herring		  Say Y here if you want kernel low-level debugging support
1102de73c162SDinh Nguyen		  on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
1103de73c162SDinh Nguyen
1104f6628486SClément Péron	config DEBUG_SOCFPGA_ARRIA10_UART1
1105910499e1SKrzysztof Kozlowski		depends on ARCH_INTEL_SOCFPGA
1106f6628486SClément Péron		bool "Use SOCFPGA Arria10 UART1 for low-level debug"
1107de73c162SDinh Nguyen		select DEBUG_UART_8250
1108de73c162SDinh Nguyen		help
1109de73c162SDinh Nguyen		  Say Y here if you want kernel low-level debugging support
1110de73c162SDinh Nguyen		  on SOCFPGA(Arria 10) based platforms.
1111de73c162SDinh Nguyen
1112f6628486SClément Péron	config DEBUG_SOCFPGA_CYCLONE5_UART1
1113910499e1SKrzysztof Kozlowski		depends on ARCH_INTEL_SOCFPGA
1114f6628486SClément Péron		bool "Use SOCFPGA Cyclone 5 UART1 for low-level debug"
1115f6628486SClément Péron		select DEBUG_UART_8250
1116f6628486SClément Péron		help
1117f6628486SClément Péron		  Say Y here if you want kernel low-level debugging support
1118f6628486SClément Péron		  on SOCFPGA(Cyclone 5 and Arria 5) based platforms.
11196111bf7cSRob Herring
1120d4da889aSChen-Yu Tsai	config DEBUG_SUN9I_UART0
1121d4da889aSChen-Yu Tsai		bool "Kernel low-level debugging messages via sun9i UART0"
1122d4da889aSChen-Yu Tsai		depends on MACH_SUN9I
1123d4da889aSChen-Yu Tsai		select DEBUG_UART_8250
1124d4da889aSChen-Yu Tsai		help
1125d4da889aSChen-Yu Tsai		  Say Y here if you want kernel low-level debugging support
1126d4da889aSChen-Yu Tsai		  on Allwinner A80 based platforms on the UART0.
1127d4da889aSChen-Yu Tsai
1128aa25115aSStefan Roese	config DEBUG_SUNXI_UART0
1129aa25115aSStefan Roese		bool "Kernel low-level debugging messages via sunXi UART0"
1130aa25115aSStefan Roese		depends on ARCH_SUNXI
11314a003647SRussell King		select DEBUG_UART_8250
1132aa25115aSStefan Roese		help
1133aa25115aSStefan Roese		  Say Y here if you want kernel low-level debugging support
1134aa25115aSStefan Roese		  on Allwinner A1X based platforms on the UART0.
1135aa25115aSStefan Roese
1136cb84fa18SMaxime Ripard	config DEBUG_SUNXI_UART1
1137cb84fa18SMaxime Ripard		bool "Kernel low-level debugging messages via sunXi UART1"
1138cb84fa18SMaxime Ripard		depends on ARCH_SUNXI
11394a003647SRussell King		select DEBUG_UART_8250
1140cb84fa18SMaxime Ripard		help
1141cb84fa18SMaxime Ripard		  Say Y here if you want kernel low-level debugging support
1142cb84fa18SMaxime Ripard		  on Allwinner A1X based platforms on the UART1.
1143cb84fa18SMaxime Ripard
1144c4718543SChen-Yu Tsai	config DEBUG_SUNXI_R_UART
1145c4718543SChen-Yu Tsai		bool "Kernel low-level debugging messages via sunXi R_UART"
1146c4718543SChen-Yu Tsai		depends on MACH_SUN6I || MACH_SUN8I
1147c4718543SChen-Yu Tsai		select DEBUG_UART_8250
1148c4718543SChen-Yu Tsai		help
1149c4718543SChen-Yu Tsai		  Say Y here if you want kernel low-level debugging support
1150c4718543SChen-Yu Tsai		  on Allwinner A31/A23 based platforms on the R_UART.
1151c4718543SChen-Yu Tsai
1152375d84cfSArnd Bergmann	config DEBUG_SPEAR3XX
1153375d84cfSArnd Bergmann		bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART"
1154375d84cfSArnd Bergmann		depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX
1155375d84cfSArnd Bergmann		select DEBUG_UART_PL01X
1156375d84cfSArnd Bergmann		help
1157375d84cfSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1158375d84cfSArnd Bergmann		  on ST SPEAr based platforms.
1159375d84cfSArnd Bergmann
1160375d84cfSArnd Bergmann	config DEBUG_SPEAR13XX
1161375d84cfSArnd Bergmann		bool "Kernel low-level debugging messages via ST SPEAr 13xx UART"
1162375d84cfSArnd Bergmann		depends on ARCH_SPEAR13XX
1163375d84cfSArnd Bergmann		select DEBUG_UART_PL01X
1164375d84cfSArnd Bergmann		help
1165375d84cfSArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1166375d84cfSArnd Bergmann		  on ST SPEAr13xx based platforms.
1167375d84cfSArnd Bergmann
11689ca4efecSAlain VOLMAT	config DEBUG_STIH41X_ASC2
1169cce278d2SRussell King		bool "Use StiH415/416 ASC2 UART for low-level debug"
11705562b800SArnd Bergmann		depends on ARCH_STI
11715562b800SArnd Bergmann		help
11725562b800SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
1173cce278d2SRussell King		  on STiH415/416 based platforms like b2000, which has
1174cce278d2SRussell King		  default UART wired up to ASC2.
1175cce278d2SRussell King
1176cce278d2SRussell King		  If unsure, say N.
1177cce278d2SRussell King
11789ca4efecSAlain VOLMAT	config DEBUG_STIH41X_SBC_ASC1
1179cce278d2SRussell King		bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
1180cce278d2SRussell King		depends on ARCH_STI
1181cce278d2SRussell King		help
1182cce278d2SRussell King		  Say Y here if you want kernel low-level debugging support
1183cce278d2SRussell King		  on STiH415/416 based platforms like b2020. which has
1184cce278d2SRussell King		  default UART wired up to SBC ASC1.
11855562b800SArnd Bergmann
11865562b800SArnd Bergmann		  If unsure, say N.
11875562b800SArnd Bergmann
11886e959ad8SAlain VOLMAT	config DEBUG_STIH418_SBC_ASC0
11896e959ad8SAlain VOLMAT		bool "Use StiH418 SBC ASC0 UART for low-level debug"
11906e959ad8SAlain VOLMAT		depends on ARCH_STI
11916e959ad8SAlain VOLMAT		help
11926e959ad8SAlain VOLMAT		  Say Y here if you want kernel low-level debugging support
11936e959ad8SAlain VOLMAT		  on STiH418 based platforms which has default UART wired
11946e959ad8SAlain VOLMAT		  up to SBC ASC0.
11956e959ad8SAlain VOLMAT
11966e959ad8SAlain VOLMAT		  If unsure, say N.
11976e959ad8SAlain VOLMAT
1198d88bb418SGerald Baeza	config STM32F4_DEBUG_UART
1199d88bb418SGerald Baeza		bool "Use STM32F4 UART for low-level debug"
120079d5cfd1SErwan Le Ray		depends on MACH_STM32F429 || MACH_STM32F469
1201d88bb418SGerald Baeza		select DEBUG_STM32_UART
1202d88bb418SGerald Baeza		help
1203d88bb418SGerald Baeza		  Say Y here if you want kernel low-level debugging support
1204d88bb418SGerald Baeza		  on STM32F4 based platforms, which default UART is wired on
120579d5cfd1SErwan Le Ray		  USART1, but another UART instance can be selected by modifying
120679d5cfd1SErwan Le Ray		  CONFIG_DEBUG_UART_PHYS.
1207d88bb418SGerald Baeza
1208d88bb418SGerald Baeza		  If unsure, say N.
1209d88bb418SGerald Baeza
1210d88bb418SGerald Baeza	config STM32F7_DEBUG_UART
1211d88bb418SGerald Baeza		bool "Use STM32F7 UART for low-level debug"
121213f71fa8SErwan Le Ray		depends on MACH_STM32F746 || MACH_STM32F769
1213d88bb418SGerald Baeza		select DEBUG_STM32_UART
1214d88bb418SGerald Baeza		help
1215d88bb418SGerald Baeza		  Say Y here if you want kernel low-level debugging support
1216d88bb418SGerald Baeza		  on STM32F7 based platforms, which default UART is wired on
121713f71fa8SErwan Le Ray		  USART1, but another UART instance can be selected by modifying
121813f71fa8SErwan Le Ray		  CONFIG_DEBUG_UART_PHYS.
1219d88bb418SGerald Baeza
1220d88bb418SGerald Baeza		  If unsure, say N.
1221d88bb418SGerald Baeza
122233cab895SErwan Le Ray	config STM32H7_DEBUG_UART
122333cab895SErwan Le Ray		bool "Use STM32H7 UART for low-level debug"
122433cab895SErwan Le Ray		depends on MACH_STM32H743
122533cab895SErwan Le Ray		select DEBUG_STM32_UART
122633cab895SErwan Le Ray		help
122733cab895SErwan Le Ray		  Say Y here if you want kernel low-level debugging support
122833cab895SErwan Le Ray		  on STM32H7 based platforms, which default UART is wired on
122933cab895SErwan Le Ray		  USART1, but another UART instance can be selected by modifying
123033cab895SErwan Le Ray		  CONFIG_DEBUG_UART_PHYS.
123133cab895SErwan Le Ray
123233cab895SErwan Le Ray		  If unsure, say N.
123333cab895SErwan Le Ray
123462c1594dSErwan Le Ray	config STM32MP1_DEBUG_UART
123562c1594dSErwan Le Ray		bool "Use STM32MP1 UART for low-level debug"
123662c1594dSErwan Le Ray		depends on MACH_STM32MP157
123762c1594dSErwan Le Ray		select DEBUG_STM32_UART
123862c1594dSErwan Le Ray		help
123962c1594dSErwan Le Ray		  Say Y here if you want kernel low-level debugging support
124062c1594dSErwan Le Ray		  on STM32MP1 based platforms, wich default UART is wired on
124162c1594dSErwan Le Ray		  UART4, but another UART instance can be selected by modifying
124262c1594dSErwan Le Ray		  CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT.
124362c1594dSErwan Le Ray
124462c1594dSErwan Le Ray		  If unsure, say N.
124562c1594dSErwan Le Ray
12461da177e4SLinus Torvalds	config TEGRA_DEBUG_UART_AUTO_ODMDATA
12471da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART via ODMDATA"
12481da177e4SLinus Torvalds		depends on ARCH_TEGRA
12491da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
12501da177e4SLinus Torvalds		help
12511da177e4SLinus Torvalds		  Automatically determines which UART to use for low-level
12521da177e4SLinus Torvalds		  debug based on the ODMDATA value. This value is part of
12531da177e4SLinus Torvalds		  the BCT, and is written to the boot memory device using
12541da177e4SLinus Torvalds		  nvflash, or other flashing tool.  When bits 19:18 are 3,
12551da177e4SLinus Torvalds		  then bits 17:15 indicate which UART to use; 0/1/2/3/4
12561da177e4SLinus Torvalds		  are UART A/B/C/D/E.
12571da177e4SLinus Torvalds
12581da177e4SLinus Torvalds	config TEGRA_DEBUG_UARTA
12591da177e4SLinus Torvalds		bool "Kernel low-level debugging messages via Tegra UART A"
12601da177e4SLinus Torvalds		depends on ARCH_TEGRA
12611da177e4SLinus Torvalds		select DEBUG_TEGRA_UART
12621da177e4SLinus Torvalds		help
12631da177e4SLinus Torvalds		  Say Y here if you want kernel low-level debugging support
12641da177e4SLinus Torvalds		  on Tegra based platforms.
1265e76f4750SRussell King
1266e76f4750SRussell King	config TEGRA_DEBUG_UARTB
1267e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART B"
1268e76f4750SRussell King		depends on ARCH_TEGRA
1269e76f4750SRussell King		select DEBUG_TEGRA_UART
1270e76f4750SRussell King		help
1271e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1272e76f4750SRussell King		  on Tegra based platforms.
1273e76f4750SRussell King
1274e76f4750SRussell King	config TEGRA_DEBUG_UARTC
1275e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART C"
1276e76f4750SRussell King		depends on ARCH_TEGRA
1277e76f4750SRussell King		select DEBUG_TEGRA_UART
1278e76f4750SRussell King		help
1279e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1280e76f4750SRussell King		  on Tegra based platforms.
1281e76f4750SRussell King
1282e76f4750SRussell King	config TEGRA_DEBUG_UARTD
1283e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART D"
1284e76f4750SRussell King		depends on ARCH_TEGRA
1285e76f4750SRussell King		select DEBUG_TEGRA_UART
1286e76f4750SRussell King		help
1287e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1288e76f4750SRussell King		  on Tegra based platforms.
1289e76f4750SRussell King
1290e76f4750SRussell King	config TEGRA_DEBUG_UARTE
1291e76f4750SRussell King		bool "Kernel low-level debugging messages via Tegra UART E"
1292e76f4750SRussell King		depends on ARCH_TEGRA
1293e76f4750SRussell King		select DEBUG_TEGRA_UART
1294e76f4750SRussell King		help
1295e76f4750SRussell King		  Say Y here if you want kernel low-level debugging support
1296e76f4750SRussell King		  on Tegra based platforms.
1297e76f4750SRussell King
1298f87b95ddSLinus Walleij	config DEBUG_UX500_UART
1299f87b95ddSLinus Walleij		depends on ARCH_U8500
1300f87b95ddSLinus Walleij		bool "Use Ux500 UART for low-level debug"
1301f87b95ddSLinus Walleij		help
1302f87b95ddSLinus Walleij		  Say Y here if you want kernel low-level debugging support
1303f87b95ddSLinus Walleij		  on Ux500 based platforms.
1304f87b95ddSLinus Walleij
13054db22c10SArnd Bergmann	config DEBUG_VERSATILE
13064db22c10SArnd Bergmann		bool "Kernel low-level debugging messages via ARM Versatile UART"
13074db22c10SArnd Bergmann		depends on ARCH_VERSATILE
13084db22c10SArnd Bergmann		select DEBUG_UART_PL01X
1309d6682085SMatthias Brugger		help
1310d6682085SMatthias Brugger		  Say Y here if you want kernel low-level debugging support
13114db22c10SArnd Bergmann		  on ARM Versatile platforms.
131265ec48c0SJoe.C
13131b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_DETECT
13141b820eafSPawel Moll		bool "Autodetect UART0 on Versatile Express Cortex-A core tiles"
13151b820eafSPawel Moll		depends on ARCH_VEXPRESS && CPU_CP15_MMU
13161b820eafSPawel Moll		help
13171b820eafSPawel Moll		  This option enables a simple heuristic which tries to determine
13181b820eafSPawel Moll		  the motherboard's memory map variant (original or RS1) and then
13191b820eafSPawel Moll		  choose the relevant UART0 base address.
13201b820eafSPawel Moll
13211b820eafSPawel Moll		  Note that this will only work with standard A-class core tiles,
13221b820eafSPawel Moll		  and may fail with non-standard SMM or custom software models.
13231b820eafSPawel Moll
13241b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_CA9
13251b820eafSPawel Moll		bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)"
13261b820eafSPawel Moll		depends on ARCH_VEXPRESS
13275c972af4SRussell King		select DEBUG_UART_PL01X
13281b820eafSPawel Moll		help
13291b820eafSPawel Moll		  This option selects UART0 at 0x10009000. Except for custom models,
13301b820eafSPawel Moll		  this applies only to the V2P-CA9 tile.
13311b820eafSPawel Moll
13321b820eafSPawel Moll	config DEBUG_VEXPRESS_UART0_RS1
13331b820eafSPawel Moll		bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)"
13341b820eafSPawel Moll		depends on ARCH_VEXPRESS
13355c972af4SRussell King		select DEBUG_UART_PL01X
13361b820eafSPawel Moll		help
13371b820eafSPawel Moll		  This option selects UART0 at 0x1c090000. This applies to most
13381b820eafSPawel Moll		  of the tiles using the RS1 memory map, including all new A-class
13391b820eafSPawel Moll		  core tiles, FPGA-based SMMs and software models.
13401b820eafSPawel Moll
1341ed18bdc8SJonathan Austin	config DEBUG_VEXPRESS_UART0_CRX
1342ed18bdc8SJonathan Austin		bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)"
1343ed18bdc8SJonathan Austin		depends on ARCH_VEXPRESS && !MMU
13445c972af4SRussell King		select DEBUG_UART_PL01X
1345ed18bdc8SJonathan Austin		help
1346ed18bdc8SJonathan Austin		  This option selects UART0 at 0xb0090000. This is appropriate for
1347ed18bdc8SJonathan Austin		  Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7
1348ed18bdc8SJonathan Austin
13491dc93416SArnd Bergmann	config DEBUG_VF_UART
13501dc93416SArnd Bergmann		bool "Vybrid UART"
13511dc93416SArnd Bergmann		depends on SOC_VF610
13521dc93416SArnd Bergmann		help
13531dc93416SArnd Bergmann		  Say Y here if you want kernel low-level debugging support
13541dc93416SArnd Bergmann		  on Vybrid based platforms.
13551dc93416SArnd Bergmann
1356b61a2722STony Prisk	config DEBUG_VT8500_UART0
1357b61a2722STony Prisk		bool "Use UART0 on VIA/Wondermedia SoCs"
1358b61a2722STony Prisk		depends on ARCH_VT8500
1359b61a2722STony Prisk		help
1360b61a2722STony Prisk		  This option selects UART0 on VIA/Wondermedia System-on-a-chip
1361b61a2722STony Prisk		  devices, including VT8500, WM8505, WM8650 and WM8850.
1362b61a2722STony Prisk
13631dc93416SArnd Bergmann	config DEBUG_ZYNQ_UART0
13641dc93416SArnd Bergmann		bool "Kernel low-level debugging on Xilinx Zynq using UART0"
13651dc93416SArnd Bergmann		depends on ARCH_ZYNQ
13661dc93416SArnd Bergmann		help
13671dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
13681dc93416SArnd Bergmann		  their output to UART0 on the Zynq platform.
13691dc93416SArnd Bergmann
13701dc93416SArnd Bergmann	config DEBUG_ZYNQ_UART1
13711dc93416SArnd Bergmann		bool "Kernel low-level debugging on Xilinx Zynq using UART1"
13721dc93416SArnd Bergmann		depends on ARCH_ZYNQ
13731dc93416SArnd Bergmann		help
13741dc93416SArnd Bergmann		  Say Y here if you want the debug print routines to direct
13751dc93416SArnd Bergmann		  their output to UART1 on the Zynq platform.
13761dc93416SArnd Bergmann
13771dc93416SArnd Bergmann		  If you have a ZC702 board and want early boot messages to
13781dc93416SArnd Bergmann		  appear on the USB serial adaptor, select this option.
13791dc93416SArnd Bergmann
1380e76f4750SRussell King	config DEBUG_ICEDCC
1381e76f4750SRussell King		bool "Kernel low-level debugging via EmbeddedICE DCC channel"
1382e76f4750SRussell King		help
1383e76f4750SRussell King		  Say Y here if you want the debug print routines to direct
1384e76f4750SRussell King		  their output to the EmbeddedICE macrocell's DCC channel using
1385e76f4750SRussell King		  co-processor 14. This is known to work on the ARM9 style ICE
1386e76f4750SRussell King		  channel and on the XScale with the PEEDI.
1387e76f4750SRussell King
1388e76f4750SRussell King		  Note that the system will appear to hang during boot if there
1389e76f4750SRussell King		  is nothing connected to read from the DCC.
1390e76f4750SRussell King
1391b0df8986SRussell King	config DEBUG_SEMIHOSTING
139262194bdaSStephen Boyd		bool "Kernel low-level debug output via semihosting I/O"
1393b0df8986SRussell King		help
1394b0df8986SRussell King		  Semihosting enables code running on an ARM target to use
1395b0df8986SRussell King		  the I/O facilities on a host debugger/emulator through a
139662194bdaSStephen Boyd		  simple SVC call. The host debugger or emulator must have
1397b0df8986SRussell King		  semihosting enabled for the special svc call to be trapped
1398b0df8986SRussell King		  otherwise the kernel will crash.
1399b0df8986SRussell King
1400b0df8986SRussell King		  This is known to work with OpenOCD, as well as
1401b0df8986SRussell King		  ARM's Fast Models, or any other controlling environment
1402b0df8986SRussell King		  that implements semihosting.
1403b0df8986SRussell King
1404b0df8986SRussell King		  For more details about semihosting, please see
1405b0df8986SRussell King		  chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.
1406b0df8986SRussell King
1407f8f1279cSRussell King	config DEBUG_LL_UART_8250
1408f8f1279cSRussell King		bool "Kernel low-level debugging via 8250 UART"
1409f8f1279cSRussell King		help
1410f8f1279cSRussell King		  Say Y here if you wish the debug print routes to direct
1411f8f1279cSRussell King		  their output to an 8250 UART.  You can use this option
1412f8f1279cSRussell King		  to provide the parameters for the 8250 UART rather than
1413f8f1279cSRussell King		  selecting one of the platform specific options above if
1414f8f1279cSRussell King		  you know the parameters for the port.
1415f8f1279cSRussell King
1416f8f1279cSRussell King		  This option is preferred over the platform specific
1417f8f1279cSRussell King		  options; the platform specific options are deprecated
1418f8f1279cSRussell King		  and will be soon removed.
1419f8f1279cSRussell King
1420f8f1279cSRussell King	config DEBUG_LL_UART_PL01X
1421f8f1279cSRussell King		bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART"
1422f8f1279cSRussell King		help
1423f8f1279cSRussell King		  Say Y here if you wish the debug print routes to direct
1424f8f1279cSRussell King		  their output to a PL01x Primecell UART.  You can use
1425f8f1279cSRussell King		  this option to provide the parameters for the UART
1426f8f1279cSRussell King		  rather than selecting one of the platform specific
1427f8f1279cSRussell King		  options above if you know the parameters for the port.
1428f8f1279cSRussell King
1429f8f1279cSRussell King		  This option is preferred over the platform specific
1430f8f1279cSRussell King		  options; the platform specific options are deprecated
1431f8f1279cSRussell King		  and will be soon removed.
1432f8f1279cSRussell King
14331da177e4SLinus Torvaldsendchoice
14341da177e4SLinus Torvalds
14358b2f2d03SAlexandre Belloniconfig DEBUG_AT91_UART
14368b2f2d03SAlexandre Belloni	bool
14378b2f2d03SAlexandre Belloni	depends on ARCH_AT91
14388b2f2d03SAlexandre Belloni
1439a2e40710SArnd Bergmannconfig DEBUG_EXYNOS_UART
1440a2e40710SArnd Bergmann	bool
1441a2e40710SArnd Bergmann
1442daf67dfcSHeiko Stuebnerconfig DEBUG_S3C2410_UART
1443daf67dfcSHeiko Stuebner	bool
14441899de28SHeiko Stuebner	select DEBUG_S3C24XX_UART
14451899de28SHeiko Stuebner
14461899de28SHeiko Stuebnerconfig DEBUG_S3C24XX_UART
14471899de28SHeiko Stuebner	bool
1448daf67dfcSHeiko Stuebner
1449bb08dea1SArnd Bergmannconfig DEBUG_S3C64XX_UART
1450bb08dea1SArnd Bergmann	bool
1451bb08dea1SArnd Bergmann
14527bab7d9eSTomasz Figaconfig DEBUG_S5PV210_UART
14537bab7d9eSTomasz Figa	bool
14547bab7d9eSTomasz Figa
1455b3a77512SArnd Bergmannconfig DEBUG_S3C_UART
1456b3a77512SArnd Bergmann	depends on DEBUG_S3C2410_UART || DEBUG_S3C24XX_UART || \
1457b3a77512SArnd Bergmann		   DEBUG_S3C64XX_UART ||  DEBUG_S5PV210_UART || \
1458b3a77512SArnd Bergmann		   DEBUG_EXYNOS_UART
1459b3a77512SArnd Bergmann	int
1460b3a77512SArnd Bergmann	default "0" if DEBUG_S3C_UART0
1461b3a77512SArnd Bergmann	default "1" if DEBUG_S3C_UART1
1462b3a77512SArnd Bergmann	default "2" if DEBUG_S3C_UART2
1463b3a77512SArnd Bergmann	default "3" if DEBUG_S3C_UART3
1464b3a77512SArnd Bergmann
1465cce278d2SRussell Kingconfig DEBUG_OMAP2PLUS_UART
1466cce278d2SRussell King	bool
1467cce278d2SRussell King	depends on ARCH_OMAP2PLUS
1468cce278d2SRussell King
1469f8c95fe6SShawn Guoconfig DEBUG_IMX_UART_PORT
14707c41ea57SUwe Kleine-König	int "i.MX Debug UART Port Selection"
14717c41ea57SUwe Kleine-König	depends on DEBUG_IMX1_UART || \
1472f8c95fe6SShawn Guo		   DEBUG_IMX25_UART || \
1473b0100bceSLukas Bulwahn		   DEBUG_IMX27_UART || \
1474f8c95fe6SShawn Guo		   DEBUG_IMX31_UART || \
1475f8c95fe6SShawn Guo		   DEBUG_IMX35_UART || \
1476ad364a70SGreg Ungerer		   DEBUG_IMX50_UART || \
1477f8c95fe6SShawn Guo		   DEBUG_IMX51_UART || \
14780c52db7eSPaul Bolle		   DEBUG_IMX53_UART || \
147934e8a16bSShawn Guo		   DEBUG_IMX6Q_UART || \
148074368e81SShawn Guo		   DEBUG_IMX6SL_UART || \
148152d7aec2SAnson Huang		   DEBUG_IMX6SX_UART || \
148220c305f6SAnson Huang		   DEBUG_IMX6UL_UART || \
148352d7aec2SAnson Huang		   DEBUG_IMX7D_UART
148449c9e60eSShawn Guo	default 1
148549c9e60eSShawn Guo	help
148649c9e60eSShawn Guo	  Choose UART port on which kernel low-level debug messages
148749c9e60eSShawn Guo	  should be output.
148849c9e60eSShawn Guo
1489cfdb7d56SStefan Agnerconfig DEBUG_VF_UART_PORT
1490cfdb7d56SStefan Agner	int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART
1491cfdb7d56SStefan Agner	default 1
1492cfdb7d56SStefan Agner	range 0 3
1493cfdb7d56SStefan Agner	depends on SOC_VF610
1494cfdb7d56SStefan Agner	help
1495cfdb7d56SStefan Agner	  Choose UART port on which kernel low-level debug messages
1496cfdb7d56SStefan Agner	  should be output.
1497cfdb7d56SStefan Agner
1498cce278d2SRussell Kingconfig DEBUG_TEGRA_UART
1499cce278d2SRussell King	bool
1500cce278d2SRussell King	depends on ARCH_TEGRA
1501808b7e07STony Lindgren
1502d88bb418SGerald Baezaconfig DEBUG_STM32_UART
1503d88bb418SGerald Baeza	bool
1504d88bb418SGerald Baeza	depends on ARCH_STM32
1505d88bb418SGerald Baeza
15064df24fefSLinus Walleijconfig DEBUG_UART_FLOW_CONTROL
15074df24fefSLinus Walleij	bool "Enable flow control (CTS) for the debug UART"
15084df24fefSLinus Walleij	depends on DEBUG_LL
15093e3f354bSArnd Bergmann	default y if DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC
15104df24fefSLinus Walleij	help
15114df24fefSLinus Walleij	  Some UART ports are connected to terminals that will use modem
15124df24fefSLinus Walleij	  control signals to indicate whether they are ready to receive text.
15134df24fefSLinus Walleij	  In practice this means that the terminal is asserting the special
15144df24fefSLinus Walleij	  control signal CTS (Clear To Send). If your debug UART supports
15154df24fefSLinus Walleij	  this and your debug terminal will require it, enable this option.
15164df24fefSLinus Walleij
151791a9fec0SRob Herringconfig DEBUG_LL_INCLUDE
151891a9fec0SRob Herring	string
1519e6131fa3SDmitry Eremin-Solenikov	default "debug/sa1100.S" if DEBUG_SA1100
15200c532546SMans Rullgard	default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP
1521f8f1279cSRussell King	default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
152242dfd1e1SNicolas Ferre	default "debug/at91.S" if DEBUG_AT91_UART
1523d5bd4e8dSOleksij Rempel	default "debug/asm9260.S" if DEBUG_ASM9260_UART
1524dd99eef5SAlexander Shiyan	default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
15250045c0ddSArnd Bergmann	default "debug/dc21285.S" if DEBUG_DC21285_PORT
1526d8a00916SCarlo Caione	default "debug/meson.S" if DEBUG_MESON_UARTAO
1527f8f1279cSRussell King	default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X
1528a2e40710SArnd Bergmann	default "debug/exynos.S" if DEBUG_EXYNOS_UART
152991a9fec0SRob Herring	default "debug/icedcc.S" if DEBUG_ICEDCC
15306dde5ac5SShawn Guo	default "debug/imx.S" if DEBUG_IMX1_UART || \
15316dde5ac5SShawn Guo				 DEBUG_IMX25_UART || \
1532b0100bceSLukas Bulwahn				 DEBUG_IMX27_UART || \
15334ad625d4SShawn Guo				 DEBUG_IMX31_UART || \
15344ad625d4SShawn Guo				 DEBUG_IMX35_UART || \
1535ad364a70SGreg Ungerer				 DEBUG_IMX50_UART || \
15366dde5ac5SShawn Guo				 DEBUG_IMX51_UART || \
15377356420cSFabio Estevam				 DEBUG_IMX53_UART || \
153834e8a16bSShawn Guo				 DEBUG_IMX6Q_UART || \
153974368e81SShawn Guo				 DEBUG_IMX6SL_UART || \
154052d7aec2SAnson Huang				 DEBUG_IMX6SX_UART || \
154120c305f6SAnson Huang				 DEBUG_IMX6UL_UART || \
154252d7aec2SAnson Huang				 DEBUG_IMX7D_UART
1543c0c89fafSStephen Boyd	default "debug/msm.S" if DEBUG_QCOM_UARTDM
1544808b7e07STony Lindgren	default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART
15457a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2
1546e9670ccbSGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF2
1547e9670ccbSGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_R7S9210_SCIF4
15487a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0
15497a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2
15507a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0
15512f095c26SBiju Das	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1
15527a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
15538e5f2d65SFabrizio Castro	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4
155496866b1aSLad Prabhakar	default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIFA2
15557a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
15567a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
15577a2071c5SGeert Uytterhoeven	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
1558bb08dea1SArnd Bergmann	default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART
15597bab7d9eSTomasz Figa	default "debug/s5pv210.S" if DEBUG_S5PV210_UART
15609ca4efecSAlain VOLMAT	default "debug/sti.S" if DEBUG_STIH41X_ASC2
15619ca4efecSAlain VOLMAT	default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1
15626e959ad8SAlain VOLMAT	default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0
1563d88bb418SGerald Baeza	default "debug/stm32.S" if DEBUG_STM32_UART
1564150a8dcfSLinus Torvalds	default "debug/tegra.S" if DEBUG_TEGRA_UART
1565150a8dcfSLinus Torvalds	default "debug/ux500.S" if DEBUG_UX500_UART
15664e218b99SRussell King	default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT
1567c7c3eac6SShawn Guo	default "debug/vf.S" if DEBUG_VF_UART
1568b61a2722STony Prisk	default "debug/vt8500.S" if DEBUG_VT8500_UART0
1569385f02b1SJosh Cartwright	default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
15706c548099SArnd Bergmann	default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART
1571e23814daSBaruch Siach	default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
1572d0cf9d8aSFlorian Fainelli	default "debug/brcmstb.S" if DEBUG_BRCMSTB_UART
157391a9fec0SRob Herring	default "mach/debug-macro.S"
157491a9fec0SRob Herring
1575f8f1279cSRussell King# Compatibility options for PL01x
15765c972af4SRussell Kingconfig DEBUG_UART_PL01X
1577a61cbf51SDaniel Thompson	bool
15785c972af4SRussell King
1579f8f1279cSRussell King# Compatibility options for 8250
15807610b607SRussell Kingconfig DEBUG_UART_8250
1581b91a69d1SArnd Bergmann	def_bool ARCH_IXP4XX || ARCH_RPC
15824a003647SRussell King
1583c3faa9b7SRussell Kingconfig DEBUG_UART_PHYS
1584c3faa9b7SRussell King	hex "Physical base address of debug UART"
1585c3faa9b7SRussell King	default 0x01c28000 if DEBUG_SUNXI_UART0
1586c3faa9b7SRussell King	default 0x01c28400 if DEBUG_SUNXI_UART1
158797bd1a48SRussell King	default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
158897bd1a48SRussell King	default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
1589c4718543SChen-Yu Tsai	default 0x01f02800 if DEBUG_SUNXI_R_UART
1590f2acf003SRussell King	default 0x02530c00 if DEBUG_KEYSTONE_UART0
1591f2acf003SRussell King	default 0x02531000 if DEBUG_KEYSTONE_UART1
1592c3faa9b7SRussell King	default 0x03010fe0 if ARCH_RPC
1593d4da889aSChen-Yu Tsai	default 0x07000000 if DEBUG_SUN9I_UART0
15946e959ad8SAlain VOLMAT	default 0x09530000 if DEBUG_STIH418_SBC_ASC0
1595b125170aSKrzysztof Hałasa	default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
15965c972af4SRussell King				DEBUG_VEXPRESS_UART0_CA9
15975c972af4SRussell King	default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT
1598c3faa9b7SRussell King	default 0x10124000 if DEBUG_RK3X_UART0
1599c3faa9b7SRussell King	default 0x10126000 if DEBUG_RK3X_UART1
16004db22c10SArnd Bergmann	default 0x101f1000 if DEBUG_VERSATILE
16015c972af4SRussell King	default 0x101fb000 if DEBUG_NOMADIK_UART
1602a3b882f9SAndy Yan	default 0x10210000 if DEBUG_RV1108_UART2
1603a3b882f9SAndy Yan	default 0x10220000 if DEBUG_RV1108_UART1
1604a3b882f9SAndy Yan	default 0x10230000 if DEBUG_RV1108_UART0
160565ec48c0SJoe.C	default 0x11002000 if DEBUG_MT8127_UART0
1606d6682085SMatthias Brugger	default 0x11006000 if DEBUG_MT6589_UART0
160765ec48c0SJoe.C	default 0x11009000 if DEBUG_MT8135_UART3
16084db22c10SArnd Bergmann	default 0x16000000 if DEBUG_INTEGRATOR
1609c5fdb668SKefeng Wang	default 0x1600d000 if DEBUG_SD5203_UART
161006580275SHauke Mehrtens	default 0x18000300 if DEBUG_BCM_5301X
1611fa1e581dSFlorian Fainelli	default 0x18000400 if DEBUG_BCM_HR2
1612295898baSClément Peron	default 0x18023000 if DEBUG_BCM_IPROC_UART3
16135c972af4SRussell King	default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1
1614624b9d83SRomain Perier	default 0x1f221000 if DEBUG_MSTARV7_PMUART
161527dafaa8SWang Long	default 0x20001000 if DEBUG_HIP01_UART
1616c3faa9b7SRussell King	default 0x20060000 if DEBUG_RK29_UART0
1617c3faa9b7SRussell King	default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1618c3faa9b7SRussell King	default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
16195c972af4SRussell King	default 0x20201000 if DEBUG_BCM2835
1620753d1243SChristian Daudt	default 0x3e000000 if DEBUG_BCM_KONA_UART
1621f3f49e42SClément Peron	default 0x3f201000 if DEBUG_BCM2836
162262c1594dSErwan Le Ray	default 0x40010000 if STM32MP1_DEBUG_UART
162333cab895SErwan Le Ray	default 0x40011000 if STM32F4_DEBUG_UART || STM32F7_DEBUG_UART || \
162433cab895SErwan Le Ray				STM32H7_DEBUG_UART
162563e07c0fSSzemző András	default 0x40028000 if DEBUG_AT91_SAMV7_USART1
16260aed6a37SJoachim Eastwood	default 0x40081000 if DEBUG_LPC18XX_UART0
162759bd4c38SArnd Bergmann	default 0x40090000 if DEBUG_LPC32XX
1628c3faa9b7SRussell King	default 0x40100000 if DEBUG_PXA_UART1
1629d7175a3bSArnd Bergmann	default 0x42000000 if DEBUG_GEMINI
163051ef7003STony Lindgren	default 0x44e09000 if DEBUG_AM33XXUART1
16312d1f7d2eSTony Lindgren	default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
16322d1f7d2eSTony Lindgren	default 0x48022000 if DEBUG_TI81XXUART2
16332d1f7d2eSTony Lindgren	default 0x48024000 if DEBUG_TI81XXUART3
1634d2b310b0STony Lindgren	default 0x4806a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1635d2b310b0STony Lindgren				DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1636d2b310b0STony Lindgren	default 0x4806c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1637d2b310b0STony Lindgren				DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
1638fc23beb8STony Lindgren	default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
1639fc23beb8STony Lindgren	default 0x49020000 if DEBUG_OMAP3UART3
1640fc23beb8STony Lindgren	default 0x49042000 if DEBUG_OMAP3UART4
16411899de28SHeiko Stuebner	default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
16421899de28SHeiko Stuebner				DEBUG_S3C2410_UART0)
16431899de28SHeiko Stuebner	default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
16441899de28SHeiko Stuebner				DEBUG_S3C2410_UART1)
16451899de28SHeiko Stuebner	default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
16461899de28SHeiko Stuebner				DEBUG_S3C2410_UART2)
16470045c0ddSArnd Bergmann	default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1
1648bb08dea1SArnd Bergmann	default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
1649bb08dea1SArnd Bergmann	default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1650bb08dea1SArnd Bergmann	default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1651bb08dea1SArnd Bergmann	default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
1652d5bd4e8dSOleksij Rempel	default 0x80010000 if DEBUG_ASM9260_UART
16535c972af4SRussell King	default 0x80070000 if DEBUG_IMX23_UART
16545c972af4SRussell King	default 0x80074000 if DEBUG_IMX28_UART
1655f06455faSArnd Bergmann	default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX
16565c972af4SRussell King	default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
16575c972af4SRussell King	default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX
1658c3faa9b7SRussell King	default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1659c3faa9b7SRussell King	default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1660375d84cfSArnd Bergmann	default 0xd0000000 if DEBUG_SPEAR3XX
1661d91125ddSMaxime Ripard	default 0xd0012000 if DEBUG_MVEBU_UART0
1662d8a00916SCarlo Caione	default 0xc81004c0 if DEBUG_MESON_UARTAO
1663c3faa9b7SRussell King	default 0xd4017000 if DEBUG_MMP_UART2
1664c3faa9b7SRussell King	default 0xd4018000 if DEBUG_MMP_UART3
1665375d84cfSArnd Bergmann	default 0xe0000000 if DEBUG_SPEAR13XX
16666041558eSKavyasree Kotagiri	default 0xe0064200 if DEBUG_AT91_LAN966_FLEXCOM
1667577cb67aSEugen Hristev	default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
1668c9a1df48SHaojian Zhuang	default 0xe4007000 if DEBUG_HIP04_UART
16697a2071c5SGeert Uytterhoeven	default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
16707a2071c5SGeert Uytterhoeven	default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
167196866b1aSLad Prabhakar	default 0xe6c60000 if DEBUG_RCAR_GEN2_SCIFA2
16727a2071c5SGeert Uytterhoeven	default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
16737a2071c5SGeert Uytterhoeven	default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
16747a2071c5SGeert Uytterhoeven	default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
16752f095c26SBiju Das	default 0xe6e68000 if DEBUG_RCAR_GEN2_SCIF1
16768e5f2d65SFabrizio Castro	default 0xe6ee0000 if DEBUG_RCAR_GEN2_SCIF4
1677e9670ccbSGeert Uytterhoeven	default 0xe8008000 if DEBUG_R7S72100_SCIF2 || DEBUG_R7S9210_SCIF2
1678e9670ccbSGeert Uytterhoeven	default 0xe8009000 if DEBUG_R7S9210_SCIF4
1679876e645fSArnd Bergmann	default 0xf0000000 if DEBUG_DIGICOLOR_UA0
1680d91125ddSMaxime Ripard	default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE
1681bd920490SMaxime Ripard	default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE
1682caad0b41SSebastian Hesselbarth	default 0xf7fc9000 if DEBUG_BERLIN_UART
16838b2f2d03SAlexandre Belloni	default 0xf8020000 if DEBUG_AT91_SAMA5D2_UART1
168412aae309SHaifeng Yan	default 0xf8b00000 if DEBUG_HIX5HD2_UART
16857098cff2SIvan T. Ivanov	default 0xf991e000 if DEBUG_QCOM_UARTDM
16868b2f2d03SAlexandre Belloni	default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
16878d258bebSHaojian Zhuang	default 0xfcb00000 if DEBUG_HI3620_UART
16883c215e64STsahee Zidenberg	default 0xfd883000 if DEBUG_ALPINE_UART0
16899ca4efecSAlain VOLMAT	default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1
16909ca4efecSAlain VOLMAT	default 0xfed32000 if DEBUG_STIH41X_ASC2
1691efd02ee9SHeiko Stuebner	default 0xff690000 if DEBUG_RK32_UART2
1692de73c162SDinh Nguyen	default 0xffc02000 if DEBUG_SOCFPGA_UART0
1693f6628486SClément Péron	default 0xffc02100 if DEBUG_SOCFPGA_ARRIA10_UART1
1694f6628486SClément Péron	default 0xffc03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
16957a2071c5SGeert Uytterhoeven	default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0
16967a2071c5SGeert Uytterhoeven	default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2
16975c972af4SRussell King	default 0xfff36000 if DEBUG_HIGHBANK_UART
16980d7bb85eSArnd Bergmann	default 0xfffb0000 if DEBUG_OMAP1UART1
16990d7bb85eSArnd Bergmann	default 0xfffb0800 if DEBUG_OMAP1UART2
17000d7bb85eSArnd Bergmann	default 0xfffb9800 if DEBUG_OMAP1UART3
17016c548099SArnd Bergmann	default 0xfffe8600 if DEBUG_BCM63XX_UART
17028b2f2d03SAlexandre Belloni	default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU
17038b2f2d03SAlexandre Belloni	default 0xfffff200 if DEBUG_AT91_RM9200_DBGU
1704d02fde7fSDaniel Thompson	depends on ARCH_EP93XX || \
1705d02fde7fSDaniel Thompson	        DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1706d8a00916SCarlo Caione		DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
17074d31e664SDaniel Thompson		DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \
1708e9670ccbSGeert Uytterhoeven		DEBUG_R7S9210_SCIF2 || DEBUG_R7S9210_SCIF4 || \
17097a2071c5SGeert Uytterhoeven		DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
17102f095c26SBiju Das		DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \
17112f095c26SBiju Das		DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
171296866b1aSLad Prabhakar		DEBUG_RCAR_GEN2_SCIFA2 || \
17137a2071c5SGeert Uytterhoeven		DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
17147a2071c5SGeert Uytterhoeven		DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
1715bb08dea1SArnd Bergmann		DEBUG_S3C64XX_UART || \
17166c548099SArnd Bergmann		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
1717f3a73284SArnd Bergmann		DEBUG_DIGICOLOR_UA0 || \
17189ca4efecSAlain VOLMAT		DEBUG_AT91_UART || DEBUG_STM32_UART || \
17196e959ad8SAlain VOLMAT		DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
17206e959ad8SAlain VOLMAT		DEBUG_STIH418_SBC_ASC0
1721c3faa9b7SRussell King
1722c3faa9b7SRussell Kingconfig DEBUG_UART_VIRT
1723c3faa9b7SRussell King	hex "Virtual base address of debug UART"
1724a3b882f9SAndy Yan	default 0xc881f000 if DEBUG_RV1108_UART2
1725a3b882f9SAndy Yan	default 0xc8821000 if DEBUG_RV1108_UART1
1726a3b882f9SAndy Yan	default 0xc8912000 if DEBUG_RV1108_UART0
1727c3faa9b7SRussell King	default 0xe0010fe0 if ARCH_RPC
1728577cb67aSEugen Hristev	default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
1729d5bd4e8dSOleksij Rempel	default 0xf0010000 if DEBUG_ASM9260_UART
1730876e645fSArnd Bergmann	default 0xf0100000 if DEBUG_DIGICOLOR_UA0
17315c972af4SRussell King	default 0xf01fb000 if DEBUG_NOMADIK_UART
17325234c34eSEric Anholt	default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
1733624b9d83SRomain Perier	default 0xf0221000 if DEBUG_MSTARV7_PMUART
173406580275SHauke Mehrtens	default 0xf1000300 if DEBUG_BCM_5301X
1735fa1e581dSFlorian Fainelli	default 0xf1000400 if DEBUG_BCM_HR2
173665ec48c0SJoe.C	default 0xf1002000 if DEBUG_MT8127_UART0
1737d6682085SMatthias Brugger	default 0xf1006000 if DEBUG_MT6589_UART0
173865ec48c0SJoe.C	default 0xf1009000 if DEBUG_MT8135_UART3
1739295898baSClément Peron	default 0xf1023000 if DEBUG_BCM_IPROC_UART3
17404db22c10SArnd Bergmann	default 0xf11f1000 if DEBUG_VERSATILE
17414db22c10SArnd Bergmann	default 0xf1600000 if DEBUG_INTEGRATOR
1742c3faa9b7SRussell King	default 0xf1c28000 if DEBUG_SUNXI_UART0
1743c3faa9b7SRussell King	default 0xf1c28400 if DEBUG_SUNXI_UART1
1744c4718543SChen-Yu Tsai	default 0xf1f02800 if DEBUG_SUNXI_R_UART
17451dc93416SArnd Bergmann	default 0xf31004c0 if DEBUG_MESON_UARTAO
174659bd4c38SArnd Bergmann	default 0xf4090000 if DEBUG_LPC32XX
1747d7175a3bSArnd Bergmann	default 0xf4200000 if DEBUG_GEMINI
1748cde7fc87SRobert Jarzmik	default 0xf6200000 if DEBUG_PXA_UART1
1749d4da889aSChen-Yu Tsai	default 0xf7000000 if DEBUG_SUN9I_UART0
1750bb08dea1SArnd Bergmann	default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0
17511899de28SHeiko Stuebner	default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \
17521899de28SHeiko Stuebner				DEBUG_S3C2410_UART0)
1753bb08dea1SArnd Bergmann	default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1
1754bb08dea1SArnd Bergmann	default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
1755bb08dea1SArnd Bergmann	default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3
17561899de28SHeiko Stuebner	default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \
17571899de28SHeiko Stuebner				DEBUG_S3C2410_UART1)
17581899de28SHeiko Stuebner	default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \
17591899de28SHeiko Stuebner				DEBUG_S3C2410_UART2)
17608b2f2d03SAlexandre Belloni	default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1
1761caad0b41SSebastian Hesselbarth	default 0xf7fc9000 if DEBUG_BERLIN_UART
1762c9a1df48SHaojian Zhuang	default 0xf8007000 if DEBUG_HIP04_UART
17635c972af4SRussell King	default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9
17645c972af4SRussell King	default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1
17658b2f2d03SAlexandre Belloni	default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU
17668b2f2d03SAlexandre Belloni	default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU
17676e959ad8SAlain VOLMAT	default 0xf9530000 if DEBUG_STIH418_SBC_ASC0
176851ef7003STony Lindgren	default 0xf9e09000 if DEBUG_AM33XXUART1
17692d1f7d2eSTony Lindgren	default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1
17702d1f7d2eSTony Lindgren	default 0xfa022000 if DEBUG_TI81XXUART2
17712d1f7d2eSTony Lindgren	default 0xfa024000 if DEBUG_TI81XXUART3
1772d2b310b0STony Lindgren	default 0xfa06a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \
1773d2b310b0STony Lindgren				DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1
1774d2b310b0STony Lindgren	default 0xfa06c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \
1775d2b310b0STony Lindgren				DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2
1776fc23beb8STony Lindgren	default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4
17777098cff2SIvan T. Ivanov	default 0xfa71e000 if DEBUG_QCOM_UARTDM
17785c972af4SRussell King	default 0xfb009000 if DEBUG_REALVIEW_STD_PORT
17798b2f2d03SAlexandre Belloni	default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3
1780fc23beb8STony Lindgren	default 0xfb020000 if DEBUG_OMAP3UART3
1781fc23beb8STony Lindgren	default 0xfb042000 if DEBUG_OMAP3UART4
17825c972af4SRussell King	default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
17836c548099SArnd Bergmann	default 0xfcfe8600 if DEBUG_BCM63XX_UART
1784375d84cfSArnd Bergmann	default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
17856041558eSKavyasree Kotagiri	default 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM
17869ca4efecSAlain VOLMAT	default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1
17873c215e64STsahee Zidenberg	default 0xfd883000 if DEBUG_ALPINE_UART0
17889ca4efecSAlain VOLMAT	default 0xfdd32000 if DEBUG_STIH41X_ASC2
178962c1594dSErwan Le Ray	default 0xfe010000 if STM32MP1_DEBUG_UART
1790c3faa9b7SRussell King	default 0xfe017000 if DEBUG_MMP_UART2
1791c3faa9b7SRussell King	default 0xfe018000 if DEBUG_MMP_UART3
17925c972af4SRussell King	default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART
1793753d1243SChristian Daudt	default 0xfe300000 if DEBUG_BCM_KONA_UART
179412aae309SHaifeng Yan	default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART
1795c3faa9b7SRussell King	default 0xfeb24000 if DEBUG_RK3X_UART0
1796c3faa9b7SRussell King	default 0xfeb26000 if DEBUG_RK3X_UART1
1797f2acf003SRussell King	default 0xfeb30c00 if DEBUG_KEYSTONE_UART0
1798f2acf003SRussell King	default 0xfeb31000 if DEBUG_KEYSTONE_UART1
1799de73c162SDinh Nguyen	default 0xfec02000 if DEBUG_SOCFPGA_UART0
1800f6628486SClément Péron	default 0xfec02100 if DEBUG_SOCFPGA_ARRIA10_UART1
1801f6628486SClément Péron	default 0xfec03000 if DEBUG_SOCFPGA_CYCLONE5_UART1
18023584be9eSArnd Bergmann	default 0xfec12000 if DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE
1803bd920490SMaxime Ripard	default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE
1804efd02ee9SHeiko Stuebner	default 0xfec90000 if DEBUG_RK32_UART2
180597bd1a48SRussell King	default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1
1806c5fdb668SKefeng Wang	default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 || DEBUG_SD5203_UART
1807c39e1ef7SAlexander Shiyan	default 0xfed60000 if DEBUG_RK29_UART0
1808c39e1ef7SAlexander Shiyan	default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
1809c39e1ef7SAlexander Shiyan	default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
1810f06455faSArnd Bergmann	default 0xfedc0000 if DEBUG_EP93XX
18110045c0ddSArnd Bergmann	default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1
18125c972af4SRussell King	default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART
1813713ce38dSLinus Walleij	default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN
1814713ce38dSLinus Walleij	default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
1815c39e1ef7SAlexander Shiyan	default 0xfef36000 if DEBUG_HIGHBANK_UART
18160d7bb85eSArnd Bergmann	default 0xff0b0000 if DEBUG_OMAP1UART1
18170d7bb85eSArnd Bergmann	default 0xff0b0800 if DEBUG_OMAP1UART2
18180d7bb85eSArnd Bergmann	default 0xff0b9800 if DEBUG_OMAP1UART3
181927dafaa8SWang Long	default 0xffd01000 if DEBUG_HIP01_UART
18205c972af4SRussell King	default DEBUG_UART_PHYS if !MMU
1821f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
1822d8a00916SCarlo Caione		DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \
18234d31e664SDaniel Thompson		DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
1824bb08dea1SArnd Bergmann		DEBUG_S3C64XX_UART || \
18256c548099SArnd Bergmann		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
1826f3a73284SArnd Bergmann		DEBUG_DIGICOLOR_UA0 || \
18279ca4efecSAlain VOLMAT		DEBUG_AT91_UART || DEBUG_STM32_UART || \
18286e959ad8SAlain VOLMAT		DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
18296e959ad8SAlain VOLMAT		DEBUG_STIH418_SBC_ASC0
1830c3faa9b7SRussell King
18314a003647SRussell Kingconfig DEBUG_UART_8250_SHIFT
18324a003647SRussell King	int "Register offset shift for the 8250 debug UART"
1833f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
1834b91a69d1SArnd Bergmann	default 0 if DEBUG_FOOTBRIDGE_COM1 || DEBUG_BCM_5301X || \
1835fa1e581dSFlorian Fainelli		DEBUG_BCM_HR2 || DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || \
1836fa1e581dSFlorian Fainelli		DEBUG_OMAP7XXUART3
1837624b9d83SRomain Perier	default 3 if DEBUG_MSTARV7_PMUART
18384a003647SRussell King	default 2
18397610b607SRussell King
18400b4cccbeSRussell Kingconfig DEBUG_UART_8250_WORD
18410b4cccbeSRussell King	bool "Use 32-bit accesses for 8250 UART"
1842f8f1279cSRussell King	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
18430b4cccbeSRussell King	depends on DEBUG_UART_8250_SHIFT >= 2
1844665a8799SRob Herring	default y if DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_ARRIA10_UART1 || \
1845f6628486SClément Péron		DEBUG_SOCFPGA_CYCLONE5_UART1 || DEBUG_KEYSTONE_UART0 || \
1846f6628486SClément Péron		DEBUG_KEYSTONE_UART1 || DEBUG_ALPINE_UART0 || \
1847*2af4fcc0SArnd Bergmann		DEBUG_DAVINCI_DA8XX_UART1 || DEBUG_DAVINCI_DA8XX_UART2 || \
1848*2af4fcc0SArnd Bergmann		DEBUG_BCM_IPROC_UART3 || DEBUG_BCM_KONA_UART || \
1849*2af4fcc0SArnd Bergmann		DEBUG_RK32_UART2
18500b4cccbeSRussell King
18510c532546SMans Rullgardconfig DEBUG_UART_8250_PALMCHIP
18520c532546SMans Rullgard	bool "8250 UART is Palmchip BK-310x"
18530c532546SMans Rullgard	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
18540c532546SMans Rullgard	help
18550c532546SMans Rullgard	  Palmchip provides a UART implementation compatible with 16550
18560c532546SMans Rullgard	  except for having a different register layout.  Say Y here if
18570c532546SMans Rullgard	  the debug UART is of this type.
18580c532546SMans Rullgard
18593b4af9bcSShawn Guoconfig DEBUG_UNCOMPRESS
186029337b60SRussell King	bool "Enable decompressor debugging via DEBUG_LL output"
186184fc8636SArnd Bergmann	depends on !ARCH_MULTIPLATFORM
18626fd09c9aSArnd Bergmann	depends on !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100)
186329337b60SRussell King	depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
1864d0cf9d8aSFlorian Fainelli		     (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \
18655ed801d0SLinus Walleij		     !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
1866b6992fa9SRussell King	help
1867b6992fa9SRussell King	  This option influences the normal decompressor output for
1868b6992fa9SRussell King	  multiplatform kernels.  Normally, multiplatform kernels disable
1869b6992fa9SRussell King	  decompressor output because it is not possible to know where to
1870b6992fa9SRussell King	  send the decompressor output.
1871b6992fa9SRussell King
1872b6992fa9SRussell King	  When this option is set, the selected DEBUG_LL output method
1873b6992fa9SRussell King	  will be re-used for normal decompressor output on multiplatform
1874b6992fa9SRussell King	  kernels.
1875b6992fa9SRussell King
18763b4af9bcSShawn Guo
1877615967b0SShawn Guoconfig UNCOMPRESS_INCLUDE
1878615967b0SShawn Guo	string
18796fd09c9aSArnd Bergmann	default "mach/uncompress.h" if ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100
18806fd09c9aSArnd Bergmann	default "debug/uncompress.h"
1881615967b0SShawn Guo
18821da177e4SLinus Torvaldsconfig EARLY_PRINTK
18831da177e4SLinus Torvalds	bool "Early printk"
18841da177e4SLinus Torvalds	depends on DEBUG_LL
18851da177e4SLinus Torvalds	help
18861da177e4SLinus Torvalds	  Say Y here if you want to have an early console using the
18871da177e4SLinus Torvalds	  kernel low-level debugging functions. Add earlyprintk to your
18881da177e4SLinus Torvalds	  kernel parameters to enable this console.
18891da177e4SLinus Torvalds
18901da177e4SLinus Torvaldsconfig ARM_KPROBES_TEST
18911da177e4SLinus Torvalds	tristate "Kprobes test module"
18921da177e4SLinus Torvalds	depends on KPROBES && MODULES
18931da177e4SLinus Torvalds	help
18941da177e4SLinus Torvalds	  Perform tests of kprobes API and instruction set simulation.
18951da177e4SLinus Torvalds
1896575320d6SWill Deaconconfig PID_IN_CONTEXTIDR
1897575320d6SWill Deacon	bool "Write the current PID to the CONTEXTIDR register"
1898575320d6SWill Deacon	depends on CPU_COPY_V6
1899575320d6SWill Deacon	help
1900575320d6SWill Deacon	  Enabling this option causes the kernel to write the current PID to
1901575320d6SWill Deacon	  the PROCID field of the CONTEXTIDR register, at the expense of some
1902575320d6SWill Deacon	  additional instructions during context switch. Say Y here only if you
1903575320d6SWill Deacon	  are planning to use hardware trace tools with this kernel.
1904575320d6SWill Deacon
190501081f5aSMathieu Poiriersource "drivers/hwtracing/coresight/Kconfig"
1906