1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvaldsmenu "Kernel hacking" 31da177e4SLinus Torvalds 41da177e4SLinus Torvaldssource "lib/Kconfig.debug" 51da177e4SLinus Torvalds 61fd15b87SRussell Kingconfig ARM_PTDUMP 71fd15b87SRussell King bool "Export kernel pagetable layout to userspace via debugfs" 81fd15b87SRussell King depends on DEBUG_KERNEL 965ba508dSArnd Bergmann depends on MMU 101fd15b87SRussell King select DEBUG_FS 111fd15b87SRussell King ---help--- 121fd15b87SRussell King Say Y here if you want to show the kernel pagetable layout in a 131fd15b87SRussell King debugfs file. This information is only useful for kernel developers 141fd15b87SRussell King who are working in architecture specific areas of the kernel. 151fd15b87SRussell King It is probably not a good idea to enable this feature in a production 161fd15b87SRussell King kernel. 171fd15b87SRussell King If in doubt, say "N" 181fd15b87SRussell King 19adf8b37bSCatalin Marinas# RMK wants arm kernels compiled with frame pointers or stack unwinding. 201da177e4SLinus Torvalds# If you know what you are doing and are willing to live without stack 211da177e4SLinus Torvalds# traces, you can get a slightly smaller kernel by setting this option to 221da177e4SLinus Torvalds# n, but then RMK will have to kill you ;). 231da177e4SLinus Torvaldsconfig FRAME_POINTER 241da177e4SLinus Torvalds bool 2516c79651SCatalin Marinas depends on !THUMB2_KERNEL 260e341af8SRabin Vincent default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER 271da177e4SLinus Torvalds help 281da177e4SLinus Torvalds If you say N here, the resulting kernel will be slightly smaller and 29adf8b37bSCatalin Marinas faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled, 30adf8b37bSCatalin Marinas when a problem occurs with the kernel, the information that is 31adf8b37bSCatalin Marinas reported is severely limited. 32adf8b37bSCatalin Marinas 33adf8b37bSCatalin Marinasconfig ARM_UNWIND 344a50bfe3SRussell King bool "Enable stack unwinding support (EXPERIMENTAL)" 35d6f94fa0SKees Cook depends on AEABI 36adf8b37bSCatalin Marinas default y 37adf8b37bSCatalin Marinas help 38adf8b37bSCatalin Marinas This option enables stack unwinding support in the kernel 39adf8b37bSCatalin Marinas using the information automatically generated by the 40adf8b37bSCatalin Marinas compiler. The resulting kernel image is slightly bigger but 41adf8b37bSCatalin Marinas the performance is not affected. Currently, this feature 42adf8b37bSCatalin Marinas only works with EABI compilers. If unsure say Y. 431da177e4SLinus Torvalds 4409bfafacSRabin Vincentconfig OLD_MCOUNT 4509bfafacSRabin Vincent bool 4609bfafacSRabin Vincent depends on FUNCTION_TRACER && FRAME_POINTER 4709bfafacSRabin Vincent default y 4809bfafacSRabin Vincent 491da177e4SLinus Torvaldsconfig DEBUG_USER 501da177e4SLinus Torvalds bool "Verbose user fault messages" 511da177e4SLinus Torvalds help 521da177e4SLinus Torvalds When a user program crashes due to an exception, the kernel can 531da177e4SLinus Torvalds print a brief message explaining what the problem was. This is 541da177e4SLinus Torvalds sometimes helpful for debugging but serves no purpose on a 551da177e4SLinus Torvalds production system. Most people should say N here. 561da177e4SLinus Torvalds 571da177e4SLinus Torvalds In addition, you need to pass user_debug=N on the kernel command 581da177e4SLinus Torvalds line to enable this feature. N consists of the sum of: 591da177e4SLinus Torvalds 601da177e4SLinus Torvalds 1 - undefined instruction events 611da177e4SLinus Torvalds 2 - system calls 621da177e4SLinus Torvalds 4 - invalid data aborts 631da177e4SLinus Torvalds 8 - SIGSEGV faults 641da177e4SLinus Torvalds 16 - SIGBUS faults 651da177e4SLinus Torvalds 661da177e4SLinus Torvalds# These options are only for real kernel hackers who want to get their hands dirty. 671da177e4SLinus Torvaldsconfig DEBUG_LL 684f5ef922SWill Deacon bool "Kernel low-level debugging functions (read help!)" 691da177e4SLinus Torvalds depends on DEBUG_KERNEL 701da177e4SLinus Torvalds help 7135efb606SRussell King Say Y here to include definitions of printascii, printch, printhex 721da177e4SLinus Torvalds in the kernel. This is helpful if you are debugging code that 731da177e4SLinus Torvalds executes before the console is initialized. 741da177e4SLinus Torvalds 754f5ef922SWill Deacon Note that selecting this option will limit the kernel to a single 764f5ef922SWill Deacon UART definition, as specified below. Attempting to boot the kernel 774f5ef922SWill Deacon image on a different platform *will not work*, so this option should 784f5ef922SWill Deacon not be enabled for kernels that are intended to be portable. 794f5ef922SWill Deacon 8017916b28SWill Deaconchoice 8117916b28SWill Deacon prompt "Kernel low-level debugging port" 8217916b28SWill Deacon depends on DEBUG_LL 8317916b28SWill Deacon 843c215e64STsahee Zidenberg config DEBUG_ALPINE_UART0 853c215e64STsahee Zidenberg bool "Kernel low-level debugging messages via Alpine UART0" 863c215e64STsahee Zidenberg depends on ARCH_ALPINE 873c215e64STsahee Zidenberg select DEBUG_UART_8250 883c215e64STsahee Zidenberg help 893c215e64STsahee Zidenberg Say Y here if you want kernel low-level debugging support 903c215e64STsahee Zidenberg on Alpine based platforms. 913c215e64STsahee Zidenberg 92d5bd4e8dSOleksij Rempel config DEBUG_ASM9260_UART 93d5bd4e8dSOleksij Rempel bool "Kernel low-level debugging via asm9260 UART" 94d5bd4e8dSOleksij Rempel depends on MACH_ASM9260 95d5bd4e8dSOleksij Rempel help 96d5bd4e8dSOleksij Rempel Say Y here if you want the debug print routines to direct 97d5bd4e8dSOleksij Rempel their output to an UART or USART port on asm9260 based 98d5bd4e8dSOleksij Rempel machines. 99d5bd4e8dSOleksij Rempel 100d5bd4e8dSOleksij Rempel DEBUG_UART_PHYS | DEBUG_UART_VIRT 101d5bd4e8dSOleksij Rempel 102d5bd4e8dSOleksij Rempel 0x80000000 | 0xf0000000 | UART0 103d5bd4e8dSOleksij Rempel 0x80004000 | 0xf0004000 | UART1 104d5bd4e8dSOleksij Rempel 0x80008000 | 0xf0008000 | UART2 105d5bd4e8dSOleksij Rempel 0x8000c000 | 0xf000c000 | UART3 106d5bd4e8dSOleksij Rempel 0x80010000 | 0xf0010000 | UART4 107d5bd4e8dSOleksij Rempel 0x80014000 | 0xf0014000 | UART5 108d5bd4e8dSOleksij Rempel 0x80018000 | 0xf0018000 | UART6 109d5bd4e8dSOleksij Rempel 0x8001c000 | 0xf001c000 | UART7 110d5bd4e8dSOleksij Rempel 0x80020000 | 0xf0020000 | UART8 111d5bd4e8dSOleksij Rempel 0x80024000 | 0xf0024000 | UART9 112d5bd4e8dSOleksij Rempel 1138b2f2d03SAlexandre Belloni config DEBUG_AT91_RM9200_DBGU 1148b2f2d03SAlexandre Belloni bool "Kernel low-level debugging on AT91RM9200, AT91SAM9 DBGU" 1158b2f2d03SAlexandre Belloni select DEBUG_AT91_UART 1168b2f2d03SAlexandre Belloni depends on SOC_AT91RM9200 || SOC_AT91SAM9 1176f112a08SAlexandre Belloni help 1188b2f2d03SAlexandre Belloni Say Y here if you want kernel low-level debugging support 1198b2f2d03SAlexandre Belloni on the DBGU port of: 1208b2f2d03SAlexandre Belloni at91rm9200, at91sam9260, at91sam9g20, at91sam9261, 1218b2f2d03SAlexandre Belloni at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5 12213079a73SJean-Christophe PLAGNIOL-VILLARD 1238b2f2d03SAlexandre Belloni config DEBUG_AT91_SAM9263_DBGU 1248b2f2d03SAlexandre Belloni bool "Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU" 1258b2f2d03SAlexandre Belloni select DEBUG_AT91_UART 1268b2f2d03SAlexandre Belloni depends on SOC_AT91SAM9 || SOC_SAMA5D3 1278b2f2d03SAlexandre Belloni help 1288b2f2d03SAlexandre Belloni Say Y here if you want kernel low-level debugging support 1298b2f2d03SAlexandre Belloni on the DBGU port of: 1308b2f2d03SAlexandre Belloni at91sam9263, at91sam9g45, at91sam9m10, 1318b2f2d03SAlexandre Belloni sama5d3 13213079a73SJean-Christophe PLAGNIOL-VILLARD 1338b2f2d03SAlexandre Belloni config DEBUG_AT91_SAMA5D2_UART1 1348b2f2d03SAlexandre Belloni bool "Kernel low-level debugging on SAMA5D2 UART1" 1358b2f2d03SAlexandre Belloni select DEBUG_AT91_UART 1368b2f2d03SAlexandre Belloni depends on SOC_SAMA5D2 1378b2f2d03SAlexandre Belloni help 1388b2f2d03SAlexandre Belloni Say Y here if you want kernel low-level debugging support 1398b2f2d03SAlexandre Belloni on the UART1 port of sama5d2. 1408b2f2d03SAlexandre Belloni 1418b2f2d03SAlexandre Belloni config DEBUG_AT91_SAMA5D4_USART3 1428b2f2d03SAlexandre Belloni bool "Kernel low-level debugging on SAMA5D4 USART3" 1438b2f2d03SAlexandre Belloni select DEBUG_AT91_UART 1448b2f2d03SAlexandre Belloni depends on SOC_SAMA5D4 1458b2f2d03SAlexandre Belloni help 1468b2f2d03SAlexandre Belloni Say Y here if you want kernel low-level debugging support 1478b2f2d03SAlexandre Belloni on the USART3 port of sama5d4. 148c268a743SNicolas Ferre 14963e07c0fSSzemző András config DEBUG_AT91_SAMV7_USART1 15063e07c0fSSzemző András bool "Kernel low-level debugging via SAMV7 USART1" 15163e07c0fSSzemző András select DEBUG_AT91_UART 15263e07c0fSSzemző András depends on SOC_SAMV7 15363e07c0fSSzemző András help 15463e07c0fSSzemző András Say Y here if you want the debug print routines to direct 15563e07c0fSSzemző András their output to the USART1 port on SAMV7 based 15663e07c0fSSzemző András machines. 15763e07c0fSSzemző András 158f1ac922dSStephen Warren config DEBUG_BCM2835 159f1ac922dSStephen Warren bool "Kernel low-level debugging on BCM2835 PL011 UART" 1605234c34eSEric Anholt depends on ARCH_BCM2835 && ARCH_MULTI_V6 1615234c34eSEric Anholt select DEBUG_UART_PL01X 1625234c34eSEric Anholt 1635234c34eSEric Anholt config DEBUG_BCM2836 1645234c34eSEric Anholt bool "Kernel low-level debugging on BCM2836 PL011 UART" 1655234c34eSEric Anholt depends on ARCH_BCM2835 && ARCH_MULTI_V7 1665c972af4SRussell King select DEBUG_UART_PL01X 167f1ac922dSStephen Warren 16806580275SHauke Mehrtens config DEBUG_BCM_5301X 1692dc9e0b9SFlorian Fainelli bool "Kernel low-level debugging on BCM5301X/NSP UART1" 1702dc9e0b9SFlorian Fainelli depends on ARCH_BCM_5301X || ARCH_BCM_NSP 171140bd603SHauke Mehrtens select DEBUG_UART_8250 17206580275SHauke Mehrtens 173753d1243SChristian Daudt config DEBUG_BCM_KONA_UART 174753d1243SChristian Daudt bool "Kernel low-level debugging messages via BCM KONA UART" 1757aa2077bSFlorian Fainelli depends on ARCH_BCM_MOBILE 176753d1243SChristian Daudt select DEBUG_UART_8250 177753d1243SChristian Daudt help 178753d1243SChristian Daudt Say Y here if you want kernel low-level debugging support 179753d1243SChristian Daudt on Broadcom SoC platforms. 180753d1243SChristian Daudt This low level debug works for Broadcom 181753d1243SChristian Daudt mobile SoCs in the Kona family of chips (e.g. bcm28155, 182753d1243SChristian Daudt bcm11351, etc...) 183753d1243SChristian Daudt 1846c548099SArnd Bergmann config DEBUG_BCM63XX_UART 185b51312beSFlorian Fainelli bool "Kernel low-level debugging on BCM63XX UART" 186b51312beSFlorian Fainelli depends on ARCH_BCM_63XX 187b51312beSFlorian Fainelli 188caad0b41SSebastian Hesselbarth config DEBUG_BERLIN_UART 189caad0b41SSebastian Hesselbarth bool "Marvell Berlin SoC Debug UART" 190caad0b41SSebastian Hesselbarth depends on ARCH_BERLIN 191caad0b41SSebastian Hesselbarth select DEBUG_UART_8250 192caad0b41SSebastian Hesselbarth help 193caad0b41SSebastian Hesselbarth Say Y here if you want kernel low-level debugging support 194caad0b41SSebastian Hesselbarth on Marvell Berlin SoC based platforms. 195caad0b41SSebastian Hesselbarth 19681b43a6eSMarc Carino config DEBUG_BRCMSTB_UART 19781b43a6eSMarc Carino bool "Use BRCMSTB UART for low-level debug" 19881b43a6eSMarc Carino depends on ARCH_BRCMSTB 19981b43a6eSMarc Carino help 20081b43a6eSMarc Carino Say Y here if you want the debug print routines to direct 201d0cf9d8aSFlorian Fainelli their output to the first serial port on these devices. The 202d0cf9d8aSFlorian Fainelli UART physical and virtual address is automatically provided 203d0cf9d8aSFlorian Fainelli based on the chip identification register value. 20481b43a6eSMarc Carino 20581b43a6eSMarc Carino If you have a Broadcom STB chip and would like early print 20681b43a6eSMarc Carino messages to appear over the UART, select this option. 20781b43a6eSMarc Carino 208164acf96SStephen Boyd config DEBUG_CLPS711X_UART1 209164acf96SStephen Boyd bool "Kernel low-level debugging messages via UART1" 210164acf96SStephen Boyd depends on ARCH_CLPS711X 211164acf96SStephen Boyd help 212164acf96SStephen Boyd Say Y here if you want the debug print routines to direct 213164acf96SStephen Boyd their output to the first serial port on these devices. 21417916b28SWill Deacon 21517916b28SWill Deacon config DEBUG_CLPS711X_UART2 21617916b28SWill Deacon bool "Kernel low-level debugging messages via UART2" 21717916b28SWill Deacon depends on ARCH_CLPS711X 21817916b28SWill Deacon help 21917916b28SWill Deacon Say Y here if you want the debug print routines to direct 22017916b28SWill Deacon their output to the second serial port on these devices. 22117916b28SWill Deacon 22229c9b7beSArnd Bergmann config DEBUG_CNS3XXX 22329c9b7beSArnd Bergmann bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx" 22429c9b7beSArnd Bergmann depends on ARCH_CNS3XXX 225b125170aSKrzysztof Hałasa select DEBUG_UART_8250 22629c9b7beSArnd Bergmann help 22729c9b7beSArnd Bergmann Say Y here if you want the debug print routines to direct 22829c9b7beSArnd Bergmann their output to the CNS3xxx UART0. 22929c9b7beSArnd Bergmann 230477099f1SUwe Kleine-König config DEBUG_DAVINCI_DA8XX_UART1 231477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DA8XX using UART1" 232477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DA8XX 23397bd1a48SRussell King select DEBUG_UART_8250 234477099f1SUwe Kleine-König help 235477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 236477099f1SUwe Kleine-König their output to UART1 serial port on DaVinci DA8XX devices. 237477099f1SUwe Kleine-König 238477099f1SUwe Kleine-König config DEBUG_DAVINCI_DA8XX_UART2 239477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DA8XX using UART2" 240477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DA8XX 24197bd1a48SRussell King select DEBUG_UART_8250 242477099f1SUwe Kleine-König help 243477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 244477099f1SUwe Kleine-König their output to UART2 serial port on DaVinci DA8XX devices. 245477099f1SUwe Kleine-König 246477099f1SUwe Kleine-König config DEBUG_DAVINCI_DMx_UART0 247477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DMx using UART0" 248477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DMx 24997bd1a48SRussell King select DEBUG_UART_8250 250477099f1SUwe Kleine-König help 251477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 252477099f1SUwe Kleine-König their output to UART0 serial port on DaVinci DMx devices. 253477099f1SUwe Kleine-König 254e76f4750SRussell King config DEBUG_DC21285_PORT 255e76f4750SRussell King bool "Kernel low-level debugging messages via footbridge serial port" 256e76f4750SRussell King depends on FOOTBRIDGE 257e76f4750SRussell King help 258e76f4750SRussell King Say Y here if you want the debug print routines to direct 259e76f4750SRussell King their output to the serial port in the DC21285 (Footbridge). 260e76f4750SRussell King 261e23814daSBaruch Siach config DEBUG_DIGICOLOR_UA0 262e23814daSBaruch Siach bool "Kernel low-level debugging messages via Digicolor UA0" 263e23814daSBaruch Siach depends on ARCH_DIGICOLOR 264e23814daSBaruch Siach help 265e23814daSBaruch Siach Say Y here if you want the debug print routines to direct 266e23814daSBaruch Siach their output to the UA0 serial port in the CX92755. 267e23814daSBaruch Siach 268f06455faSArnd Bergmann config DEBUG_EP93XX 269f06455faSArnd Bergmann bool "Kernel low-level debugging messages via ep93xx UART" 270f06455faSArnd Bergmann depends on ARCH_EP93XX 271f06455faSArnd Bergmann select DEBUG_UART_PL01X 272f06455faSArnd Bergmann help 273f06455faSArnd Bergmann Say Y here if you want kernel low-level debugging support 274f06455faSArnd Bergmann on Cirrus Logic EP93xx based platforms. 275f06455faSArnd Bergmann 276e76f4750SRussell King config DEBUG_FOOTBRIDGE_COM1 277e76f4750SRussell King bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1" 278e76f4750SRussell King depends on FOOTBRIDGE 2790045c0ddSArnd Bergmann select DEBUG_UART_8250 280e76f4750SRussell King help 281e76f4750SRussell King Say Y here if you want the debug print routines to direct 282e76f4750SRussell King their output to the 8250 at PCI COM1. 283e76f4750SRussell King 284d7175a3bSArnd Bergmann config DEBUG_GEMINI 285d7175a3bSArnd Bergmann bool "Kernel low-level debugging messages via Cortina Systems Gemini UART" 286d7175a3bSArnd Bergmann depends on ARCH_GEMINI 287d7175a3bSArnd Bergmann select DEBUG_UART_8250 288d7175a3bSArnd Bergmann help 289d7175a3bSArnd Bergmann Say Y here if you want kernel low-level debugging support 290d7175a3bSArnd Bergmann on Cortina Gemini based platforms. 291d7175a3bSArnd Bergmann 2928d258bebSHaojian Zhuang config DEBUG_HI3620_UART 2938d258bebSHaojian Zhuang bool "Hisilicon HI3620 Debug UART" 2948d258bebSHaojian Zhuang depends on ARCH_HI3xxx 2958d258bebSHaojian Zhuang select DEBUG_UART_PL01X 2968d258bebSHaojian Zhuang help 2978d258bebSHaojian Zhuang Say Y here if you want kernel low-level debugging support 2988d258bebSHaojian Zhuang on HI3620 UART. 2998d258bebSHaojian Zhuang 300220e6cf7SRob Herring config DEBUG_HIGHBANK_UART 301220e6cf7SRob Herring bool "Kernel low-level debugging messages via Highbank UART" 302220e6cf7SRob Herring depends on ARCH_HIGHBANK 3035c972af4SRussell King select DEBUG_UART_PL01X 304220e6cf7SRob Herring help 305220e6cf7SRob Herring Say Y here if you want the debug print routines to direct 306220e6cf7SRob Herring their output to the UART on Highbank based devices. 307220e6cf7SRob Herring 30827dafaa8SWang Long config DEBUG_HIP01_UART 30927dafaa8SWang Long bool "Hisilicon Hip01 Debug UART" 31027dafaa8SWang Long depends on ARCH_HIP01 31127dafaa8SWang Long select DEBUG_UART_8250 31227dafaa8SWang Long help 31327dafaa8SWang Long Say Y here if you want kernel low-level debugging support 31427dafaa8SWang Long on HIP01 UART. 31527dafaa8SWang Long 316c9a1df48SHaojian Zhuang config DEBUG_HIP04_UART 317c9a1df48SHaojian Zhuang bool "Hisilicon HiP04 Debug UART" 318c9a1df48SHaojian Zhuang depends on ARCH_HIP04 319c9a1df48SHaojian Zhuang select DEBUG_UART_8250 320c9a1df48SHaojian Zhuang help 321c9a1df48SHaojian Zhuang Say Y here if you want kernel low-level debugging support 322c9a1df48SHaojian Zhuang on HIP04 UART. 323c9a1df48SHaojian Zhuang 32437bdaf82SOlof Johansson config DEBUG_HIX5HD2_UART 32537bdaf82SOlof Johansson bool "Hisilicon Hix5hd2 Debug UART" 32637bdaf82SOlof Johansson depends on ARCH_HIX5HD2 32793fd03a8SCatalin Marinas select DEBUG_UART_PL01X 32893fd03a8SCatalin Marinas help 32937bdaf82SOlof Johansson Say Y here if you want kernel low-level debugging support 33037bdaf82SOlof Johansson on Hix5hd2 UART. 3311da177e4SLinus Torvalds 332f350b861SShawn Guo config DEBUG_IMX1_UART 333f350b861SShawn Guo bool "i.MX1 Debug UART" 334f350b861SShawn Guo depends on SOC_IMX1 335f350b861SShawn Guo help 336f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 337f350b861SShawn Guo on i.MX1. 338f350b861SShawn Guo 339f350b861SShawn Guo config DEBUG_IMX23_UART 340f350b861SShawn Guo bool "i.MX23 Debug UART" 341f350b861SShawn Guo depends on SOC_IMX23 3425c972af4SRussell King select DEBUG_UART_PL01X 343f350b861SShawn Guo help 344f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 345f350b861SShawn Guo on i.MX23. 346f350b861SShawn Guo 347f350b861SShawn Guo config DEBUG_IMX25_UART 348f350b861SShawn Guo bool "i.MX25 Debug UART" 349f350b861SShawn Guo depends on SOC_IMX25 350f350b861SShawn Guo help 351f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 352f350b861SShawn Guo on i.MX25. 353f350b861SShawn Guo 354f350b861SShawn Guo config DEBUG_IMX21_IMX27_UART 355f350b861SShawn Guo bool "i.MX21 and i.MX27 Debug UART" 356f350b861SShawn Guo depends on SOC_IMX21 || SOC_IMX27 357f350b861SShawn Guo help 358f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 359f350b861SShawn Guo on i.MX21 or i.MX27. 360f350b861SShawn Guo 361f350b861SShawn Guo config DEBUG_IMX28_UART 362f350b861SShawn Guo bool "i.MX28 Debug UART" 363f350b861SShawn Guo depends on SOC_IMX28 3645c972af4SRussell King select DEBUG_UART_PL01X 365f350b861SShawn Guo help 366f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 367f350b861SShawn Guo on i.MX28. 368f350b861SShawn Guo 3694ad625d4SShawn Guo config DEBUG_IMX31_UART 3704ad625d4SShawn Guo bool "i.MX31 Debug UART" 3714ad625d4SShawn Guo depends on SOC_IMX31 372f350b861SShawn Guo help 373f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 3744ad625d4SShawn Guo on i.MX31. 3754ad625d4SShawn Guo 3764ad625d4SShawn Guo config DEBUG_IMX35_UART 3774ad625d4SShawn Guo bool "i.MX35 Debug UART" 3784ad625d4SShawn Guo depends on SOC_IMX35 3794ad625d4SShawn Guo help 3804ad625d4SShawn Guo Say Y here if you want kernel low-level debugging support 3814ad625d4SShawn Guo on i.MX35. 382f350b861SShawn Guo 383ad364a70SGreg Ungerer config DEBUG_IMX50_UART 384ad364a70SGreg Ungerer bool "i.MX50 Debug UART" 385ad364a70SGreg Ungerer depends on SOC_IMX50 386ad364a70SGreg Ungerer help 387ad364a70SGreg Ungerer Say Y here if you want kernel low-level debugging support 388ad364a70SGreg Ungerer on i.MX50. 389ad364a70SGreg Ungerer 390f350b861SShawn Guo config DEBUG_IMX51_UART 391f350b861SShawn Guo bool "i.MX51 Debug UART" 392f350b861SShawn Guo depends on SOC_IMX51 393f350b861SShawn Guo help 394f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 395f350b861SShawn Guo on i.MX51. 396f350b861SShawn Guo 3977356420cSFabio Estevam config DEBUG_IMX53_UART 3987356420cSFabio Estevam bool "i.MX53 Debug UART" 3997356420cSFabio Estevam depends on SOC_IMX53 400f350b861SShawn Guo help 401f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 4027356420cSFabio Estevam on i.MX53. 403f350b861SShawn Guo 40449c9e60eSShawn Guo config DEBUG_IMX6Q_UART 4053c03a2feSShawn Guo bool "i.MX6Q/DL Debug UART" 406785d7fabSDirk Behme depends on SOC_IMX6Q 407785d7fabSDirk Behme help 408785d7fabSDirk Behme Say Y here if you want kernel low-level debugging support 4093c03a2feSShawn Guo on i.MX6Q/DL. 410bac89d75SShawn Guo 41134e8a16bSShawn Guo config DEBUG_IMX6SL_UART 41234e8a16bSShawn Guo bool "i.MX6SL Debug UART" 41334e8a16bSShawn Guo depends on SOC_IMX6SL 41434e8a16bSShawn Guo help 41534e8a16bSShawn Guo Say Y here if you want kernel low-level debugging support 41634e8a16bSShawn Guo on i.MX6SL. 41734e8a16bSShawn Guo 41874368e81SShawn Guo config DEBUG_IMX6SX_UART 41974368e81SShawn Guo bool "i.MX6SX Debug UART" 42074368e81SShawn Guo depends on SOC_IMX6SX 42174368e81SShawn Guo help 42274368e81SShawn Guo Say Y here if you want kernel low-level debugging support 42374368e81SShawn Guo on i.MX6SX. 42474368e81SShawn Guo 42520c305f6SAnson Huang config DEBUG_IMX6UL_UART 42620c305f6SAnson Huang bool "i.MX6UL Debug UART" 42720c305f6SAnson Huang depends on SOC_IMX6UL 42820c305f6SAnson Huang help 42920c305f6SAnson Huang Say Y here if you want kernel low-level debugging support 43020c305f6SAnson Huang on i.MX6UL. 43120c305f6SAnson Huang 43252d7aec2SAnson Huang config DEBUG_IMX7D_UART 43352d7aec2SAnson Huang bool "i.MX7D Debug UART" 43452d7aec2SAnson Huang depends on SOC_IMX7D 43552d7aec2SAnson Huang help 43652d7aec2SAnson Huang Say Y here if you want kernel low-level debugging support 43752d7aec2SAnson Huang on i.MX7D. 43852d7aec2SAnson Huang 4394db22c10SArnd Bergmann config DEBUG_INTEGRATOR 4404db22c10SArnd Bergmann bool "Kernel low-level debugging messages via ARM Integrator UART" 4414db22c10SArnd Bergmann depends on ARCH_INTEGRATOR 4424db22c10SArnd Bergmann select DEBUG_UART_PL01X 4434db22c10SArnd Bergmann help 4444db22c10SArnd Bergmann Say Y here if you want kernel low-level debugging support 4454db22c10SArnd Bergmann on ARM Integrator platforms. 4464db22c10SArnd Bergmann 447828989adSSantosh Shilimkar config DEBUG_KEYSTONE_UART0 448828989adSSantosh Shilimkar bool "Kernel low-level debugging on KEYSTONE2 using UART0" 449828989adSSantosh Shilimkar depends on ARCH_KEYSTONE 450f2acf003SRussell King select DEBUG_UART_8250 451828989adSSantosh Shilimkar help 452828989adSSantosh Shilimkar Say Y here if you want the debug print routines to direct 453828989adSSantosh Shilimkar their output to UART0 serial port on KEYSTONE2 devices. 454828989adSSantosh Shilimkar 455828989adSSantosh Shilimkar config DEBUG_KEYSTONE_UART1 456828989adSSantosh Shilimkar bool "Kernel low-level debugging on KEYSTONE2 using UART1" 457828989adSSantosh Shilimkar depends on ARCH_KEYSTONE 458f2acf003SRussell King select DEBUG_UART_8250 459828989adSSantosh Shilimkar help 460828989adSSantosh Shilimkar Say Y here if you want the debug print routines to direct 461828989adSSantosh Shilimkar their output to UART1 serial port on KEYSTONE2 devices. 462828989adSSantosh Shilimkar 463abbfb21eSDaniel Thompson config DEBUG_KS8695_UART 464abbfb21eSDaniel Thompson bool "KS8695 Debug UART" 465abbfb21eSDaniel Thompson depends on ARCH_KS8695 466abbfb21eSDaniel Thompson help 467abbfb21eSDaniel Thompson Say Y here if you want kernel low-level debugging support 468abbfb21eSDaniel Thompson on KS8695. 469abbfb21eSDaniel Thompson 4700aed6a37SJoachim Eastwood config DEBUG_LPC18XX_UART0 4710aed6a37SJoachim Eastwood bool "Kernel low-level debugging via LPC18xx/43xx UART0" 4720aed6a37SJoachim Eastwood depends on ARCH_LPC18XX 4730aed6a37SJoachim Eastwood select DEBUG_UART_8250 4740aed6a37SJoachim Eastwood help 4750aed6a37SJoachim Eastwood Say Y here if you want kernel low-level debugging support 4760aed6a37SJoachim Eastwood on NXP LPC18xx/43xx UART0. 4770aed6a37SJoachim Eastwood 47859bd4c38SArnd Bergmann config DEBUG_LPC32XX 47959bd4c38SArnd Bergmann bool "Kernel low-level debugging messages via NXP LPC32xx UART" 48059bd4c38SArnd Bergmann depends on ARCH_LPC32XX 48159bd4c38SArnd Bergmann select DEBUG_UART_8250 48259bd4c38SArnd Bergmann help 48359bd4c38SArnd Bergmann Say Y here if you want kernel low-level debugging support 48459bd4c38SArnd Bergmann on NXP LPC32xx based platforms. 48559bd4c38SArnd Bergmann 486d8a00916SCarlo Caione config DEBUG_MESON_UARTAO 487d8a00916SCarlo Caione bool "Kernel low-level debugging via Meson6 UARTAO" 488d8a00916SCarlo Caione depends on ARCH_MESON 489d8a00916SCarlo Caione help 490d8a00916SCarlo Caione Say Y here if you want kernel low-lever debugging support 491d8a00916SCarlo Caione on Amlogic Meson6 based platforms on the UARTAO. 492d8a00916SCarlo Caione 493fa4cd2a8SHaojian Zhuang config DEBUG_MMP_UART2 494fa4cd2a8SHaojian Zhuang bool "Kernel low-level debugging message via MMP UART2" 495fa4cd2a8SHaojian Zhuang depends on ARCH_MMP 4964a003647SRussell King select DEBUG_UART_8250 497fa4cd2a8SHaojian Zhuang help 498fa4cd2a8SHaojian Zhuang Say Y here if you want kernel low-level debugging support 499fa4cd2a8SHaojian Zhuang on MMP UART2. 500fa4cd2a8SHaojian Zhuang 501fa4cd2a8SHaojian Zhuang config DEBUG_MMP_UART3 502fa4cd2a8SHaojian Zhuang bool "Kernel low-level debugging message via MMP UART3" 503fa4cd2a8SHaojian Zhuang depends on ARCH_MMP 5044a003647SRussell King select DEBUG_UART_8250 505fa4cd2a8SHaojian Zhuang help 506fa4cd2a8SHaojian Zhuang Say Y here if you want kernel low-level debugging support 507fa4cd2a8SHaojian Zhuang on MMP UART3. 508fa4cd2a8SHaojian Zhuang 509d91125ddSMaxime Ripard config DEBUG_MVEBU_UART0 510d91125ddSMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)" 511bfd5af99SRob Herring depends on ARCH_MVEBU 512c047f529SArnd Bergmann depends on ARCH_MVEBU && CPU_V7 5134a003647SRussell King select DEBUG_UART_8250 514bfd5af99SRob Herring help 515bfd5af99SRob Herring Say Y here if you want kernel low-level debugging support 516d91125ddSMaxime Ripard on MVEBU based platforms on UART0. 517bfd5af99SRob Herring 518c2804cd6SThomas Petazzoni This option should be used with the old bootloaders 519c2804cd6SThomas Petazzoni that left the internal registers mapped at 520c2804cd6SThomas Petazzoni 0xd0000000. As of today, this is the case on 521c2804cd6SThomas Petazzoni platforms such as the Globalscale Mirabox or the 522c2804cd6SThomas Petazzoni Plathome OpenBlocks AX3, when using the original 523c2804cd6SThomas Petazzoni bootloader. 524c2804cd6SThomas Petazzoni 525c047f529SArnd Bergmann This option will not work on older Marvell platforms 526c047f529SArnd Bergmann (Kirkwood, Dove, MV78xx0, Orion5x), which should pick 527c047f529SArnd Bergmann the "new bootloader" variant. 528c047f529SArnd Bergmann 529c2804cd6SThomas Petazzoni If the wrong DEBUG_MVEBU_UART* option is selected, 530c2804cd6SThomas Petazzoni when u-boot hands over to the kernel, the system 531c2804cd6SThomas Petazzoni silently crashes, with no serial output at all. 532c2804cd6SThomas Petazzoni 533d91125ddSMaxime Ripard config DEBUG_MVEBU_UART0_ALTERNATE 534d91125ddSMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)" 535c047f529SArnd Bergmann depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X 5364a003647SRussell King select DEBUG_UART_8250 537c2804cd6SThomas Petazzoni help 538c2804cd6SThomas Petazzoni Say Y here if you want kernel low-level debugging support 539c047f529SArnd Bergmann on MVEBU based platforms on UART0. (Armada XP, Armada 3xx, 540c047f529SArnd Bergmann Kirkwood, Dove, MV78xx0, Orion5x). 541c047f529SArnd Bergmann 542c2804cd6SThomas Petazzoni 543c2804cd6SThomas Petazzoni This option should be used with the new bootloaders 544c2804cd6SThomas Petazzoni that remap the internal registers at 0xf1000000. 545c2804cd6SThomas Petazzoni 546c2804cd6SThomas Petazzoni If the wrong DEBUG_MVEBU_UART* option is selected, 547c2804cd6SThomas Petazzoni when u-boot hands over to the kernel, the system 548c2804cd6SThomas Petazzoni silently crashes, with no serial output at all. 549c2804cd6SThomas Petazzoni 550bd920490SMaxime Ripard config DEBUG_MVEBU_UART1_ALTERNATE 551bd920490SMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)" 552bd920490SMaxime Ripard depends on ARCH_MVEBU 553bd920490SMaxime Ripard select DEBUG_UART_8250 554bd920490SMaxime Ripard help 555bd920490SMaxime Ripard Say Y here if you want kernel low-level debugging support 556c047f529SArnd Bergmann on MVEBU based platforms on UART1. (Armada XP, Armada 3xx, 557c047f529SArnd Bergmann Kirkwood, Dove, MV78xx0, Orion5x). 558a3d3ef9dSStephen Boyd 5591da177e4SLinus Torvalds This option should be used with the new bootloaders 5601da177e4SLinus Torvalds that remap the internal registers at 0xf1000000. 561c047f529SArnd Bergmann All of the older (pre Armada XP/370) platforms also use 562c047f529SArnd Bergmann this address, regardless of the boot loader version. 5631da177e4SLinus Torvalds 5641da177e4SLinus Torvalds If the wrong DEBUG_MVEBU_UART* option is selected, 5651da177e4SLinus Torvalds when u-boot hands over to the kernel, the system 5661da177e4SLinus Torvalds silently crashes, with no serial output at all. 5671da177e4SLinus Torvalds 5681dc93416SArnd Bergmann config DEBUG_MT6589_UART0 5691dc93416SArnd Bergmann bool "Mediatek mt6589 UART0" 5701dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5711dc93416SArnd Bergmann select DEBUG_UART_8250 572c7c3eac6SShawn Guo help 573c7c3eac6SShawn Guo Say Y here if you want kernel low-level debugging support 5741dc93416SArnd Bergmann for Mediatek mt6589 based platforms on UART0. 5751dc93416SArnd Bergmann 5761dc93416SArnd Bergmann config DEBUG_MT8127_UART0 5771dc93416SArnd Bergmann bool "Mediatek mt8127/mt6592 UART0" 5781dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5791dc93416SArnd Bergmann select DEBUG_UART_8250 5801dc93416SArnd Bergmann help 5811dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 5821dc93416SArnd Bergmann for Mediatek mt8127 based platforms on UART0. 5831dc93416SArnd Bergmann 5841dc93416SArnd Bergmann config DEBUG_MT8135_UART3 5851dc93416SArnd Bergmann bool "Mediatek mt8135 UART3" 5861dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5871dc93416SArnd Bergmann select DEBUG_UART_8250 5881dc93416SArnd Bergmann help 5891dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 5901dc93416SArnd Bergmann for Mediatek mt8135 based platforms on UART3. 591c7c3eac6SShawn Guo 5924d31e664SDaniel Thompson config DEBUG_NETX_UART 5934d31e664SDaniel Thompson bool "Kernel low-level debugging messages via NetX UART" 5944d31e664SDaniel Thompson depends on ARCH_NETX 5954d31e664SDaniel Thompson help 5964d31e664SDaniel Thompson Say Y here if you want kernel low-level debugging support 5974d31e664SDaniel Thompson on Hilscher NetX based platforms. 5984d31e664SDaniel Thompson 599266c3479SLinus Walleij config DEBUG_NOMADIK_UART 600266c3479SLinus Walleij bool "Kernel low-level debugging messages via NOMADIK UART" 601266c3479SLinus Walleij depends on ARCH_NOMADIK 6025c972af4SRussell King select DEBUG_UART_PL01X 603266c3479SLinus Walleij help 604266c3479SLinus Walleij Say Y here if you want kernel low-level debugging support 605266c3479SLinus Walleij on NOMADIK based platforms. 606266c3479SLinus Walleij 6079851ca57SDaniel Tang config DEBUG_NSPIRE_CLASSIC_UART 6089851ca57SDaniel Tang bool "Kernel low-level debugging via TI-NSPIRE 8250 UART" 6099851ca57SDaniel Tang depends on ARCH_NSPIRE 6104a003647SRussell King select DEBUG_UART_8250 6119851ca57SDaniel Tang help 6129851ca57SDaniel Tang Say Y here if you want kernel low-level debugging support 6139851ca57SDaniel Tang on TI-NSPIRE classic models. 6149851ca57SDaniel Tang 6159851ca57SDaniel Tang config DEBUG_NSPIRE_CX_UART 6169851ca57SDaniel Tang bool "Kernel low-level debugging via TI-NSPIRE PL011 UART" 6179851ca57SDaniel Tang depends on ARCH_NSPIRE 6185c972af4SRussell King select DEBUG_UART_PL01X 6199851ca57SDaniel Tang help 6209851ca57SDaniel Tang Say Y here if you want kernel low-level debugging support 6219851ca57SDaniel Tang on TI-NSPIRE CX models. 6229851ca57SDaniel Tang 623c26b9993SDaniel Thompson config DEBUG_OMAP1UART1 624c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART1" 625c26b9993SDaniel Thompson depends on ARCH_OMAP1 626c26b9993SDaniel Thompson select DEBUG_UART_8250 627c26b9993SDaniel Thompson help 628c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 629c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART1. 630c26b9993SDaniel Thompson 631c26b9993SDaniel Thompson config DEBUG_OMAP1UART2 632c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART2" 633c26b9993SDaniel Thompson depends on ARCH_OMAP1 634c26b9993SDaniel Thompson select DEBUG_UART_8250 635c26b9993SDaniel Thompson help 636c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 637c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART2. 638c26b9993SDaniel Thompson 639c26b9993SDaniel Thompson config DEBUG_OMAP1UART3 640c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART3" 641c26b9993SDaniel Thompson depends on ARCH_OMAP1 642c26b9993SDaniel Thompson select DEBUG_UART_8250 643c26b9993SDaniel Thompson help 644c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 645c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART3. 646c26b9993SDaniel Thompson 647cce278d2SRussell King config DEBUG_OMAP2UART1 648cce278d2SRussell King bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" 649808b7e07STony Lindgren depends on ARCH_OMAP2PLUS 650d2b310b0STony Lindgren select DEBUG_UART_8250 651808b7e07STony Lindgren help 652cce278d2SRussell King This covers at least h4, 2430sdp, 3430sdp, 3630sdp, 653cce278d2SRussell King omap3 torpedo and 3530 lv som. 654cce278d2SRussell King 655cce278d2SRussell King config DEBUG_OMAP2UART2 656cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP2/3/4 UART2" 657cce278d2SRussell King depends on ARCH_OMAP2PLUS 658d2b310b0STony Lindgren select DEBUG_UART_8250 659cce278d2SRussell King 660cce278d2SRussell King config DEBUG_OMAP2UART3 661cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)" 662cce278d2SRussell King depends on ARCH_OMAP2PLUS 663d2b310b0STony Lindgren select DEBUG_UART_8250 664cce278d2SRussell King 665cce278d2SRussell King config DEBUG_OMAP3UART3 666cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)" 667cce278d2SRussell King depends on ARCH_OMAP2PLUS 668fc23beb8STony Lindgren select DEBUG_UART_8250 669cce278d2SRussell King help 670cce278d2SRussell King This covers at least cm_t3x, beagle, crane, devkit8000, 671cce278d2SRussell King igep00x0, ldp, n900, n9(50), pandora, overo, touchbook, 672cce278d2SRussell King and 3517evm. 673cce278d2SRussell King 674cce278d2SRussell King config DEBUG_OMAP4UART3 675cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)" 676cce278d2SRussell King depends on ARCH_OMAP2PLUS 677fc23beb8STony Lindgren select DEBUG_UART_8250 678cce278d2SRussell King 679cce278d2SRussell King config DEBUG_OMAP3UART4 680cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP36XX UART4" 681cce278d2SRussell King depends on ARCH_OMAP2PLUS 682fc23beb8STony Lindgren select DEBUG_UART_8250 683cce278d2SRussell King 684cce278d2SRussell King config DEBUG_OMAP4UART4 685cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP4/5 UART4" 686cce278d2SRussell King depends on ARCH_OMAP2PLUS 687fc23beb8STony Lindgren select DEBUG_UART_8250 688cce278d2SRussell King 689c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART1 690c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART1" 691c26b9993SDaniel Thompson depends on ARCH_OMAP730 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 OMAP730 based platforms on the UART1. 696c26b9993SDaniel Thompson 697c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART2 698c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART2" 699c26b9993SDaniel Thompson depends on ARCH_OMAP730 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 OMAP730 based platforms on the UART2. 704c26b9993SDaniel Thompson 705c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART3 706c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART3" 707c26b9993SDaniel Thompson depends on ARCH_OMAP730 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 OMAP730 based platforms on the UART3. 712c26b9993SDaniel Thompson 713cce278d2SRussell King config DEBUG_TI81XXUART1 714cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)" 715cce278d2SRussell King depends on ARCH_OMAP2PLUS 7162d1f7d2eSTony Lindgren select DEBUG_UART_8250 717cce278d2SRussell King 718cce278d2SRussell King config DEBUG_TI81XXUART2 719cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART2" 720cce278d2SRussell King depends on ARCH_OMAP2PLUS 7212d1f7d2eSTony Lindgren select DEBUG_UART_8250 722cce278d2SRussell King 723cce278d2SRussell King config DEBUG_TI81XXUART3 724cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)" 725cce278d2SRussell King depends on ARCH_OMAP2PLUS 7262d1f7d2eSTony Lindgren select DEBUG_UART_8250 727cce278d2SRussell King 728cce278d2SRussell King config DEBUG_AM33XXUART1 729cce278d2SRussell King bool "Kernel low-level debugging messages via AM33XX UART1" 730cce278d2SRussell King depends on ARCH_OMAP2PLUS 73151ef7003STony Lindgren select DEBUG_UART_8250 732cce278d2SRussell King 733cce278d2SRussell King config DEBUG_ZOOM_UART 734cce278d2SRussell King bool "Kernel low-level debugging messages via Zoom2/3 UART" 735cce278d2SRussell King depends on ARCH_OMAP2PLUS 736cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 737808b7e07STony Lindgren 73859bba2a9SRob Herring config DEBUG_PICOXCELL_UART 73959bba2a9SRob Herring depends on ARCH_PICOXCELL 74059bba2a9SRob Herring bool "Use PicoXcell UART for low-level debug" 7410b4cccbeSRussell King select DEBUG_UART_8250 74259bba2a9SRob Herring help 74359bba2a9SRob Herring Say Y here if you want kernel low-level debugging support 74459bba2a9SRob Herring on PicoXcell based platforms. 74559bba2a9SRob Herring 7460a43cd3bSHaojian Zhuang config DEBUG_PXA_UART1 7470a43cd3bSHaojian Zhuang depends on ARCH_PXA 7480a43cd3bSHaojian Zhuang bool "Use PXA UART1 for low-level debug" 7494a003647SRussell King select DEBUG_UART_8250 7500a43cd3bSHaojian Zhuang help 7510a43cd3bSHaojian Zhuang Say Y here if you want kernel low-level debugging support 7520a43cd3bSHaojian Zhuang on PXA UART1. 7530a43cd3bSHaojian Zhuang 7541dc93416SArnd Bergmann config DEBUG_QCOM_UARTDM 7551dc93416SArnd Bergmann bool "Kernel low-level debugging messages via QCOM UARTDM" 7561dc93416SArnd Bergmann depends on ARCH_QCOM 7571dc93416SArnd Bergmann help 7581dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 7591dc93416SArnd Bergmann their output to the serial port on Qualcomm devices. 7601dc93416SArnd Bergmann 7611dc93416SArnd Bergmann ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT 7621dc93416SArnd Bergmann APQ8064 0x16640000 0xf0040000 7631dc93416SArnd Bergmann APQ8084 0xf995e000 0xfa75e000 7647b87fe94SChristian Lamparter IPQ4019 0x078af000 0xf78af000 7651dc93416SArnd Bergmann MSM8X60 0x19c40000 0xf0040000 7661dc93416SArnd Bergmann MSM8960 0x16440000 0xf0040000 7671dc93416SArnd Bergmann MSM8974 0xf991e000 0xfa71e000 7681dc93416SArnd Bergmann 7691dc93416SArnd Bergmann Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration 7701dc93416SArnd Bergmann options based on your needs. 7711dc93416SArnd Bergmann 772e76f4750SRussell King config DEBUG_REALVIEW_STD_PORT 773e76f4750SRussell King bool "RealView Default UART" 774e76f4750SRussell King depends on ARCH_REALVIEW 7755c972af4SRussell King select DEBUG_UART_PL01X 776e76f4750SRussell King help 777e76f4750SRussell King Say Y here if you want the debug print routines to direct 778e76f4750SRussell King their output to the serial port on RealView EB, PB11MP, PBA8 779e76f4750SRussell King and PBX platforms. 780e76f4750SRussell King 781e76f4750SRussell King config DEBUG_REALVIEW_PB1176_PORT 782e76f4750SRussell King bool "RealView PB1176 UART" 783e76f4750SRussell King depends on MACH_REALVIEW_PB1176 7845c972af4SRussell King select DEBUG_UART_PL01X 785e76f4750SRussell King help 786e76f4750SRussell King Say Y here if you want the debug print routines to direct 787e76f4750SRussell King their output to the standard serial port on the RealView 788e76f4750SRussell King PB1176 platform. 789e76f4750SRussell King 790a3b882f9SAndy Yan config DEBUG_RV1108_UART0 791a3b882f9SAndy Yan bool "Kernel low-level debugging messages via Rockchip RV1108 UART0" 792a3b882f9SAndy Yan depends on ARCH_ROCKCHIP 793a3b882f9SAndy Yan select DEBUG_UART_8250 794a3b882f9SAndy Yan help 795a3b882f9SAndy Yan Say Y here if you want kernel low-level debugging support 796a3b882f9SAndy Yan on Rockchip RV1108 based platforms. 797a3b882f9SAndy Yan 798a3b882f9SAndy Yan config DEBUG_RV1108_UART1 799a3b882f9SAndy Yan bool "Kernel low-level debugging messages via Rockchip RV1108 UART1" 800a3b882f9SAndy Yan depends on ARCH_ROCKCHIP 801a3b882f9SAndy Yan select DEBUG_UART_8250 802a3b882f9SAndy Yan help 803a3b882f9SAndy Yan Say Y here if you want kernel low-level debugging support 804a3b882f9SAndy Yan on Rockchip RV1108 based platforms. 805a3b882f9SAndy Yan 806a3b882f9SAndy Yan config DEBUG_RV1108_UART2 807a3b882f9SAndy Yan bool "Kernel low-level debugging messages via Rockchip RV1108 UART2" 808a3b882f9SAndy Yan depends on ARCH_ROCKCHIP 809a3b882f9SAndy Yan select DEBUG_UART_8250 810a3b882f9SAndy Yan help 811a3b882f9SAndy Yan Say Y here if you want kernel low-level debugging support 812a3b882f9SAndy Yan on Rockchip RV1108 based platforms. 813a3b882f9SAndy Yan 814cce278d2SRussell King config DEBUG_RK29_UART0 815cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART0" 81638bd6892SHeiko Stuebner depends on ARCH_ROCKCHIP 8174a003647SRussell King select DEBUG_UART_8250 818cce278d2SRussell King help 819cce278d2SRussell King Say Y here if you want kernel low-level debugging support 820cce278d2SRussell King on Rockchip based platforms. 821cce278d2SRussell King 822cce278d2SRussell King config DEBUG_RK29_UART1 823cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART1" 824cce278d2SRussell King depends on ARCH_ROCKCHIP 8254a003647SRussell King select DEBUG_UART_8250 826cce278d2SRussell King help 827cce278d2SRussell King Say Y here if you want kernel low-level debugging support 828cce278d2SRussell King on Rockchip based platforms. 829cce278d2SRussell King 830cce278d2SRussell King config DEBUG_RK29_UART2 831cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART2" 832cce278d2SRussell King depends on ARCH_ROCKCHIP 8334a003647SRussell King select DEBUG_UART_8250 834cce278d2SRussell King help 835cce278d2SRussell King Say Y here if you want kernel low-level debugging support 836cce278d2SRussell King on Rockchip based platforms. 837cce278d2SRussell King 838cce278d2SRussell King config DEBUG_RK3X_UART0 839aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0" 840cce278d2SRussell King depends on ARCH_ROCKCHIP 8414a003647SRussell King select DEBUG_UART_8250 842cce278d2SRussell King help 843cce278d2SRussell King Say Y here if you want kernel low-level debugging support 844cce278d2SRussell King on Rockchip based platforms. 845cce278d2SRussell King 846cce278d2SRussell King config DEBUG_RK3X_UART1 847aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1" 848cce278d2SRussell King depends on ARCH_ROCKCHIP 8494a003647SRussell King select DEBUG_UART_8250 850cce278d2SRussell King help 851cce278d2SRussell King Say Y here if you want kernel low-level debugging support 852cce278d2SRussell King on Rockchip based platforms. 853cce278d2SRussell King 854cce278d2SRussell King config DEBUG_RK3X_UART2 855aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2" 856cce278d2SRussell King depends on ARCH_ROCKCHIP 8574a003647SRussell King select DEBUG_UART_8250 858cce278d2SRussell King help 859cce278d2SRussell King Say Y here if you want kernel low-level debugging support 860cce278d2SRussell King on Rockchip based platforms. 861cce278d2SRussell King 862cce278d2SRussell King config DEBUG_RK3X_UART3 863aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3" 864cce278d2SRussell King depends on ARCH_ROCKCHIP 8654a003647SRussell King select DEBUG_UART_8250 86638bd6892SHeiko Stuebner help 86738bd6892SHeiko Stuebner Say Y here if you want kernel low-level debugging support 86838bd6892SHeiko Stuebner on Rockchip based platforms. 86938bd6892SHeiko Stuebner 870efd02ee9SHeiko Stuebner config DEBUG_RK32_UART2 871efd02ee9SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK32 UART2" 872efd02ee9SHeiko Stuebner depends on ARCH_ROCKCHIP 873efd02ee9SHeiko Stuebner select DEBUG_UART_8250 874efd02ee9SHeiko Stuebner help 875efd02ee9SHeiko Stuebner Say Y here if you want kernel low-level debugging support 876efd02ee9SHeiko Stuebner on Rockchip RK32xx based platforms. 877efd02ee9SHeiko Stuebner 8787a2071c5SGeert Uytterhoeven config DEBUG_R7S72100_SCIF2 8797a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R7S72100" 8807a2071c5SGeert Uytterhoeven depends on ARCH_R7S72100 8817a2071c5SGeert Uytterhoeven help 8827a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8837a2071c5SGeert Uytterhoeven via SCIF2 on Renesas RZ/A1H (R7S72100). 8847a2071c5SGeert Uytterhoeven 8857a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN1_SCIF0 8867a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF0 on R8A7778" 8877a2071c5SGeert Uytterhoeven depends on ARCH_R8A7778 8887a2071c5SGeert Uytterhoeven help 8897a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8907a2071c5SGeert Uytterhoeven via SCIF0 on Renesas R-Car M1A (R8A7778). 8917a2071c5SGeert Uytterhoeven 8927a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN1_SCIF2 8937a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R8A7779" 8947a2071c5SGeert Uytterhoeven depends on ARCH_R8A7779 8957a2071c5SGeert Uytterhoeven help 8967a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8977a2071c5SGeert Uytterhoeven via SCIF2 on Renesas R-Car H1 (R8A7779). 8987a2071c5SGeert Uytterhoeven 8997a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN2_SCIF0 900fcfbb6f1SChris Paterson bool "Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1" 901fcfbb6f1SChris Paterson depends on ARCH_R8A7743 || ARCH_R8A7790 || ARCH_R8A7791 || \ 902fcfbb6f1SChris Paterson ARCH_R8A7792 || ARCH_R8A7793 9037a2071c5SGeert Uytterhoeven help 9047a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 905fcfbb6f1SChris Paterson via SCIF0 on Renesas RZ/G1M (R8A7743), R-Car H2 (R8A7790), 906fcfbb6f1SChris Paterson M2-W (R8A7791), V2H (R8A7792), or M2-N (R8A7793). 9077a2071c5SGeert Uytterhoeven 9087a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN2_SCIF2 9097a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R8A7794" 9107a2071c5SGeert Uytterhoeven depends on ARCH_R8A7794 9117a2071c5SGeert Uytterhoeven help 9127a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 9137a2071c5SGeert Uytterhoeven via SCIF2 on Renesas R-Car E2 (R8A7794). 9147a2071c5SGeert Uytterhoeven 9157a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA0 91659b89af1SMagnus Damm bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4" 91759b89af1SMagnus Damm depends on ARCH_R8A73A4 9187a2071c5SGeert Uytterhoeven help 9197a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 92059b89af1SMagnus Damm via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4). 9217a2071c5SGeert Uytterhoeven 9227a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA1 9237a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIFA1 on R8A7740" 9247a2071c5SGeert Uytterhoeven depends on ARCH_R8A7740 9257a2071c5SGeert Uytterhoeven help 9267a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 9277a2071c5SGeert Uytterhoeven via SCIFA1 on Renesas R-Mobile A1 (R8A7740). 9287a2071c5SGeert Uytterhoeven 9297a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA4 9307a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIFA4 on SH73A0" 9317a2071c5SGeert Uytterhoeven depends on ARCH_SH73A0 9327a2071c5SGeert Uytterhoeven help 9337a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 9347a2071c5SGeert Uytterhoeven via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0). 9357a2071c5SGeert Uytterhoeven 936e76f4750SRussell King config DEBUG_S3C_UART0 937e76f4750SRussell King depends on PLAT_SAMSUNG 938a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 9391899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 940bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9417bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9425cc8a016SSachin Kamat bool "Use Samsung S3C UART 0 for low-level debug" 943e76f4750SRussell King help 944e76f4750SRussell King Say Y here if you want the debug print routines to direct 945e76f4750SRussell King their output to UART 0. The port must have been initialised 946e76f4750SRussell King by the boot-loader before use. 947e76f4750SRussell King 948e76f4750SRussell King config DEBUG_S3C_UART1 949e76f4750SRussell King depends on PLAT_SAMSUNG 950a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 9511899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 952bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9537bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9545cc8a016SSachin Kamat bool "Use Samsung S3C UART 1 for low-level debug" 955e76f4750SRussell King help 956e76f4750SRussell King Say Y here if you want the debug print routines to direct 957e76f4750SRussell King their output to UART 1. The port must have been initialised 958e76f4750SRussell King by the boot-loader before use. 959e76f4750SRussell King 960e76f4750SRussell King config DEBUG_S3C_UART2 961e76f4750SRussell King depends on PLAT_SAMSUNG 962a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 9631899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 964bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9657bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9665cc8a016SSachin Kamat bool "Use Samsung S3C UART 2 for low-level debug" 967e76f4750SRussell King help 968e76f4750SRussell King Say Y here if you want the debug print routines to direct 969e76f4750SRussell King their output to UART 2. The port must have been initialised 970e76f4750SRussell King by the boot-loader before use. 971e76f4750SRussell King 9725fa23ddeSOlof Johansson config DEBUG_S3C_UART3 9737bab7d9eSTomasz Figa depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210) 9747bab7d9eSTomasz Figa select DEBUG_EXYNOS_UART if ARCH_EXYNOS 975bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9767bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9775cc8a016SSachin Kamat bool "Use Samsung S3C UART 3 for low-level debug" 9785fa23ddeSOlof Johansson help 9795fa23ddeSOlof Johansson Say Y here if you want the debug print routines to direct 9805fa23ddeSOlof Johansson their output to UART 3. The port must have been initialised 9815fa23ddeSOlof Johansson by the boot-loader before use. 9825fa23ddeSOlof Johansson 983daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART0 984daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 985daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 986daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 0 for low-level debug" 987daf67dfcSHeiko Stuebner help 988daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 989daf67dfcSHeiko Stuebner their output to UART 0. The port must have been initialised 990daf67dfcSHeiko Stuebner by the boot-loader before use. 991daf67dfcSHeiko Stuebner 992daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART1 993daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 994daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 995daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 1 for low-level debug" 996daf67dfcSHeiko Stuebner help 997daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 998daf67dfcSHeiko Stuebner their output to UART 1. The port must have been initialised 999daf67dfcSHeiko Stuebner by the boot-loader before use. 1000daf67dfcSHeiko Stuebner 1001daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART2 1002daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 1003daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 1004daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 2 for low-level debug" 1005daf67dfcSHeiko Stuebner help 1006daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 1007daf67dfcSHeiko Stuebner their output to UART 2. The port must have been initialised 1008daf67dfcSHeiko Stuebner by the boot-loader before use. 1009daf67dfcSHeiko Stuebner 1010e6131fa3SDmitry Eremin-Solenikov config DEBUG_SA1100 1011e6131fa3SDmitry Eremin-Solenikov depends on ARCH_SA1100 1012e6131fa3SDmitry Eremin-Solenikov bool "Use SA1100 UARTs for low-level debug" 1013e6131fa3SDmitry Eremin-Solenikov help 1014e6131fa3SDmitry Eremin-Solenikov Say Y here if you want kernel low-level debugging support 1015e6131fa3SDmitry Eremin-Solenikov on SA-11x0 UART ports. The kernel will check for the first 1016e6131fa3SDmitry Eremin-Solenikov enabled UART in a sequence 3-1-2. 1017e6131fa3SDmitry Eremin-Solenikov 1018de73c162SDinh Nguyen config DEBUG_SOCFPGA_UART0 10196111bf7cSRob Herring depends on ARCH_SOCFPGA 1020de73c162SDinh Nguyen bool "Use SOCFPGA UART0 for low-level debug" 10210b4cccbeSRussell King select DEBUG_UART_8250 10226111bf7cSRob Herring help 10236111bf7cSRob Herring Say Y here if you want kernel low-level debugging support 1024de73c162SDinh Nguyen on SOCFPGA(Cyclone 5 and Arria 5) based platforms. 1025de73c162SDinh Nguyen 1026de73c162SDinh Nguyen config DEBUG_SOCFPGA_UART1 1027de73c162SDinh Nguyen depends on ARCH_SOCFPGA 1028de73c162SDinh Nguyen bool "Use SOCFPGA UART1 for low-level debug" 1029de73c162SDinh Nguyen select DEBUG_UART_8250 1030de73c162SDinh Nguyen help 1031de73c162SDinh Nguyen Say Y here if you want kernel low-level debugging support 1032de73c162SDinh Nguyen on SOCFPGA(Arria 10) based platforms. 1033de73c162SDinh Nguyen 10346111bf7cSRob Herring 1035d4da889aSChen-Yu Tsai config DEBUG_SUN9I_UART0 1036d4da889aSChen-Yu Tsai bool "Kernel low-level debugging messages via sun9i UART0" 1037d4da889aSChen-Yu Tsai depends on MACH_SUN9I 1038d4da889aSChen-Yu Tsai select DEBUG_UART_8250 1039d4da889aSChen-Yu Tsai help 1040d4da889aSChen-Yu Tsai Say Y here if you want kernel low-level debugging support 1041d4da889aSChen-Yu Tsai on Allwinner A80 based platforms on the UART0. 1042d4da889aSChen-Yu Tsai 1043aa25115aSStefan Roese config DEBUG_SUNXI_UART0 1044aa25115aSStefan Roese bool "Kernel low-level debugging messages via sunXi UART0" 1045aa25115aSStefan Roese depends on ARCH_SUNXI 10464a003647SRussell King select DEBUG_UART_8250 1047aa25115aSStefan Roese help 1048aa25115aSStefan Roese Say Y here if you want kernel low-level debugging support 1049aa25115aSStefan Roese on Allwinner A1X based platforms on the UART0. 1050aa25115aSStefan Roese 1051cb84fa18SMaxime Ripard config DEBUG_SUNXI_UART1 1052cb84fa18SMaxime Ripard bool "Kernel low-level debugging messages via sunXi UART1" 1053cb84fa18SMaxime Ripard depends on ARCH_SUNXI 10544a003647SRussell King select DEBUG_UART_8250 1055cb84fa18SMaxime Ripard help 1056cb84fa18SMaxime Ripard Say Y here if you want kernel low-level debugging support 1057cb84fa18SMaxime Ripard on Allwinner A1X based platforms on the UART1. 1058cb84fa18SMaxime Ripard 1059c4718543SChen-Yu Tsai config DEBUG_SUNXI_R_UART 1060c4718543SChen-Yu Tsai bool "Kernel low-level debugging messages via sunXi R_UART" 1061c4718543SChen-Yu Tsai depends on MACH_SUN6I || MACH_SUN8I 1062c4718543SChen-Yu Tsai select DEBUG_UART_8250 1063c4718543SChen-Yu Tsai help 1064c4718543SChen-Yu Tsai Say Y here if you want kernel low-level debugging support 1065c4718543SChen-Yu Tsai on Allwinner A31/A23 based platforms on the R_UART. 1066c4718543SChen-Yu Tsai 10677f46a107SBarry Song config DEBUG_SIRFPRIMA2_UART1 10687f46a107SBarry Song bool "Kernel low-level debugging messages via SiRFprimaII UART1" 10697f46a107SBarry Song depends on ARCH_PRIMA2 107001ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 10717f46a107SBarry Song help 10727f46a107SBarry Song Say Y here if you want the debug print routines to direct 10737f46a107SBarry Song their output to the uart1 port on SiRFprimaII devices. 10747f46a107SBarry Song 107501ea63d9SGuo Zeng config DEBUG_SIRFATLAS7_UART0 107601ea63d9SGuo Zeng bool "Kernel low-level debugging messages via SiRFatlas7 UART0" 107701ea63d9SGuo Zeng depends on ARCH_ATLAS7 107801ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 10797f46a107SBarry Song help 10807f46a107SBarry Song Say Y here if you want the debug print routines to direct 108101ea63d9SGuo Zeng their output to the uart0 port on SiRFATLAS7 devices.The uart0 108201ea63d9SGuo Zeng is used on SiRFATLAS7 as a extra debug port.sometimes an extra 108301ea63d9SGuo Zeng debug port can be very useful. 108401ea63d9SGuo Zeng 108501ea63d9SGuo Zeng config DEBUG_SIRFATLAS7_UART1 108601ea63d9SGuo Zeng bool "Kernel low-level debugging messages via SiRFatlas7 UART1" 108701ea63d9SGuo Zeng depends on ARCH_ATLAS7 108801ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 108901ea63d9SGuo Zeng help 109001ea63d9SGuo Zeng Say Y here if you want the debug print routines to direct 109101ea63d9SGuo Zeng their output to the uart1 port on SiRFATLAS7 devices. 10927f46a107SBarry Song 1093375d84cfSArnd Bergmann config DEBUG_SPEAR3XX 1094375d84cfSArnd Bergmann bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART" 1095375d84cfSArnd Bergmann depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX 1096375d84cfSArnd Bergmann select DEBUG_UART_PL01X 1097375d84cfSArnd Bergmann help 1098375d84cfSArnd Bergmann Say Y here if you want kernel low-level debugging support 1099375d84cfSArnd Bergmann on ST SPEAr based platforms. 1100375d84cfSArnd Bergmann 1101375d84cfSArnd Bergmann config DEBUG_SPEAR13XX 1102375d84cfSArnd Bergmann bool "Kernel low-level debugging messages via ST SPEAr 13xx UART" 1103375d84cfSArnd Bergmann depends on ARCH_SPEAR13XX 1104375d84cfSArnd Bergmann select DEBUG_UART_PL01X 1105375d84cfSArnd Bergmann help 1106375d84cfSArnd Bergmann Say Y here if you want kernel low-level debugging support 1107375d84cfSArnd Bergmann on ST SPEAr13xx based platforms. 1108375d84cfSArnd Bergmann 1109cce278d2SRussell King config STIH41X_DEBUG_ASC2 1110cce278d2SRussell King bool "Use StiH415/416 ASC2 UART for low-level debug" 11115562b800SArnd Bergmann depends on ARCH_STI 1112cce278d2SRussell King select DEBUG_STI_UART 11135562b800SArnd Bergmann help 11145562b800SArnd Bergmann Say Y here if you want kernel low-level debugging support 1115cce278d2SRussell King on STiH415/416 based platforms like b2000, which has 1116cce278d2SRussell King default UART wired up to ASC2. 1117cce278d2SRussell King 1118cce278d2SRussell King If unsure, say N. 1119cce278d2SRussell King 1120cce278d2SRussell King config STIH41X_DEBUG_SBC_ASC1 1121cce278d2SRussell King bool "Use StiH415/416 SBC ASC1 UART for low-level debug" 1122cce278d2SRussell King depends on ARCH_STI 1123cce278d2SRussell King select DEBUG_STI_UART 1124cce278d2SRussell King help 1125cce278d2SRussell King Say Y here if you want kernel low-level debugging support 1126cce278d2SRussell King on STiH415/416 based platforms like b2020. which has 1127cce278d2SRussell King default UART wired up to SBC ASC1. 11285562b800SArnd Bergmann 11295562b800SArnd Bergmann If unsure, say N. 11305562b800SArnd Bergmann 11311da177e4SLinus Torvalds config TEGRA_DEBUG_UART_AUTO_ODMDATA 11321da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART via ODMDATA" 11331da177e4SLinus Torvalds depends on ARCH_TEGRA 11341da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11351da177e4SLinus Torvalds help 11361da177e4SLinus Torvalds Automatically determines which UART to use for low-level 11371da177e4SLinus Torvalds debug based on the ODMDATA value. This value is part of 11381da177e4SLinus Torvalds the BCT, and is written to the boot memory device using 11391da177e4SLinus Torvalds nvflash, or other flashing tool. When bits 19:18 are 3, 11401da177e4SLinus Torvalds then bits 17:15 indicate which UART to use; 0/1/2/3/4 11411da177e4SLinus Torvalds are UART A/B/C/D/E. 11421da177e4SLinus Torvalds 11431da177e4SLinus Torvalds config TEGRA_DEBUG_UARTA 11441da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART A" 11451da177e4SLinus Torvalds depends on ARCH_TEGRA 11461da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11471da177e4SLinus Torvalds help 11481da177e4SLinus Torvalds Say Y here if you want kernel low-level debugging support 11491da177e4SLinus Torvalds on Tegra based platforms. 11501da177e4SLinus Torvalds 11511da177e4SLinus Torvalds config TEGRA_DEBUG_UARTB 11521da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART B" 11531da177e4SLinus Torvalds depends on ARCH_TEGRA 11541da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11551da177e4SLinus Torvalds help 11561da177e4SLinus Torvalds Say Y here if you want kernel low-level debugging support 11571da177e4SLinus Torvalds on Tegra based platforms. 11581da177e4SLinus Torvalds 11591da177e4SLinus Torvalds config TEGRA_DEBUG_UARTC 11601da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART C" 11611da177e4SLinus Torvalds depends on ARCH_TEGRA 11621da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11631da177e4SLinus Torvalds help 1164e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1165e76f4750SRussell King on Tegra based platforms. 1166e76f4750SRussell King 1167e76f4750SRussell King config TEGRA_DEBUG_UARTD 1168e76f4750SRussell King bool "Kernel low-level debugging messages via Tegra UART D" 1169e76f4750SRussell King depends on ARCH_TEGRA 1170e76f4750SRussell King select DEBUG_TEGRA_UART 1171e76f4750SRussell King help 1172e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1173e76f4750SRussell King on Tegra based platforms. 1174e76f4750SRussell King 1175e76f4750SRussell King config TEGRA_DEBUG_UARTE 1176e76f4750SRussell King bool "Kernel low-level debugging messages via Tegra UART E" 1177e76f4750SRussell King depends on ARCH_TEGRA 1178e76f4750SRussell King select DEBUG_TEGRA_UART 1179e76f4750SRussell King help 1180e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1181e76f4750SRussell King on Tegra based platforms. 1182e76f4750SRussell King 1183dd324da7SLinus Walleij config DEBUG_U300_UART 1184dd324da7SLinus Walleij bool "Kernel low-level debugging messages via U300 UART0" 1185dd324da7SLinus Walleij depends on ARCH_U300 11865c972af4SRussell King select DEBUG_UART_PL01X 1187dd324da7SLinus Walleij help 1188dd324da7SLinus Walleij Say Y here if you want the debug print routines to direct 1189dd324da7SLinus Walleij their output to the uart port on U300 devices. 1190dd324da7SLinus Walleij 1191f87b95ddSLinus Walleij config DEBUG_UX500_UART 1192f87b95ddSLinus Walleij depends on ARCH_U8500 1193f87b95ddSLinus Walleij bool "Use Ux500 UART for low-level debug" 1194f87b95ddSLinus Walleij help 1195f87b95ddSLinus Walleij Say Y here if you want kernel low-level debugging support 1196f87b95ddSLinus Walleij on Ux500 based platforms. 1197f87b95ddSLinus Walleij 11984db22c10SArnd Bergmann config DEBUG_VERSATILE 11994db22c10SArnd Bergmann bool "Kernel low-level debugging messages via ARM Versatile UART" 12004db22c10SArnd Bergmann depends on ARCH_VERSATILE 12014db22c10SArnd Bergmann select DEBUG_UART_PL01X 1202d6682085SMatthias Brugger help 1203d6682085SMatthias Brugger Say Y here if you want kernel low-level debugging support 12044db22c10SArnd Bergmann on ARM Versatile platforms. 120565ec48c0SJoe.C 12061b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_DETECT 12071b820eafSPawel Moll bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" 12081b820eafSPawel Moll depends on ARCH_VEXPRESS && CPU_CP15_MMU 12091b820eafSPawel Moll help 12101b820eafSPawel Moll This option enables a simple heuristic which tries to determine 12111b820eafSPawel Moll the motherboard's memory map variant (original or RS1) and then 12121b820eafSPawel Moll choose the relevant UART0 base address. 12131b820eafSPawel Moll 12141b820eafSPawel Moll Note that this will only work with standard A-class core tiles, 12151b820eafSPawel Moll and may fail with non-standard SMM or custom software models. 12161b820eafSPawel Moll 12171b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_CA9 12181b820eafSPawel Moll bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)" 12191b820eafSPawel Moll depends on ARCH_VEXPRESS 12205c972af4SRussell King select DEBUG_UART_PL01X 12211b820eafSPawel Moll help 12221b820eafSPawel Moll This option selects UART0 at 0x10009000. Except for custom models, 12231b820eafSPawel Moll this applies only to the V2P-CA9 tile. 12241b820eafSPawel Moll 12251b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_RS1 12261b820eafSPawel Moll bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)" 12271b820eafSPawel Moll depends on ARCH_VEXPRESS 12285c972af4SRussell King select DEBUG_UART_PL01X 12291b820eafSPawel Moll help 12301b820eafSPawel Moll This option selects UART0 at 0x1c090000. This applies to most 12311b820eafSPawel Moll of the tiles using the RS1 memory map, including all new A-class 12321b820eafSPawel Moll core tiles, FPGA-based SMMs and software models. 12331b820eafSPawel Moll 1234ed18bdc8SJonathan Austin config DEBUG_VEXPRESS_UART0_CRX 1235ed18bdc8SJonathan Austin bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)" 1236ed18bdc8SJonathan Austin depends on ARCH_VEXPRESS && !MMU 12375c972af4SRussell King select DEBUG_UART_PL01X 1238ed18bdc8SJonathan Austin help 1239ed18bdc8SJonathan Austin This option selects UART0 at 0xb0090000. This is appropriate for 1240ed18bdc8SJonathan Austin Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7 1241ed18bdc8SJonathan Austin 12421dc93416SArnd Bergmann config DEBUG_VF_UART 12431dc93416SArnd Bergmann bool "Vybrid UART" 12441dc93416SArnd Bergmann depends on SOC_VF610 12451dc93416SArnd Bergmann help 12461dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 12471dc93416SArnd Bergmann on Vybrid based platforms. 12481dc93416SArnd Bergmann 1249b61a2722STony Prisk config DEBUG_VT8500_UART0 1250b61a2722STony Prisk bool "Use UART0 on VIA/Wondermedia SoCs" 1251b61a2722STony Prisk depends on ARCH_VT8500 1252b61a2722STony Prisk help 1253b61a2722STony Prisk This option selects UART0 on VIA/Wondermedia System-on-a-chip 1254b61a2722STony Prisk devices, including VT8500, WM8505, WM8650 and WM8850. 1255b61a2722STony Prisk 12561dc93416SArnd Bergmann config DEBUG_ZTE_ZX 12571dc93416SArnd Bergmann bool "Use ZTE ZX UART" 12581dc93416SArnd Bergmann select DEBUG_UART_PL01X 12591dc93416SArnd Bergmann depends on ARCH_ZX 12601dc93416SArnd Bergmann help 12611dc93416SArnd Bergmann Say Y here if you are enabling ZTE ZX296702 SOC and need 12621dc93416SArnd Bergmann debug uart support. 12631dc93416SArnd Bergmann 12641dc93416SArnd Bergmann This option is preferred over the platform specific 12651dc93416SArnd Bergmann options; the platform specific options are deprecated 12661dc93416SArnd Bergmann and will be soon removed. 12671dc93416SArnd Bergmann 12681dc93416SArnd Bergmann config DEBUG_ZYNQ_UART0 12691dc93416SArnd Bergmann bool "Kernel low-level debugging on Xilinx Zynq using UART0" 12701dc93416SArnd Bergmann depends on ARCH_ZYNQ 12711dc93416SArnd Bergmann help 12721dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 12731dc93416SArnd Bergmann their output to UART0 on the Zynq platform. 12741dc93416SArnd Bergmann 12751dc93416SArnd Bergmann config DEBUG_ZYNQ_UART1 12761dc93416SArnd Bergmann bool "Kernel low-level debugging on Xilinx Zynq using UART1" 12771dc93416SArnd Bergmann depends on ARCH_ZYNQ 12781dc93416SArnd Bergmann help 12791dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 12801dc93416SArnd Bergmann their output to UART1 on the Zynq platform. 12811dc93416SArnd Bergmann 12821dc93416SArnd Bergmann If you have a ZC702 board and want early boot messages to 12831dc93416SArnd Bergmann appear on the USB serial adaptor, select this option. 12841dc93416SArnd Bergmann 1285e76f4750SRussell King config DEBUG_ICEDCC 1286e76f4750SRussell King bool "Kernel low-level debugging via EmbeddedICE DCC channel" 1287e76f4750SRussell King help 1288e76f4750SRussell King Say Y here if you want the debug print routines to direct 1289e76f4750SRussell King their output to the EmbeddedICE macrocell's DCC channel using 1290e76f4750SRussell King co-processor 14. This is known to work on the ARM9 style ICE 1291e76f4750SRussell King channel and on the XScale with the PEEDI. 1292e76f4750SRussell King 1293e76f4750SRussell King Note that the system will appear to hang during boot if there 1294e76f4750SRussell King is nothing connected to read from the DCC. 1295e76f4750SRussell King 1296b0df8986SRussell King config DEBUG_SEMIHOSTING 129762194bdaSStephen Boyd bool "Kernel low-level debug output via semihosting I/O" 1298b0df8986SRussell King help 1299b0df8986SRussell King Semihosting enables code running on an ARM target to use 1300b0df8986SRussell King the I/O facilities on a host debugger/emulator through a 130162194bdaSStephen Boyd simple SVC call. The host debugger or emulator must have 1302b0df8986SRussell King semihosting enabled for the special svc call to be trapped 1303b0df8986SRussell King otherwise the kernel will crash. 1304b0df8986SRussell King 1305b0df8986SRussell King This is known to work with OpenOCD, as well as 1306b0df8986SRussell King ARM's Fast Models, or any other controlling environment 1307b0df8986SRussell King that implements semihosting. 1308b0df8986SRussell King 1309b0df8986SRussell King For more details about semihosting, please see 1310b0df8986SRussell King chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd. 1311b0df8986SRussell King 1312f8f1279cSRussell King config DEBUG_LL_UART_8250 1313f8f1279cSRussell King bool "Kernel low-level debugging via 8250 UART" 1314f8f1279cSRussell King help 1315f8f1279cSRussell King Say Y here if you wish the debug print routes to direct 1316f8f1279cSRussell King their output to an 8250 UART. You can use this option 1317f8f1279cSRussell King to provide the parameters for the 8250 UART rather than 1318f8f1279cSRussell King selecting one of the platform specific options above if 1319f8f1279cSRussell King you know the parameters for the port. 1320f8f1279cSRussell King 1321f8f1279cSRussell King This option is preferred over the platform specific 1322f8f1279cSRussell King options; the platform specific options are deprecated 1323f8f1279cSRussell King and will be soon removed. 1324f8f1279cSRussell King 1325494e492dSUwe Kleine-König config DEBUG_LL_UART_EFM32 1326494e492dSUwe Kleine-König bool "Kernel low-level debugging via efm32 UART" 1327494e492dSUwe Kleine-König depends on ARCH_EFM32 1328494e492dSUwe Kleine-König help 1329494e492dSUwe Kleine-König Say Y here if you want the debug print routines to direct 1330494e492dSUwe Kleine-König their output to an UART or USART port on efm32 based 1331494e492dSUwe Kleine-König machines. Use the following addresses for DEBUG_UART_PHYS: 1332494e492dSUwe Kleine-König 1333494e492dSUwe Kleine-König 0x4000c000 | USART0 1334494e492dSUwe Kleine-König 0x4000c400 | USART1 1335494e492dSUwe Kleine-König 0x4000c800 | USART2 1336494e492dSUwe Kleine-König 0x4000e000 | UART0 1337494e492dSUwe Kleine-König 0x4000e400 | UART1 1338494e492dSUwe Kleine-König 1339f8f1279cSRussell King config DEBUG_LL_UART_PL01X 1340f8f1279cSRussell King bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART" 1341f8f1279cSRussell King help 1342f8f1279cSRussell King Say Y here if you wish the debug print routes to direct 1343f8f1279cSRussell King their output to a PL01x Primecell UART. You can use 1344f8f1279cSRussell King this option to provide the parameters for the UART 1345f8f1279cSRussell King rather than selecting one of the platform specific 1346f8f1279cSRussell King options above if you know the parameters for the port. 1347f8f1279cSRussell King 1348f8f1279cSRussell King This option is preferred over the platform specific 1349f8f1279cSRussell King options; the platform specific options are deprecated 1350f8f1279cSRussell King and will be soon removed. 1351f8f1279cSRussell King 13521da177e4SLinus Torvaldsendchoice 13531da177e4SLinus Torvalds 13548b2f2d03SAlexandre Belloniconfig DEBUG_AT91_UART 13558b2f2d03SAlexandre Belloni bool 13568b2f2d03SAlexandre Belloni depends on ARCH_AT91 13578b2f2d03SAlexandre Belloni 1358a2e40710SArnd Bergmannconfig DEBUG_EXYNOS_UART 1359a2e40710SArnd Bergmann bool 1360a2e40710SArnd Bergmann 1361daf67dfcSHeiko Stuebnerconfig DEBUG_S3C2410_UART 1362daf67dfcSHeiko Stuebner bool 13631899de28SHeiko Stuebner select DEBUG_S3C24XX_UART 13641899de28SHeiko Stuebner 13651899de28SHeiko Stuebnerconfig DEBUG_S3C24XX_UART 13661899de28SHeiko Stuebner bool 1367daf67dfcSHeiko Stuebner 1368bb08dea1SArnd Bergmannconfig DEBUG_S3C64XX_UART 1369bb08dea1SArnd Bergmann bool 1370bb08dea1SArnd Bergmann 13717bab7d9eSTomasz Figaconfig DEBUG_S5PV210_UART 13727bab7d9eSTomasz Figa bool 13737bab7d9eSTomasz Figa 1374cce278d2SRussell Kingconfig DEBUG_OMAP2PLUS_UART 1375cce278d2SRussell King bool 1376cce278d2SRussell King depends on ARCH_OMAP2PLUS 1377cce278d2SRussell King 1378f8c95fe6SShawn Guoconfig DEBUG_IMX_UART_PORT 1379f8c95fe6SShawn Guo int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ 1380f8c95fe6SShawn Guo DEBUG_IMX25_UART || \ 1381f8c95fe6SShawn Guo DEBUG_IMX21_IMX27_UART || \ 1382f8c95fe6SShawn Guo DEBUG_IMX31_UART || \ 1383f8c95fe6SShawn Guo DEBUG_IMX35_UART || \ 1384ad364a70SGreg Ungerer DEBUG_IMX50_UART || \ 1385f8c95fe6SShawn Guo DEBUG_IMX51_UART || \ 13860c52db7eSPaul Bolle DEBUG_IMX53_UART || \ 138734e8a16bSShawn Guo DEBUG_IMX6Q_UART || \ 138874368e81SShawn Guo DEBUG_IMX6SL_UART || \ 138952d7aec2SAnson Huang DEBUG_IMX6SX_UART || \ 139020c305f6SAnson Huang DEBUG_IMX6UL_UART || \ 139152d7aec2SAnson Huang DEBUG_IMX7D_UART 139249c9e60eSShawn Guo default 1 1393287939a3SShawn Guo depends on ARCH_MXC 139449c9e60eSShawn Guo help 139549c9e60eSShawn Guo Choose UART port on which kernel low-level debug messages 139649c9e60eSShawn Guo should be output. 139749c9e60eSShawn Guo 1398cfdb7d56SStefan Agnerconfig DEBUG_VF_UART_PORT 1399cfdb7d56SStefan Agner int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART 1400cfdb7d56SStefan Agner default 1 1401cfdb7d56SStefan Agner range 0 3 1402cfdb7d56SStefan Agner depends on SOC_VF610 1403cfdb7d56SStefan Agner help 1404cfdb7d56SStefan Agner Choose UART port on which kernel low-level debug messages 1405cfdb7d56SStefan Agner should be output. 1406cfdb7d56SStefan Agner 1407cce278d2SRussell Kingconfig DEBUG_TEGRA_UART 1408cce278d2SRussell King bool 1409cce278d2SRussell King depends on ARCH_TEGRA 1410808b7e07STony Lindgren 1411cce278d2SRussell Kingconfig DEBUG_STI_UART 1412cce278d2SRussell King bool 1413cce278d2SRussell King depends on ARCH_STI 14145026aecfSSrinivas Kandagatla 141501ea63d9SGuo Zengconfig DEBUG_SIRFSOC_UART 141601ea63d9SGuo Zeng bool 141701ea63d9SGuo Zeng depends on ARCH_SIRF 141801ea63d9SGuo Zeng 141991a9fec0SRob Herringconfig DEBUG_LL_INCLUDE 142091a9fec0SRob Herring string 1421e6131fa3SDmitry Eremin-Solenikov default "debug/sa1100.S" if DEBUG_SA1100 14220c532546SMans Rullgard default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP 1423f8f1279cSRussell King default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 142442dfd1e1SNicolas Ferre default "debug/at91.S" if DEBUG_AT91_UART 1425d5bd4e8dSOleksij Rempel default "debug/asm9260.S" if DEBUG_ASM9260_UART 1426dd99eef5SAlexander Shiyan default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 14270045c0ddSArnd Bergmann default "debug/dc21285.S" if DEBUG_DC21285_PORT 1428d8a00916SCarlo Caione default "debug/meson.S" if DEBUG_MESON_UARTAO 1429f8f1279cSRussell King default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X 1430a2e40710SArnd Bergmann default "debug/exynos.S" if DEBUG_EXYNOS_UART 1431494e492dSUwe Kleine-König default "debug/efm32.S" if DEBUG_LL_UART_EFM32 143291a9fec0SRob Herring default "debug/icedcc.S" if DEBUG_ICEDCC 14336dde5ac5SShawn Guo default "debug/imx.S" if DEBUG_IMX1_UART || \ 14346dde5ac5SShawn Guo DEBUG_IMX25_UART || \ 14356dde5ac5SShawn Guo DEBUG_IMX21_IMX27_UART || \ 14364ad625d4SShawn Guo DEBUG_IMX31_UART || \ 14374ad625d4SShawn Guo DEBUG_IMX35_UART || \ 1438ad364a70SGreg Ungerer DEBUG_IMX50_UART || \ 14396dde5ac5SShawn Guo DEBUG_IMX51_UART || \ 14407356420cSFabio Estevam DEBUG_IMX53_UART ||\ 144134e8a16bSShawn Guo DEBUG_IMX6Q_UART || \ 144274368e81SShawn Guo DEBUG_IMX6SL_UART || \ 144352d7aec2SAnson Huang DEBUG_IMX6SX_UART || \ 144420c305f6SAnson Huang DEBUG_IMX6UL_UART || \ 144552d7aec2SAnson Huang DEBUG_IMX7D_UART 1446abbfb21eSDaniel Thompson default "debug/ks8695.S" if DEBUG_KS8695_UART 1447c0c89fafSStephen Boyd default "debug/msm.S" if DEBUG_QCOM_UARTDM 14484d31e664SDaniel Thompson default "debug/netx.S" if DEBUG_NETX_UART 1449808b7e07STony Lindgren default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART 14507a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2 14517a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0 14527a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2 14537a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0 14547a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2 14557a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0 14567a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1 14577a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4 1458bb08dea1SArnd Bergmann default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART 14597bab7d9eSTomasz Figa default "debug/s5pv210.S" if DEBUG_S5PV210_UART 146001ea63d9SGuo Zeng default "debug/sirf.S" if DEBUG_SIRFSOC_UART 14615026aecfSSrinivas Kandagatla default "debug/sti.S" if DEBUG_STI_UART 1462150a8dcfSLinus Torvalds default "debug/tegra.S" if DEBUG_TEGRA_UART 1463150a8dcfSLinus Torvalds default "debug/ux500.S" if DEBUG_UX500_UART 14644e218b99SRussell King default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT 1465c7c3eac6SShawn Guo default "debug/vf.S" if DEBUG_VF_UART 1466b61a2722STony Prisk default "debug/vt8500.S" if DEBUG_VT8500_UART0 1467385f02b1SJosh Cartwright default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 14686c548099SArnd Bergmann default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART 1469e23814daSBaruch Siach default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0 1470d0cf9d8aSFlorian Fainelli default "debug/brcmstb.S" if DEBUG_BRCMSTB_UART 147191a9fec0SRob Herring default "mach/debug-macro.S" 147291a9fec0SRob Herring 1473f8f1279cSRussell King# Compatibility options for PL01x 14745c972af4SRussell Kingconfig DEBUG_UART_PL01X 1475a61cbf51SDaniel Thompson bool 14765c972af4SRussell King 1477f8f1279cSRussell King# Compatibility options for 8250 14787610b607SRussell Kingconfig DEBUG_UART_8250 14790045c0ddSArnd Bergmann def_bool ARCH_EBSA110 || \ 1480d7175a3bSArnd Bergmann ARCH_IOP13XX || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || \ 148159bd4c38SArnd Bergmann ARCH_RPC 14824a003647SRussell King 1483c3faa9b7SRussell Kingconfig DEBUG_UART_PHYS 1484c3faa9b7SRussell King hex "Physical base address of debug UART" 14854d31e664SDaniel Thompson default 0x00100a00 if DEBUG_NETX_UART 148697bd1a48SRussell King default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 1487c3faa9b7SRussell King default 0x01c28000 if DEBUG_SUNXI_UART0 1488c3faa9b7SRussell King default 0x01c28400 if DEBUG_SUNXI_UART1 148997bd1a48SRussell King default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1 149097bd1a48SRussell King default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2 1491c4718543SChen-Yu Tsai default 0x01f02800 if DEBUG_SUNXI_R_UART 1492f2acf003SRussell King default 0x02530c00 if DEBUG_KEYSTONE_UART0 1493f2acf003SRussell King default 0x02531000 if DEBUG_KEYSTONE_UART1 1494c3faa9b7SRussell King default 0x03010fe0 if ARCH_RPC 1495d4da889aSChen-Yu Tsai default 0x07000000 if DEBUG_SUN9I_UART0 149658d03985SJun Nie default 0x09405000 if DEBUG_ZTE_ZX 1497b125170aSKrzysztof Hałasa default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ 14985c972af4SRussell King DEBUG_VEXPRESS_UART0_CA9 14995c972af4SRussell King default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT 1500c3faa9b7SRussell King default 0x10124000 if DEBUG_RK3X_UART0 1501c3faa9b7SRussell King default 0x10126000 if DEBUG_RK3X_UART1 15024db22c10SArnd Bergmann default 0x101f1000 if DEBUG_VERSATILE 15035c972af4SRussell King default 0x101fb000 if DEBUG_NOMADIK_UART 1504a3b882f9SAndy Yan default 0x10210000 if DEBUG_RV1108_UART2 1505a3b882f9SAndy Yan default 0x10220000 if DEBUG_RV1108_UART1 1506a3b882f9SAndy Yan default 0x10230000 if DEBUG_RV1108_UART0 150765ec48c0SJoe.C default 0x11002000 if DEBUG_MT8127_UART0 1508d6682085SMatthias Brugger default 0x11006000 if DEBUG_MT6589_UART0 150965ec48c0SJoe.C default 0x11009000 if DEBUG_MT8135_UART3 15104db22c10SArnd Bergmann default 0x16000000 if DEBUG_INTEGRATOR 151106580275SHauke Mehrtens default 0x18000300 if DEBUG_BCM_5301X 151201ea63d9SGuo Zeng default 0x18010000 if DEBUG_SIRFATLAS7_UART0 151301ea63d9SGuo Zeng default 0x18020000 if DEBUG_SIRFATLAS7_UART1 15145c972af4SRussell King default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 151527dafaa8SWang Long default 0x20001000 if DEBUG_HIP01_UART 1516c3faa9b7SRussell King default 0x20060000 if DEBUG_RK29_UART0 1517c3faa9b7SRussell King default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 1518c3faa9b7SRussell King default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 15195c972af4SRussell King default 0x20201000 if DEBUG_BCM2835 15205234c34eSEric Anholt default 0x3f201000 if DEBUG_BCM2836 1521753d1243SChristian Daudt default 0x3e000000 if DEBUG_BCM_KONA_UART 1522494e492dSUwe Kleine-König default 0x4000e400 if DEBUG_LL_UART_EFM32 152363e07c0fSSzemző András default 0x40028000 if DEBUG_AT91_SAMV7_USART1 15240aed6a37SJoachim Eastwood default 0x40081000 if DEBUG_LPC18XX_UART0 152559bd4c38SArnd Bergmann default 0x40090000 if DEBUG_LPC32XX 1526c3faa9b7SRussell King default 0x40100000 if DEBUG_PXA_UART1 1527d7175a3bSArnd Bergmann default 0x42000000 if DEBUG_GEMINI 152851ef7003STony Lindgren default 0x44e09000 if DEBUG_AM33XXUART1 15292d1f7d2eSTony Lindgren default 0x48020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1 15302d1f7d2eSTony Lindgren default 0x48022000 if DEBUG_TI81XXUART2 15312d1f7d2eSTony Lindgren default 0x48024000 if DEBUG_TI81XXUART3 1532d2b310b0STony Lindgren default 0x4806a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \ 1533d2b310b0STony Lindgren DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1 1534d2b310b0STony Lindgren default 0x4806c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \ 1535d2b310b0STony Lindgren DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2 1536fc23beb8STony Lindgren default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4 1537fc23beb8STony Lindgren default 0x49020000 if DEBUG_OMAP3UART3 1538fc23beb8STony Lindgren default 0x49042000 if DEBUG_OMAP3UART4 15391899de28SHeiko Stuebner default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ 15401899de28SHeiko Stuebner DEBUG_S3C2410_UART0) 15411899de28SHeiko Stuebner default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ 15421899de28SHeiko Stuebner DEBUG_S3C2410_UART1) 15431899de28SHeiko Stuebner default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ 15441899de28SHeiko Stuebner DEBUG_S3C2410_UART2) 1545c3ca2130SKrzysztof Hałasa default 0x78000000 if DEBUG_CNS3XXX 15460045c0ddSArnd Bergmann default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1 1547bb08dea1SArnd Bergmann default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0 1548bb08dea1SArnd Bergmann default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1 1549bb08dea1SArnd Bergmann default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2 1550bb08dea1SArnd Bergmann default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3 1551d5bd4e8dSOleksij Rempel default 0x80010000 if DEBUG_ASM9260_UART 15525c972af4SRussell King default 0x80070000 if DEBUG_IMX23_UART 15535c972af4SRussell King default 0x80074000 if DEBUG_IMX28_UART 1554c39e1ef7SAlexander Shiyan default 0x80230000 if DEBUG_PICOXCELL_UART 1555f06455faSArnd Bergmann default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX 15565c972af4SRussell King default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART 155701ea63d9SGuo Zeng default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1 15585c972af4SRussell King default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX 15595c972af4SRussell King default 0xc0013000 if DEBUG_U300_UART 1560c3faa9b7SRussell King default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN 1561c3faa9b7SRussell King default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN 1562375d84cfSArnd Bergmann default 0xd0000000 if DEBUG_SPEAR3XX 1563d91125ddSMaxime Ripard default 0xd0012000 if DEBUG_MVEBU_UART0 1564d8a00916SCarlo Caione default 0xc81004c0 if DEBUG_MESON_UARTAO 1565c3faa9b7SRussell King default 0xd4017000 if DEBUG_MMP_UART2 1566c3faa9b7SRussell King default 0xd4018000 if DEBUG_MMP_UART3 1567375d84cfSArnd Bergmann default 0xe0000000 if DEBUG_SPEAR13XX 1568c9a1df48SHaojian Zhuang default 0xe4007000 if DEBUG_HIP04_UART 15697a2071c5SGeert Uytterhoeven default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0 15707a2071c5SGeert Uytterhoeven default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1 15717a2071c5SGeert Uytterhoeven default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4 15727a2071c5SGeert Uytterhoeven default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2 15737a2071c5SGeert Uytterhoeven default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0 15747a2071c5SGeert Uytterhoeven default 0xe8008000 if DEBUG_R7S72100_SCIF2 1575c3faa9b7SRussell King default 0xf0000be0 if ARCH_EBSA110 1576d91125ddSMaxime Ripard default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE 1577bd920490SMaxime Ripard default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE 1578caad0b41SSebastian Hesselbarth default 0xf7fc9000 if DEBUG_BERLIN_UART 15798b2f2d03SAlexandre Belloni default 0xf8020000 if DEBUG_AT91_SAMA5D2_UART1 158012aae309SHaifeng Yan default 0xf8b00000 if DEBUG_HIX5HD2_UART 15817098cff2SIvan T. Ivanov default 0xf991e000 if DEBUG_QCOM_UARTDM 15828b2f2d03SAlexandre Belloni default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3 15838d258bebSHaojian Zhuang default 0xfcb00000 if DEBUG_HI3620_UART 15843c215e64STsahee Zidenberg default 0xfd883000 if DEBUG_ALPINE_UART0 1585c3faa9b7SRussell King default 0xfe800000 if ARCH_IOP32X 1586efd02ee9SHeiko Stuebner default 0xff690000 if DEBUG_RK32_UART2 1587de73c162SDinh Nguyen default 0xffc02000 if DEBUG_SOCFPGA_UART0 1588de73c162SDinh Nguyen default 0xffc02100 if DEBUG_SOCFPGA_UART1 1589c3faa9b7SRussell King default 0xffd82340 if ARCH_IOP13XX 15907a2071c5SGeert Uytterhoeven default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0 15917a2071c5SGeert Uytterhoeven default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2 15925c972af4SRussell King default 0xfff36000 if DEBUG_HIGHBANK_UART 1593c26b9993SDaniel Thompson default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 1594c26b9993SDaniel Thompson default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 1595c26b9993SDaniel Thompson default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 15966c548099SArnd Bergmann default 0xfffe8600 if DEBUG_BCM63XX_UART 15978b2f2d03SAlexandre Belloni default 0xffffee00 if DEBUG_AT91_SAM9263_DBGU 15988b2f2d03SAlexandre Belloni default 0xfffff200 if DEBUG_AT91_RM9200_DBGU 1599c3faa9b7SRussell King default 0xfffff700 if ARCH_IOP33X 1600d02fde7fSDaniel Thompson depends on ARCH_EP93XX || \ 1601d02fde7fSDaniel Thompson DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1602494e492dSUwe Kleine-König DEBUG_LL_UART_EFM32 || \ 1603d8a00916SCarlo Caione DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ 1604c0c89fafSStephen Boyd DEBUG_NETX_UART || \ 16054d31e664SDaniel Thompson DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \ 16067a2071c5SGeert Uytterhoeven DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \ 16077a2071c5SGeert Uytterhoeven DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \ 16087a2071c5SGeert Uytterhoeven DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ 16097a2071c5SGeert Uytterhoeven DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ 1610bb08dea1SArnd Bergmann DEBUG_S3C64XX_UART || \ 16116c548099SArnd Bergmann DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ 16126f112a08SAlexandre Belloni DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ 16136f112a08SAlexandre Belloni DEBUG_AT91_UART 1614c3faa9b7SRussell King 1615c3faa9b7SRussell Kingconfig DEBUG_UART_VIRT 1616c3faa9b7SRussell King hex "Virtual base address of debug UART" 1617a3b882f9SAndy Yan default 0xc881f000 if DEBUG_RV1108_UART2 1618a3b882f9SAndy Yan default 0xc8821000 if DEBUG_RV1108_UART1 1619a3b882f9SAndy Yan default 0xc8912000 if DEBUG_RV1108_UART0 16204d31e664SDaniel Thompson default 0xe0000a00 if DEBUG_NETX_UART 1621c3faa9b7SRussell King default 0xe0010fe0 if ARCH_RPC 1622c3faa9b7SRussell King default 0xf0000be0 if ARCH_EBSA110 1623d5bd4e8dSOleksij Rempel default 0xf0010000 if DEBUG_ASM9260_UART 16245c972af4SRussell King default 0xf01fb000 if DEBUG_NOMADIK_UART 16255234c34eSEric Anholt default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836 162606580275SHauke Mehrtens default 0xf1000300 if DEBUG_BCM_5301X 162765ec48c0SJoe.C default 0xf1002000 if DEBUG_MT8127_UART0 1628d6682085SMatthias Brugger default 0xf1006000 if DEBUG_MT6589_UART0 162965ec48c0SJoe.C default 0xf1009000 if DEBUG_MT8135_UART3 16304db22c10SArnd Bergmann default 0xf11f1000 if DEBUG_VERSATILE 16314db22c10SArnd Bergmann default 0xf1600000 if DEBUG_INTEGRATOR 1632c3faa9b7SRussell King default 0xf1c28000 if DEBUG_SUNXI_UART0 1633c3faa9b7SRussell King default 0xf1c28400 if DEBUG_SUNXI_UART1 1634c4718543SChen-Yu Tsai default 0xf1f02800 if DEBUG_SUNXI_R_UART 16351dc93416SArnd Bergmann default 0xf31004c0 if DEBUG_MESON_UARTAO 163659bd4c38SArnd Bergmann default 0xf4090000 if DEBUG_LPC32XX 1637d7175a3bSArnd Bergmann default 0xf4200000 if DEBUG_GEMINI 1638cde7fc87SRobert Jarzmik default 0xf6200000 if DEBUG_PXA_UART1 1639d4da889aSChen-Yu Tsai default 0xf7000000 if DEBUG_SUN9I_UART0 1640bb08dea1SArnd Bergmann default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0 16411899de28SHeiko Stuebner default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ 16421899de28SHeiko Stuebner DEBUG_S3C2410_UART0) 1643bb08dea1SArnd Bergmann default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1 1644bb08dea1SArnd Bergmann default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2 1645bb08dea1SArnd Bergmann default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3 16461899de28SHeiko Stuebner default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ 16471899de28SHeiko Stuebner DEBUG_S3C2410_UART1) 16481899de28SHeiko Stuebner default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ 16491899de28SHeiko Stuebner DEBUG_S3C2410_UART2) 16508b2f2d03SAlexandre Belloni default 0xf7020000 if DEBUG_AT91_SAMA5D2_UART1 1651caad0b41SSebastian Hesselbarth default 0xf7fc9000 if DEBUG_BERLIN_UART 1652c9a1df48SHaojian Zhuang default 0xf8007000 if DEBUG_HIP04_UART 16535c972af4SRussell King default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 16545c972af4SRussell King default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 16558b2f2d03SAlexandre Belloni default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU 16568b2f2d03SAlexandre Belloni default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU 165751ef7003STony Lindgren default 0xf9e09000 if DEBUG_AM33XXUART1 16582d1f7d2eSTony Lindgren default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1 16592d1f7d2eSTony Lindgren default 0xfa022000 if DEBUG_TI81XXUART2 16602d1f7d2eSTony Lindgren default 0xfa024000 if DEBUG_TI81XXUART3 1661d2b310b0STony Lindgren default 0xfa06a000 if DEBUG_OMAP2UART1 || DEBUG_OMAP3UART1 || \ 1662d2b310b0STony Lindgren DEBUG_OMAP4UART1 || DEBUG_OMAP5UART1 1663d2b310b0STony Lindgren default 0xfa06c000 if DEBUG_OMAP2UART2 || DEBUG_OMAP3UART2 || \ 1664d2b310b0STony Lindgren DEBUG_OMAP4UART2 || DEBUG_OMAP5UART2 1665fc23beb8STony Lindgren default 0xfa06e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4 16667098cff2SIvan T. Ivanov default 0xfa71e000 if DEBUG_QCOM_UARTDM 1667b125170aSKrzysztof Hałasa default 0xfb002000 if DEBUG_CNS3XXX 16685c972af4SRussell King default 0xfb009000 if DEBUG_REALVIEW_STD_PORT 16698b2f2d03SAlexandre Belloni default 0xfb00c000 if DEBUG_AT91_SAMA5D4_USART3 1670fc23beb8STony Lindgren default 0xfb020000 if DEBUG_OMAP3UART3 1671fc23beb8STony Lindgren default 0xfb042000 if DEBUG_OMAP3UART4 16725c972af4SRussell King default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT 167358d03985SJun Nie default 0xfc705000 if DEBUG_ZTE_ZX 16746c548099SArnd Bergmann default 0xfcfe8600 if DEBUG_BCM63XX_UART 1675375d84cfSArnd Bergmann default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX 1676c047f529SArnd Bergmann default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0 16773c215e64STsahee Zidenberg default 0xfd883000 if DEBUG_ALPINE_UART0 1678c047f529SArnd Bergmann default 0xfde12000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_DOVE 1679c047f529SArnd Bergmann default 0xfe012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_ORION5X 1680c3faa9b7SRussell King default 0xfe017000 if DEBUG_MMP_UART2 1681c3faa9b7SRussell King default 0xfe018000 if DEBUG_MMP_UART3 16825c972af4SRussell King default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART 16830b4cccbeSRussell King default 0xfe230000 if DEBUG_PICOXCELL_UART 1684753d1243SChristian Daudt default 0xfe300000 if DEBUG_BCM_KONA_UART 1685c3faa9b7SRussell King default 0xfe800000 if ARCH_IOP32X 168612aae309SHaifeng Yan default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART 1687c3faa9b7SRussell King default 0xfeb24000 if DEBUG_RK3X_UART0 1688c3faa9b7SRussell King default 0xfeb26000 if DEBUG_RK3X_UART1 1689f2acf003SRussell King default 0xfeb30c00 if DEBUG_KEYSTONE_UART0 1690f2acf003SRussell King default 0xfeb31000 if DEBUG_KEYSTONE_UART1 1691de73c162SDinh Nguyen default 0xfec02000 if DEBUG_SOCFPGA_UART0 1692de73c162SDinh Nguyen default 0xfec02100 if DEBUG_SOCFPGA_UART1 1693c047f529SArnd Bergmann default 0xfec12000 if (DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE) && ARCH_MVEBU 1694bd920490SMaxime Ripard default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE 169501ea63d9SGuo Zeng default 0xfec10000 if DEBUG_SIRFATLAS7_UART0 169697bd1a48SRussell King default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 169701ea63d9SGuo Zeng default 0xfec20000 if DEBUG_SIRFATLAS7_UART1 169801ea63d9SGuo Zeng default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1 1699efd02ee9SHeiko Stuebner default 0xfec90000 if DEBUG_RK32_UART2 170097bd1a48SRussell King default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 170197bd1a48SRussell King default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 1702c39e1ef7SAlexander Shiyan default 0xfed60000 if DEBUG_RK29_UART0 1703c39e1ef7SAlexander Shiyan default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 1704c39e1ef7SAlexander Shiyan default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 1705f06455faSArnd Bergmann default 0xfedc0000 if DEBUG_EP93XX 17060045c0ddSArnd Bergmann default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1 17075c972af4SRussell King default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART 1708c3faa9b7SRussell King default 0xfee82340 if ARCH_IOP13XX 1709c3faa9b7SRussell King default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN 1710c3faa9b7SRussell King default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN 1711c39e1ef7SAlexander Shiyan default 0xfef36000 if DEBUG_HIGHBANK_UART 1712c26b9993SDaniel Thompson default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 1713c26b9993SDaniel Thompson default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 1714c26b9993SDaniel Thompson default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 1715c3faa9b7SRussell King default 0xfefff700 if ARCH_IOP33X 17165c972af4SRussell King default 0xff003000 if DEBUG_U300_UART 171727dafaa8SWang Long default 0xffd01000 if DEBUG_HIP01_UART 17185c972af4SRussell King default DEBUG_UART_PHYS if !MMU 1719f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1720d8a00916SCarlo Caione DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ 1721c0c89fafSStephen Boyd DEBUG_NETX_UART || \ 17224d31e664SDaniel Thompson DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ 1723bb08dea1SArnd Bergmann DEBUG_S3C64XX_UART || \ 17246c548099SArnd Bergmann DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ 17250b37e9e8SAlexandre Belloni DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ 17260b37e9e8SAlexandre Belloni DEBUG_AT91_UART 1727c3faa9b7SRussell King 17284a003647SRussell Kingconfig DEBUG_UART_8250_SHIFT 17294a003647SRussell King int "Register offset shift for the 8250 debug UART" 1730f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 17310045c0ddSArnd Bergmann default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \ 1732c26b9993SDaniel Thompson DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3 17334a003647SRussell King default 2 17347610b607SRussell King 17350b4cccbeSRussell Kingconfig DEBUG_UART_8250_WORD 17360b4cccbeSRussell King bool "Use 32-bit accesses for 8250 UART" 1737f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 17380b4cccbeSRussell King depends on DEBUG_UART_8250_SHIFT >= 2 1739cdd2e08bSArnd Bergmann default y if DEBUG_PICOXCELL_UART || \ 1740cdd2e08bSArnd Bergmann DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_UART1 || \ 1741cdd2e08bSArnd Bergmann DEBUG_KEYSTONE_UART0 || DEBUG_KEYSTONE_UART1 || \ 1742de73c162SDinh Nguyen DEBUG_ALPINE_UART0 || \ 174397bd1a48SRussell King DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ 17449d6eccb9SArnd Bergmann DEBUG_DAVINCI_DA8XX_UART2 || \ 1745d0cf9d8aSFlorian Fainelli DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 17460b4cccbeSRussell King 17470c532546SMans Rullgardconfig DEBUG_UART_8250_PALMCHIP 17480c532546SMans Rullgard bool "8250 UART is Palmchip BK-310x" 17490c532546SMans Rullgard depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 17500c532546SMans Rullgard help 17510c532546SMans Rullgard Palmchip provides a UART implementation compatible with 16550 17520c532546SMans Rullgard except for having a different register layout. Say Y here if 17530c532546SMans Rullgard the debug UART is of this type. 17540c532546SMans Rullgard 17557610b607SRussell Kingconfig DEBUG_UART_8250_FLOW_CONTROL 17567610b607SRussell King bool "Enable flow control for 8250 UART" 1757f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 17580045c0ddSArnd Bergmann default y if ARCH_EBSA110 || DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC 17597610b607SRussell King 17603b4af9bcSShawn Guoconfig DEBUG_UNCOMPRESS 17613b4af9bcSShawn Guo bool 17629c77bc43SStefan Agner depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M 1763b6992fa9SRussell King default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ 1764d0cf9d8aSFlorian Fainelli (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \ 1765d0cf9d8aSFlorian Fainelli !DEBUG_BRCMSTB_UART 1766b6992fa9SRussell King help 1767b6992fa9SRussell King This option influences the normal decompressor output for 1768b6992fa9SRussell King multiplatform kernels. Normally, multiplatform kernels disable 1769b6992fa9SRussell King decompressor output because it is not possible to know where to 1770b6992fa9SRussell King send the decompressor output. 1771b6992fa9SRussell King 1772b6992fa9SRussell King When this option is set, the selected DEBUG_LL output method 1773b6992fa9SRussell King will be re-used for normal decompressor output on multiplatform 1774b6992fa9SRussell King kernels. 1775b6992fa9SRussell King 17763b4af9bcSShawn Guo 1777615967b0SShawn Guoconfig UNCOMPRESS_INCLUDE 1778615967b0SShawn Guo string 1779ffd80eccSSachin Kamat default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ 178036d6c928SUlrich Hecht PLAT_SAMSUNG || ARM_SINGLE_ARMV7M 1781615967b0SShawn Guo default "mach/uncompress.h" 1782615967b0SShawn Guo 17831da177e4SLinus Torvaldsconfig EARLY_PRINTK 17841da177e4SLinus Torvalds bool "Early printk" 17851da177e4SLinus Torvalds depends on DEBUG_LL 17861da177e4SLinus Torvalds help 17871da177e4SLinus Torvalds Say Y here if you want to have an early console using the 17881da177e4SLinus Torvalds kernel low-level debugging functions. Add earlyprintk to your 17891da177e4SLinus Torvalds kernel parameters to enable this console. 17901da177e4SLinus Torvalds 17911da177e4SLinus Torvaldsconfig ARM_KPROBES_TEST 17921da177e4SLinus Torvalds tristate "Kprobes test module" 17931da177e4SLinus Torvalds depends on KPROBES && MODULES 17941da177e4SLinus Torvalds help 17951da177e4SLinus Torvalds Perform tests of kprobes API and instruction set simulation. 17961da177e4SLinus Torvalds 1797575320d6SWill Deaconconfig PID_IN_CONTEXTIDR 1798575320d6SWill Deacon bool "Write the current PID to the CONTEXTIDR register" 1799575320d6SWill Deacon depends on CPU_COPY_V6 1800575320d6SWill Deacon help 1801575320d6SWill Deacon Enabling this option causes the kernel to write the current PID to 1802575320d6SWill Deacon the PROCID field of the CONTEXTIDR register, at the expense of some 1803575320d6SWill Deacon additional instructions during context switch. Say Y here only if you 1804575320d6SWill Deacon are planning to use hardware trace tools with this kernel. 1805575320d6SWill Deacon 180601081f5aSMathieu Poiriersource "drivers/hwtracing/coresight/Kconfig" 1807bc4bf7feSPratik Patel 18081da177e4SLinus Torvaldsendmenu 1809