11da177e4SLinus Torvaldsmenu "Kernel hacking" 21da177e4SLinus Torvalds 31da177e4SLinus Torvaldssource "lib/Kconfig.debug" 41da177e4SLinus Torvalds 51fd15b87SRussell Kingconfig ARM_PTDUMP 61fd15b87SRussell King bool "Export kernel pagetable layout to userspace via debugfs" 71fd15b87SRussell King depends on DEBUG_KERNEL 865ba508dSArnd Bergmann depends on MMU 91fd15b87SRussell King select DEBUG_FS 101fd15b87SRussell King ---help--- 111fd15b87SRussell King Say Y here if you want to show the kernel pagetable layout in a 121fd15b87SRussell King debugfs file. This information is only useful for kernel developers 131fd15b87SRussell King who are working in architecture specific areas of the kernel. 141fd15b87SRussell King It is probably not a good idea to enable this feature in a production 151fd15b87SRussell King kernel. 161fd15b87SRussell King If in doubt, say "N" 171fd15b87SRussell King 18adf8b37bSCatalin Marinas# RMK wants arm kernels compiled with frame pointers or stack unwinding. 191da177e4SLinus Torvalds# If you know what you are doing and are willing to live without stack 201da177e4SLinus Torvalds# traces, you can get a slightly smaller kernel by setting this option to 211da177e4SLinus Torvalds# n, but then RMK will have to kill you ;). 221da177e4SLinus Torvaldsconfig FRAME_POINTER 231da177e4SLinus Torvalds bool 2416c79651SCatalin Marinas depends on !THUMB2_KERNEL 250e341af8SRabin Vincent default y if !ARM_UNWIND || FUNCTION_GRAPH_TRACER 261da177e4SLinus Torvalds help 271da177e4SLinus Torvalds If you say N here, the resulting kernel will be slightly smaller and 28adf8b37bSCatalin Marinas faster. However, if neither FRAME_POINTER nor ARM_UNWIND are enabled, 29adf8b37bSCatalin Marinas when a problem occurs with the kernel, the information that is 30adf8b37bSCatalin Marinas reported is severely limited. 31adf8b37bSCatalin Marinas 32adf8b37bSCatalin Marinasconfig ARM_UNWIND 334a50bfe3SRussell King bool "Enable stack unwinding support (EXPERIMENTAL)" 34d6f94fa0SKees Cook depends on AEABI 35adf8b37bSCatalin Marinas default y 36adf8b37bSCatalin Marinas help 37adf8b37bSCatalin Marinas This option enables stack unwinding support in the kernel 38adf8b37bSCatalin Marinas using the information automatically generated by the 39adf8b37bSCatalin Marinas compiler. The resulting kernel image is slightly bigger but 40adf8b37bSCatalin Marinas the performance is not affected. Currently, this feature 41adf8b37bSCatalin Marinas only works with EABI compilers. If unsure say Y. 421da177e4SLinus Torvalds 4309bfafacSRabin Vincentconfig OLD_MCOUNT 4409bfafacSRabin Vincent bool 4509bfafacSRabin Vincent depends on FUNCTION_TRACER && FRAME_POINTER 4609bfafacSRabin Vincent default y 4709bfafacSRabin Vincent 481da177e4SLinus Torvaldsconfig DEBUG_USER 491da177e4SLinus Torvalds bool "Verbose user fault messages" 501da177e4SLinus Torvalds help 511da177e4SLinus Torvalds When a user program crashes due to an exception, the kernel can 521da177e4SLinus Torvalds print a brief message explaining what the problem was. This is 531da177e4SLinus Torvalds sometimes helpful for debugging but serves no purpose on a 541da177e4SLinus Torvalds production system. Most people should say N here. 551da177e4SLinus Torvalds 561da177e4SLinus Torvalds In addition, you need to pass user_debug=N on the kernel command 571da177e4SLinus Torvalds line to enable this feature. N consists of the sum of: 581da177e4SLinus Torvalds 591da177e4SLinus Torvalds 1 - undefined instruction events 601da177e4SLinus Torvalds 2 - system calls 611da177e4SLinus Torvalds 4 - invalid data aborts 621da177e4SLinus Torvalds 8 - SIGSEGV faults 631da177e4SLinus Torvalds 16 - SIGBUS faults 641da177e4SLinus Torvalds 651da177e4SLinus Torvalds# These options are only for real kernel hackers who want to get their hands dirty. 661da177e4SLinus Torvaldsconfig DEBUG_LL 674f5ef922SWill Deacon bool "Kernel low-level debugging functions (read help!)" 681da177e4SLinus Torvalds depends on DEBUG_KERNEL 691da177e4SLinus Torvalds help 7035efb606SRussell King Say Y here to include definitions of printascii, printch, printhex 711da177e4SLinus Torvalds in the kernel. This is helpful if you are debugging code that 721da177e4SLinus Torvalds executes before the console is initialized. 731da177e4SLinus Torvalds 744f5ef922SWill Deacon Note that selecting this option will limit the kernel to a single 754f5ef922SWill Deacon UART definition, as specified below. Attempting to boot the kernel 764f5ef922SWill Deacon image on a different platform *will not work*, so this option should 774f5ef922SWill Deacon not be enabled for kernels that are intended to be portable. 784f5ef922SWill Deacon 7917916b28SWill Deaconchoice 8017916b28SWill Deacon prompt "Kernel low-level debugging port" 8117916b28SWill Deacon depends on DEBUG_LL 8217916b28SWill Deacon 833c215e64STsahee Zidenberg config DEBUG_ALPINE_UART0 843c215e64STsahee Zidenberg bool "Kernel low-level debugging messages via Alpine UART0" 853c215e64STsahee Zidenberg depends on ARCH_ALPINE 863c215e64STsahee Zidenberg select DEBUG_UART_8250 873c215e64STsahee Zidenberg help 883c215e64STsahee Zidenberg Say Y here if you want kernel low-level debugging support 893c215e64STsahee Zidenberg on Alpine based platforms. 903c215e64STsahee Zidenberg 91d5bd4e8dSOleksij Rempel config DEBUG_ASM9260_UART 92d5bd4e8dSOleksij Rempel bool "Kernel low-level debugging via asm9260 UART" 93d5bd4e8dSOleksij Rempel depends on MACH_ASM9260 94d5bd4e8dSOleksij Rempel help 95d5bd4e8dSOleksij Rempel Say Y here if you want the debug print routines to direct 96d5bd4e8dSOleksij Rempel their output to an UART or USART port on asm9260 based 97d5bd4e8dSOleksij Rempel machines. 98d5bd4e8dSOleksij Rempel 99d5bd4e8dSOleksij Rempel DEBUG_UART_PHYS | DEBUG_UART_VIRT 100d5bd4e8dSOleksij Rempel 101d5bd4e8dSOleksij Rempel 0x80000000 | 0xf0000000 | UART0 102d5bd4e8dSOleksij Rempel 0x80004000 | 0xf0004000 | UART1 103d5bd4e8dSOleksij Rempel 0x80008000 | 0xf0008000 | UART2 104d5bd4e8dSOleksij Rempel 0x8000c000 | 0xf000c000 | UART3 105d5bd4e8dSOleksij Rempel 0x80010000 | 0xf0010000 | UART4 106d5bd4e8dSOleksij Rempel 0x80014000 | 0xf0014000 | UART5 107d5bd4e8dSOleksij Rempel 0x80018000 | 0xf0018000 | UART6 108d5bd4e8dSOleksij Rempel 0x8001c000 | 0xf001c000 | UART7 109d5bd4e8dSOleksij Rempel 0x80020000 | 0xf0020000 | UART8 110d5bd4e8dSOleksij Rempel 0x80024000 | 0xf0024000 | UART9 111d5bd4e8dSOleksij Rempel 1126f112a08SAlexandre Belloni config DEBUG_AT91_UART 1136f112a08SAlexandre Belloni bool "Kernel low-level debugging on Atmel SoCs" 11442dfd1e1SNicolas Ferre depends on ARCH_AT91 1156f112a08SAlexandre Belloni help 1166f112a08SAlexandre Belloni Say Y here if you want the debug print routines to direct 1176f112a08SAlexandre Belloni their output to the serial port on atmel devices. 11813079a73SJean-Christophe PLAGNIOL-VILLARD 1196f112a08SAlexandre Belloni SOC DEBUG_UART_PHYS DEBUG_UART_VIRT PORT 1206f112a08SAlexandre Belloni rm9200, 9260/9g20, 0xfffff200 0xfefff200 DBGU 1216f112a08SAlexandre Belloni 9261/9g10, 9rl 1226f112a08SAlexandre Belloni 9263, 9g45, sama5d3 0xffffee00 0xfeffee00 DBGU 1236f112a08SAlexandre Belloni sama5d4 0xfc00c000 0xfb00c000 USART3 1246f112a08SAlexandre Belloni sama5d4 0xfc069000 0xfb069000 DBGU 1256f112a08SAlexandre Belloni sama5d2 0xf8020000 0xf7020000 UART1 12613079a73SJean-Christophe PLAGNIOL-VILLARD 1276f112a08SAlexandre Belloni Please adjust DEBUG_UART_PHYS configuration options based on 1286f112a08SAlexandre Belloni your needs. 129c268a743SNicolas Ferre 130f1ac922dSStephen Warren config DEBUG_BCM2835 131f1ac922dSStephen Warren bool "Kernel low-level debugging on BCM2835 PL011 UART" 1325234c34eSEric Anholt depends on ARCH_BCM2835 && ARCH_MULTI_V6 1335234c34eSEric Anholt select DEBUG_UART_PL01X 1345234c34eSEric Anholt 1355234c34eSEric Anholt config DEBUG_BCM2836 1365234c34eSEric Anholt bool "Kernel low-level debugging on BCM2836 PL011 UART" 1375234c34eSEric Anholt depends on ARCH_BCM2835 && ARCH_MULTI_V7 1385c972af4SRussell King select DEBUG_UART_PL01X 139f1ac922dSStephen Warren 14006580275SHauke Mehrtens config DEBUG_BCM_5301X 14106580275SHauke Mehrtens bool "Kernel low-level debugging on BCM5301X UART1" 14206580275SHauke Mehrtens depends on ARCH_BCM_5301X 143140bd603SHauke Mehrtens select DEBUG_UART_8250 14406580275SHauke Mehrtens 145753d1243SChristian Daudt config DEBUG_BCM_KONA_UART 146753d1243SChristian Daudt bool "Kernel low-level debugging messages via BCM KONA UART" 1477aa2077bSFlorian Fainelli depends on ARCH_BCM_MOBILE 148753d1243SChristian Daudt select DEBUG_UART_8250 149753d1243SChristian Daudt help 150753d1243SChristian Daudt Say Y here if you want kernel low-level debugging support 151753d1243SChristian Daudt on Broadcom SoC platforms. 152753d1243SChristian Daudt This low level debug works for Broadcom 153753d1243SChristian Daudt mobile SoCs in the Kona family of chips (e.g. bcm28155, 154753d1243SChristian Daudt bcm11351, etc...) 155753d1243SChristian Daudt 1566c548099SArnd Bergmann config DEBUG_BCM63XX_UART 157b51312beSFlorian Fainelli bool "Kernel low-level debugging on BCM63XX UART" 158b51312beSFlorian Fainelli depends on ARCH_BCM_63XX 159b51312beSFlorian Fainelli 160caad0b41SSebastian Hesselbarth config DEBUG_BERLIN_UART 161caad0b41SSebastian Hesselbarth bool "Marvell Berlin SoC Debug UART" 162caad0b41SSebastian Hesselbarth depends on ARCH_BERLIN 163caad0b41SSebastian Hesselbarth select DEBUG_UART_8250 164caad0b41SSebastian Hesselbarth help 165caad0b41SSebastian Hesselbarth Say Y here if you want kernel low-level debugging support 166caad0b41SSebastian Hesselbarth on Marvell Berlin SoC based platforms. 167caad0b41SSebastian Hesselbarth 16881b43a6eSMarc Carino config DEBUG_BRCMSTB_UART 16981b43a6eSMarc Carino bool "Use BRCMSTB UART for low-level debug" 17081b43a6eSMarc Carino depends on ARCH_BRCMSTB 17181b43a6eSMarc Carino select DEBUG_UART_8250 17281b43a6eSMarc Carino help 17381b43a6eSMarc Carino Say Y here if you want the debug print routines to direct 17481b43a6eSMarc Carino their output to the first serial port on these devices. 17581b43a6eSMarc Carino 17681b43a6eSMarc Carino If you have a Broadcom STB chip and would like early print 17781b43a6eSMarc Carino messages to appear over the UART, select this option. 17881b43a6eSMarc Carino 179164acf96SStephen Boyd config DEBUG_CLPS711X_UART1 180164acf96SStephen Boyd bool "Kernel low-level debugging messages via UART1" 181164acf96SStephen Boyd depends on ARCH_CLPS711X 182164acf96SStephen Boyd help 183164acf96SStephen Boyd Say Y here if you want the debug print routines to direct 184164acf96SStephen Boyd their output to the first serial port on these devices. 18517916b28SWill Deacon 18617916b28SWill Deacon config DEBUG_CLPS711X_UART2 18717916b28SWill Deacon bool "Kernel low-level debugging messages via UART2" 18817916b28SWill Deacon depends on ARCH_CLPS711X 18917916b28SWill Deacon help 19017916b28SWill Deacon Say Y here if you want the debug print routines to direct 19117916b28SWill Deacon their output to the second serial port on these devices. 19217916b28SWill Deacon 19329c9b7beSArnd Bergmann config DEBUG_CNS3XXX 19429c9b7beSArnd Bergmann bool "Kernel Kernel low-level debugging on Cavium Networks CNS3xxx" 19529c9b7beSArnd Bergmann depends on ARCH_CNS3XXX 196b125170aSKrzysztof Hałasa select DEBUG_UART_8250 19729c9b7beSArnd Bergmann help 19829c9b7beSArnd Bergmann Say Y here if you want the debug print routines to direct 19929c9b7beSArnd Bergmann their output to the CNS3xxx UART0. 20029c9b7beSArnd Bergmann 201477099f1SUwe Kleine-König config DEBUG_DAVINCI_DA8XX_UART1 202477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DA8XX using UART1" 203477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DA8XX 20497bd1a48SRussell King select DEBUG_UART_8250 205477099f1SUwe Kleine-König help 206477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 207477099f1SUwe Kleine-König their output to UART1 serial port on DaVinci DA8XX devices. 208477099f1SUwe Kleine-König 209477099f1SUwe Kleine-König config DEBUG_DAVINCI_DA8XX_UART2 210477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DA8XX using UART2" 211477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DA8XX 21297bd1a48SRussell King select DEBUG_UART_8250 213477099f1SUwe Kleine-König help 214477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 215477099f1SUwe Kleine-König their output to UART2 serial port on DaVinci DA8XX devices. 216477099f1SUwe Kleine-König 217477099f1SUwe Kleine-König config DEBUG_DAVINCI_DMx_UART0 218477099f1SUwe Kleine-König bool "Kernel low-level debugging on DaVinci DMx using UART0" 219477099f1SUwe Kleine-König depends on ARCH_DAVINCI_DMx 22097bd1a48SRussell King select DEBUG_UART_8250 221477099f1SUwe Kleine-König help 222477099f1SUwe Kleine-König Say Y here if you want the debug print routines to direct 223477099f1SUwe Kleine-König their output to UART0 serial port on DaVinci DMx devices. 224477099f1SUwe Kleine-König 225e76f4750SRussell King config DEBUG_DC21285_PORT 226e76f4750SRussell King bool "Kernel low-level debugging messages via footbridge serial port" 227e76f4750SRussell King depends on FOOTBRIDGE 228e76f4750SRussell King help 229e76f4750SRussell King Say Y here if you want the debug print routines to direct 230e76f4750SRussell King their output to the serial port in the DC21285 (Footbridge). 231e76f4750SRussell King 232e23814daSBaruch Siach config DEBUG_DIGICOLOR_UA0 233e23814daSBaruch Siach bool "Kernel low-level debugging messages via Digicolor UA0" 234e23814daSBaruch Siach depends on ARCH_DIGICOLOR 235e23814daSBaruch Siach help 236e23814daSBaruch Siach Say Y here if you want the debug print routines to direct 237e23814daSBaruch Siach their output to the UA0 serial port in the CX92755. 238e23814daSBaruch Siach 239f06455faSArnd Bergmann config DEBUG_EP93XX 240f06455faSArnd Bergmann bool "Kernel low-level debugging messages via ep93xx UART" 241f06455faSArnd Bergmann depends on ARCH_EP93XX 242f06455faSArnd Bergmann select DEBUG_UART_PL01X 243f06455faSArnd Bergmann help 244f06455faSArnd Bergmann Say Y here if you want kernel low-level debugging support 245f06455faSArnd Bergmann on Cirrus Logic EP93xx based platforms. 246f06455faSArnd Bergmann 247e76f4750SRussell King config DEBUG_FOOTBRIDGE_COM1 248e76f4750SRussell King bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1" 249e76f4750SRussell King depends on FOOTBRIDGE 2500045c0ddSArnd Bergmann select DEBUG_UART_8250 251e76f4750SRussell King help 252e76f4750SRussell King Say Y here if you want the debug print routines to direct 253e76f4750SRussell King their output to the 8250 at PCI COM1. 254e76f4750SRussell King 255d7175a3bSArnd Bergmann config DEBUG_GEMINI 256d7175a3bSArnd Bergmann bool "Kernel low-level debugging messages via Cortina Systems Gemini UART" 257d7175a3bSArnd Bergmann depends on ARCH_GEMINI 258d7175a3bSArnd Bergmann select DEBUG_UART_8250 259d7175a3bSArnd Bergmann help 260d7175a3bSArnd Bergmann Say Y here if you want kernel low-level debugging support 261d7175a3bSArnd Bergmann on Cortina Gemini based platforms. 262d7175a3bSArnd Bergmann 2638d258bebSHaojian Zhuang config DEBUG_HI3620_UART 2648d258bebSHaojian Zhuang bool "Hisilicon HI3620 Debug UART" 2658d258bebSHaojian Zhuang depends on ARCH_HI3xxx 2668d258bebSHaojian Zhuang select DEBUG_UART_PL01X 2678d258bebSHaojian Zhuang help 2688d258bebSHaojian Zhuang Say Y here if you want kernel low-level debugging support 2698d258bebSHaojian Zhuang on HI3620 UART. 2708d258bebSHaojian Zhuang 2718d258bebSHaojian Zhuang config DEBUG_HI3716_UART 2728d258bebSHaojian Zhuang bool "Hisilicon Hi3716 Debug UART" 2738d258bebSHaojian Zhuang depends on ARCH_HI3xxx 2748d258bebSHaojian Zhuang select DEBUG_UART_PL01X 2758d258bebSHaojian Zhuang help 2768d258bebSHaojian Zhuang Say Y here if you want kernel low-level debugging support 2778d258bebSHaojian Zhuang on HI3716 UART. 2788d258bebSHaojian Zhuang 279220e6cf7SRob Herring config DEBUG_HIGHBANK_UART 280220e6cf7SRob Herring bool "Kernel low-level debugging messages via Highbank UART" 281220e6cf7SRob Herring depends on ARCH_HIGHBANK 2825c972af4SRussell King select DEBUG_UART_PL01X 283220e6cf7SRob Herring help 284220e6cf7SRob Herring Say Y here if you want the debug print routines to direct 285220e6cf7SRob Herring their output to the UART on Highbank based devices. 286220e6cf7SRob Herring 28727dafaa8SWang Long config DEBUG_HIP01_UART 28827dafaa8SWang Long bool "Hisilicon Hip01 Debug UART" 28927dafaa8SWang Long depends on ARCH_HIP01 29027dafaa8SWang Long select DEBUG_UART_8250 29127dafaa8SWang Long help 29227dafaa8SWang Long Say Y here if you want kernel low-level debugging support 29327dafaa8SWang Long on HIP01 UART. 29427dafaa8SWang Long 295c9a1df48SHaojian Zhuang config DEBUG_HIP04_UART 296c9a1df48SHaojian Zhuang bool "Hisilicon HiP04 Debug UART" 297c9a1df48SHaojian Zhuang depends on ARCH_HIP04 298c9a1df48SHaojian Zhuang select DEBUG_UART_8250 299c9a1df48SHaojian Zhuang help 300c9a1df48SHaojian Zhuang Say Y here if you want kernel low-level debugging support 301c9a1df48SHaojian Zhuang on HIP04 UART. 302c9a1df48SHaojian Zhuang 30337bdaf82SOlof Johansson config DEBUG_HIX5HD2_UART 30437bdaf82SOlof Johansson bool "Hisilicon Hix5hd2 Debug UART" 30537bdaf82SOlof Johansson depends on ARCH_HIX5HD2 30693fd03a8SCatalin Marinas select DEBUG_UART_PL01X 30793fd03a8SCatalin Marinas help 30837bdaf82SOlof Johansson Say Y here if you want kernel low-level debugging support 30937bdaf82SOlof Johansson on Hix5hd2 UART. 3101da177e4SLinus Torvalds 311f350b861SShawn Guo config DEBUG_IMX1_UART 312f350b861SShawn Guo bool "i.MX1 Debug UART" 313f350b861SShawn Guo depends on SOC_IMX1 314f350b861SShawn Guo help 315f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 316f350b861SShawn Guo on i.MX1. 317f350b861SShawn Guo 318f350b861SShawn Guo config DEBUG_IMX23_UART 319f350b861SShawn Guo bool "i.MX23 Debug UART" 320f350b861SShawn Guo depends on SOC_IMX23 3215c972af4SRussell King select DEBUG_UART_PL01X 322f350b861SShawn Guo help 323f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 324f350b861SShawn Guo on i.MX23. 325f350b861SShawn Guo 326f350b861SShawn Guo config DEBUG_IMX25_UART 327f350b861SShawn Guo bool "i.MX25 Debug UART" 328f350b861SShawn Guo depends on SOC_IMX25 329f350b861SShawn Guo help 330f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 331f350b861SShawn Guo on i.MX25. 332f350b861SShawn Guo 333f350b861SShawn Guo config DEBUG_IMX21_IMX27_UART 334f350b861SShawn Guo bool "i.MX21 and i.MX27 Debug UART" 335f350b861SShawn Guo depends on SOC_IMX21 || SOC_IMX27 336f350b861SShawn Guo help 337f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 338f350b861SShawn Guo on i.MX21 or i.MX27. 339f350b861SShawn Guo 340f350b861SShawn Guo config DEBUG_IMX28_UART 341f350b861SShawn Guo bool "i.MX28 Debug UART" 342f350b861SShawn Guo depends on SOC_IMX28 3435c972af4SRussell King select DEBUG_UART_PL01X 344f350b861SShawn Guo help 345f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 346f350b861SShawn Guo on i.MX28. 347f350b861SShawn Guo 3484ad625d4SShawn Guo config DEBUG_IMX31_UART 3494ad625d4SShawn Guo bool "i.MX31 Debug UART" 3504ad625d4SShawn Guo depends on SOC_IMX31 351f350b861SShawn Guo help 352f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 3534ad625d4SShawn Guo on i.MX31. 3544ad625d4SShawn Guo 3554ad625d4SShawn Guo config DEBUG_IMX35_UART 3564ad625d4SShawn Guo bool "i.MX35 Debug UART" 3574ad625d4SShawn Guo depends on SOC_IMX35 3584ad625d4SShawn Guo help 3594ad625d4SShawn Guo Say Y here if you want kernel low-level debugging support 3604ad625d4SShawn Guo on i.MX35. 361f350b861SShawn Guo 362ad364a70SGreg Ungerer config DEBUG_IMX50_UART 363ad364a70SGreg Ungerer bool "i.MX50 Debug UART" 364ad364a70SGreg Ungerer depends on SOC_IMX50 365ad364a70SGreg Ungerer help 366ad364a70SGreg Ungerer Say Y here if you want kernel low-level debugging support 367ad364a70SGreg Ungerer on i.MX50. 368ad364a70SGreg Ungerer 369f350b861SShawn Guo config DEBUG_IMX51_UART 370f350b861SShawn Guo bool "i.MX51 Debug UART" 371f350b861SShawn Guo depends on SOC_IMX51 372f350b861SShawn Guo help 373f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 374f350b861SShawn Guo on i.MX51. 375f350b861SShawn Guo 3767356420cSFabio Estevam config DEBUG_IMX53_UART 3777356420cSFabio Estevam bool "i.MX53 Debug UART" 3787356420cSFabio Estevam depends on SOC_IMX53 379f350b861SShawn Guo help 380f350b861SShawn Guo Say Y here if you want kernel low-level debugging support 3817356420cSFabio Estevam on i.MX53. 382f350b861SShawn Guo 38349c9e60eSShawn Guo config DEBUG_IMX6Q_UART 3843c03a2feSShawn Guo bool "i.MX6Q/DL Debug UART" 385785d7fabSDirk Behme depends on SOC_IMX6Q 386785d7fabSDirk Behme help 387785d7fabSDirk Behme Say Y here if you want kernel low-level debugging support 3883c03a2feSShawn Guo on i.MX6Q/DL. 389bac89d75SShawn Guo 39034e8a16bSShawn Guo config DEBUG_IMX6SL_UART 39134e8a16bSShawn Guo bool "i.MX6SL Debug UART" 39234e8a16bSShawn Guo depends on SOC_IMX6SL 39334e8a16bSShawn Guo help 39434e8a16bSShawn Guo Say Y here if you want kernel low-level debugging support 39534e8a16bSShawn Guo on i.MX6SL. 39634e8a16bSShawn Guo 39774368e81SShawn Guo config DEBUG_IMX6SX_UART 39874368e81SShawn Guo bool "i.MX6SX Debug UART" 39974368e81SShawn Guo depends on SOC_IMX6SX 40074368e81SShawn Guo help 40174368e81SShawn Guo Say Y here if you want kernel low-level debugging support 40274368e81SShawn Guo on i.MX6SX. 40374368e81SShawn Guo 40420c305f6SAnson Huang config DEBUG_IMX6UL_UART 40520c305f6SAnson Huang bool "i.MX6UL Debug UART" 40620c305f6SAnson Huang depends on SOC_IMX6UL 40720c305f6SAnson Huang help 40820c305f6SAnson Huang Say Y here if you want kernel low-level debugging support 40920c305f6SAnson Huang on i.MX6UL. 41020c305f6SAnson Huang 41152d7aec2SAnson Huang config DEBUG_IMX7D_UART 41252d7aec2SAnson Huang bool "i.MX7D Debug UART" 41352d7aec2SAnson Huang depends on SOC_IMX7D 41452d7aec2SAnson Huang help 41552d7aec2SAnson Huang Say Y here if you want kernel low-level debugging support 41652d7aec2SAnson Huang on i.MX7D. 41752d7aec2SAnson Huang 4184db22c10SArnd Bergmann config DEBUG_INTEGRATOR 4194db22c10SArnd Bergmann bool "Kernel low-level debugging messages via ARM Integrator UART" 4204db22c10SArnd Bergmann depends on ARCH_INTEGRATOR 4214db22c10SArnd Bergmann select DEBUG_UART_PL01X 4224db22c10SArnd Bergmann help 4234db22c10SArnd Bergmann Say Y here if you want kernel low-level debugging support 4244db22c10SArnd Bergmann on ARM Integrator platforms. 4254db22c10SArnd Bergmann 426828989adSSantosh Shilimkar config DEBUG_KEYSTONE_UART0 427828989adSSantosh Shilimkar bool "Kernel low-level debugging on KEYSTONE2 using UART0" 428828989adSSantosh Shilimkar depends on ARCH_KEYSTONE 429f2acf003SRussell King select DEBUG_UART_8250 430828989adSSantosh Shilimkar help 431828989adSSantosh Shilimkar Say Y here if you want the debug print routines to direct 432828989adSSantosh Shilimkar their output to UART0 serial port on KEYSTONE2 devices. 433828989adSSantosh Shilimkar 434828989adSSantosh Shilimkar config DEBUG_KEYSTONE_UART1 435828989adSSantosh Shilimkar bool "Kernel low-level debugging on KEYSTONE2 using UART1" 436828989adSSantosh Shilimkar depends on ARCH_KEYSTONE 437f2acf003SRussell King select DEBUG_UART_8250 438828989adSSantosh Shilimkar help 439828989adSSantosh Shilimkar Say Y here if you want the debug print routines to direct 440828989adSSantosh Shilimkar their output to UART1 serial port on KEYSTONE2 devices. 441828989adSSantosh Shilimkar 442abbfb21eSDaniel Thompson config DEBUG_KS8695_UART 443abbfb21eSDaniel Thompson bool "KS8695 Debug UART" 444abbfb21eSDaniel Thompson depends on ARCH_KS8695 445abbfb21eSDaniel Thompson help 446abbfb21eSDaniel Thompson Say Y here if you want kernel low-level debugging support 447abbfb21eSDaniel Thompson on KS8695. 448abbfb21eSDaniel Thompson 4490aed6a37SJoachim Eastwood config DEBUG_LPC18XX_UART0 4500aed6a37SJoachim Eastwood bool "Kernel low-level debugging via LPC18xx/43xx UART0" 4510aed6a37SJoachim Eastwood depends on ARCH_LPC18XX 4520aed6a37SJoachim Eastwood select DEBUG_UART_8250 4530aed6a37SJoachim Eastwood help 4540aed6a37SJoachim Eastwood Say Y here if you want kernel low-level debugging support 4550aed6a37SJoachim Eastwood on NXP LPC18xx/43xx UART0. 4560aed6a37SJoachim Eastwood 45759bd4c38SArnd Bergmann config DEBUG_LPC32XX 45859bd4c38SArnd Bergmann bool "Kernel low-level debugging messages via NXP LPC32xx UART" 45959bd4c38SArnd Bergmann depends on ARCH_LPC32XX 46059bd4c38SArnd Bergmann select DEBUG_UART_8250 46159bd4c38SArnd Bergmann help 46259bd4c38SArnd Bergmann Say Y here if you want kernel low-level debugging support 46359bd4c38SArnd Bergmann on NXP LPC32xx based platforms. 46459bd4c38SArnd Bergmann 465d8a00916SCarlo Caione config DEBUG_MESON_UARTAO 466d8a00916SCarlo Caione bool "Kernel low-level debugging via Meson6 UARTAO" 467d8a00916SCarlo Caione depends on ARCH_MESON 468d8a00916SCarlo Caione help 469d8a00916SCarlo Caione Say Y here if you want kernel low-lever debugging support 470d8a00916SCarlo Caione on Amlogic Meson6 based platforms on the UARTAO. 471d8a00916SCarlo Caione 472fa4cd2a8SHaojian Zhuang config DEBUG_MMP_UART2 473fa4cd2a8SHaojian Zhuang bool "Kernel low-level debugging message via MMP UART2" 474fa4cd2a8SHaojian Zhuang depends on ARCH_MMP 4754a003647SRussell King select DEBUG_UART_8250 476fa4cd2a8SHaojian Zhuang help 477fa4cd2a8SHaojian Zhuang Say Y here if you want kernel low-level debugging support 478fa4cd2a8SHaojian Zhuang on MMP UART2. 479fa4cd2a8SHaojian Zhuang 480fa4cd2a8SHaojian Zhuang config DEBUG_MMP_UART3 481fa4cd2a8SHaojian Zhuang bool "Kernel low-level debugging message via MMP UART3" 482fa4cd2a8SHaojian Zhuang depends on ARCH_MMP 4834a003647SRussell King select DEBUG_UART_8250 484fa4cd2a8SHaojian Zhuang help 485fa4cd2a8SHaojian Zhuang Say Y here if you want kernel low-level debugging support 486fa4cd2a8SHaojian Zhuang on MMP UART3. 487fa4cd2a8SHaojian Zhuang 488d91125ddSMaxime Ripard config DEBUG_MVEBU_UART0 489d91125ddSMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)" 490bfd5af99SRob Herring depends on ARCH_MVEBU 491c047f529SArnd Bergmann depends on ARCH_MVEBU && CPU_V7 4924a003647SRussell King select DEBUG_UART_8250 493bfd5af99SRob Herring help 494bfd5af99SRob Herring Say Y here if you want kernel low-level debugging support 495d91125ddSMaxime Ripard on MVEBU based platforms on UART0. 496bfd5af99SRob Herring 497c2804cd6SThomas Petazzoni This option should be used with the old bootloaders 498c2804cd6SThomas Petazzoni that left the internal registers mapped at 499c2804cd6SThomas Petazzoni 0xd0000000. As of today, this is the case on 500c2804cd6SThomas Petazzoni platforms such as the Globalscale Mirabox or the 501c2804cd6SThomas Petazzoni Plathome OpenBlocks AX3, when using the original 502c2804cd6SThomas Petazzoni bootloader. 503c2804cd6SThomas Petazzoni 504c047f529SArnd Bergmann This option will not work on older Marvell platforms 505c047f529SArnd Bergmann (Kirkwood, Dove, MV78xx0, Orion5x), which should pick 506c047f529SArnd Bergmann the "new bootloader" variant. 507c047f529SArnd Bergmann 508c2804cd6SThomas Petazzoni If the wrong DEBUG_MVEBU_UART* option is selected, 509c2804cd6SThomas Petazzoni when u-boot hands over to the kernel, the system 510c2804cd6SThomas Petazzoni silently crashes, with no serial output at all. 511c2804cd6SThomas Petazzoni 512d91125ddSMaxime Ripard config DEBUG_MVEBU_UART0_ALTERNATE 513d91125ddSMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)" 514c047f529SArnd Bergmann depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X 5154a003647SRussell King select DEBUG_UART_8250 516c2804cd6SThomas Petazzoni help 517c2804cd6SThomas Petazzoni Say Y here if you want kernel low-level debugging support 518c047f529SArnd Bergmann on MVEBU based platforms on UART0. (Armada XP, Armada 3xx, 519c047f529SArnd Bergmann Kirkwood, Dove, MV78xx0, Orion5x). 520c047f529SArnd Bergmann 521c2804cd6SThomas Petazzoni 522c2804cd6SThomas Petazzoni This option should be used with the new bootloaders 523c2804cd6SThomas Petazzoni that remap the internal registers at 0xf1000000. 524c2804cd6SThomas Petazzoni 525c2804cd6SThomas Petazzoni If the wrong DEBUG_MVEBU_UART* option is selected, 526c2804cd6SThomas Petazzoni when u-boot hands over to the kernel, the system 527c2804cd6SThomas Petazzoni silently crashes, with no serial output at all. 528c2804cd6SThomas Petazzoni 529bd920490SMaxime Ripard config DEBUG_MVEBU_UART1_ALTERNATE 530bd920490SMaxime Ripard bool "Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)" 531bd920490SMaxime Ripard depends on ARCH_MVEBU 532bd920490SMaxime Ripard select DEBUG_UART_8250 533bd920490SMaxime Ripard help 534bd920490SMaxime Ripard Say Y here if you want kernel low-level debugging support 535c047f529SArnd Bergmann on MVEBU based platforms on UART1. (Armada XP, Armada 3xx, 536c047f529SArnd Bergmann Kirkwood, Dove, MV78xx0, Orion5x). 537a3d3ef9dSStephen Boyd 5381da177e4SLinus Torvalds This option should be used with the new bootloaders 5391da177e4SLinus Torvalds that remap the internal registers at 0xf1000000. 540c047f529SArnd Bergmann All of the older (pre Armada XP/370) platforms also use 541c047f529SArnd Bergmann this address, regardless of the boot loader version. 5421da177e4SLinus Torvalds 5431da177e4SLinus Torvalds If the wrong DEBUG_MVEBU_UART* option is selected, 5441da177e4SLinus Torvalds when u-boot hands over to the kernel, the system 5451da177e4SLinus Torvalds silently crashes, with no serial output at all. 5461da177e4SLinus Torvalds 5471dc93416SArnd Bergmann config DEBUG_MT6589_UART0 5481dc93416SArnd Bergmann bool "Mediatek mt6589 UART0" 5491dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5501dc93416SArnd Bergmann select DEBUG_UART_8250 551c7c3eac6SShawn Guo help 552c7c3eac6SShawn Guo Say Y here if you want kernel low-level debugging support 5531dc93416SArnd Bergmann for Mediatek mt6589 based platforms on UART0. 5541dc93416SArnd Bergmann 5551dc93416SArnd Bergmann config DEBUG_MT8127_UART0 5561dc93416SArnd Bergmann bool "Mediatek mt8127/mt6592 UART0" 5571dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5581dc93416SArnd Bergmann select DEBUG_UART_8250 5591dc93416SArnd Bergmann help 5601dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 5611dc93416SArnd Bergmann for Mediatek mt8127 based platforms on UART0. 5621dc93416SArnd Bergmann 5631dc93416SArnd Bergmann config DEBUG_MT8135_UART3 5641dc93416SArnd Bergmann bool "Mediatek mt8135 UART3" 5651dc93416SArnd Bergmann depends on ARCH_MEDIATEK 5661dc93416SArnd Bergmann select DEBUG_UART_8250 5671dc93416SArnd Bergmann help 5681dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 5691dc93416SArnd Bergmann for Mediatek mt8135 based platforms on UART3. 570c7c3eac6SShawn Guo 5714d31e664SDaniel Thompson config DEBUG_NETX_UART 5724d31e664SDaniel Thompson bool "Kernel low-level debugging messages via NetX UART" 5734d31e664SDaniel Thompson depends on ARCH_NETX 5744d31e664SDaniel Thompson help 5754d31e664SDaniel Thompson Say Y here if you want kernel low-level debugging support 5764d31e664SDaniel Thompson on Hilscher NetX based platforms. 5774d31e664SDaniel Thompson 578266c3479SLinus Walleij config DEBUG_NOMADIK_UART 579266c3479SLinus Walleij bool "Kernel low-level debugging messages via NOMADIK UART" 580266c3479SLinus Walleij depends on ARCH_NOMADIK 5815c972af4SRussell King select DEBUG_UART_PL01X 582266c3479SLinus Walleij help 583266c3479SLinus Walleij Say Y here if you want kernel low-level debugging support 584266c3479SLinus Walleij on NOMADIK based platforms. 585266c3479SLinus Walleij 5869851ca57SDaniel Tang config DEBUG_NSPIRE_CLASSIC_UART 5879851ca57SDaniel Tang bool "Kernel low-level debugging via TI-NSPIRE 8250 UART" 5889851ca57SDaniel Tang depends on ARCH_NSPIRE 5894a003647SRussell King select DEBUG_UART_8250 5909851ca57SDaniel Tang help 5919851ca57SDaniel Tang Say Y here if you want kernel low-level debugging support 5929851ca57SDaniel Tang on TI-NSPIRE classic models. 5939851ca57SDaniel Tang 5949851ca57SDaniel Tang config DEBUG_NSPIRE_CX_UART 5959851ca57SDaniel Tang bool "Kernel low-level debugging via TI-NSPIRE PL011 UART" 5969851ca57SDaniel Tang depends on ARCH_NSPIRE 5975c972af4SRussell King select DEBUG_UART_PL01X 5989851ca57SDaniel Tang help 5999851ca57SDaniel Tang Say Y here if you want kernel low-level debugging support 6009851ca57SDaniel Tang on TI-NSPIRE CX models. 6019851ca57SDaniel Tang 602c26b9993SDaniel Thompson config DEBUG_OMAP1UART1 603c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART1" 604c26b9993SDaniel Thompson depends on ARCH_OMAP1 605c26b9993SDaniel Thompson select DEBUG_UART_8250 606c26b9993SDaniel Thompson help 607c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 608c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART1. 609c26b9993SDaniel Thompson 610c26b9993SDaniel Thompson config DEBUG_OMAP1UART2 611c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART2" 612c26b9993SDaniel Thompson depends on ARCH_OMAP1 613c26b9993SDaniel Thompson select DEBUG_UART_8250 614c26b9993SDaniel Thompson help 615c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 616c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART2. 617c26b9993SDaniel Thompson 618c26b9993SDaniel Thompson config DEBUG_OMAP1UART3 619c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP1 UART3" 620c26b9993SDaniel Thompson depends on ARCH_OMAP1 621c26b9993SDaniel Thompson select DEBUG_UART_8250 622c26b9993SDaniel Thompson help 623c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 624c26b9993SDaniel Thompson on OMAP1 based platforms (except OMAP730) on the UART3. 625c26b9993SDaniel Thompson 626cce278d2SRussell King config DEBUG_OMAP2UART1 627cce278d2SRussell King bool "OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)" 628808b7e07STony Lindgren depends on ARCH_OMAP2PLUS 629cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 630808b7e07STony Lindgren help 631cce278d2SRussell King This covers at least h4, 2430sdp, 3430sdp, 3630sdp, 632cce278d2SRussell King omap3 torpedo and 3530 lv som. 633cce278d2SRussell King 634cce278d2SRussell King config DEBUG_OMAP2UART2 635cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP2/3/4 UART2" 636cce278d2SRussell King depends on ARCH_OMAP2PLUS 637cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 638cce278d2SRussell King 639cce278d2SRussell King config DEBUG_OMAP2UART3 640cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP2 UART3 (n8x0)" 641cce278d2SRussell King depends on ARCH_OMAP2PLUS 642cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 643cce278d2SRussell King 644cce278d2SRussell King config DEBUG_OMAP3UART3 645cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)" 646cce278d2SRussell King depends on ARCH_OMAP2PLUS 647cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 648cce278d2SRussell King help 649cce278d2SRussell King This covers at least cm_t3x, beagle, crane, devkit8000, 650cce278d2SRussell King igep00x0, ldp, n900, n9(50), pandora, overo, touchbook, 651cce278d2SRussell King and 3517evm. 652cce278d2SRussell King 653cce278d2SRussell King config DEBUG_OMAP4UART3 654cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)" 655cce278d2SRussell King depends on ARCH_OMAP2PLUS 656cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 657cce278d2SRussell King 658cce278d2SRussell King config DEBUG_OMAP3UART4 659cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP36XX UART4" 660cce278d2SRussell King depends on ARCH_OMAP2PLUS 661cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 662cce278d2SRussell King 663cce278d2SRussell King config DEBUG_OMAP4UART4 664cce278d2SRussell King bool "Kernel low-level debugging messages via OMAP4/5 UART4" 665cce278d2SRussell King depends on ARCH_OMAP2PLUS 666cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 667cce278d2SRussell King 668c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART1 669c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART1" 670c26b9993SDaniel Thompson depends on ARCH_OMAP730 671c26b9993SDaniel Thompson select DEBUG_UART_8250 672c26b9993SDaniel Thompson help 673c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 674c26b9993SDaniel Thompson on OMAP730 based platforms on the UART1. 675c26b9993SDaniel Thompson 676c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART2 677c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART2" 678c26b9993SDaniel Thompson depends on ARCH_OMAP730 679c26b9993SDaniel Thompson select DEBUG_UART_8250 680c26b9993SDaniel Thompson help 681c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 682c26b9993SDaniel Thompson on OMAP730 based platforms on the UART2. 683c26b9993SDaniel Thompson 684c26b9993SDaniel Thompson config DEBUG_OMAP7XXUART3 685c26b9993SDaniel Thompson bool "Kernel low-level debugging via OMAP730 UART3" 686c26b9993SDaniel Thompson depends on ARCH_OMAP730 687c26b9993SDaniel Thompson select DEBUG_UART_8250 688c26b9993SDaniel Thompson help 689c26b9993SDaniel Thompson Say Y here if you want kernel low-level debugging support 690c26b9993SDaniel Thompson on OMAP730 based platforms on the UART3. 691c26b9993SDaniel Thompson 692cce278d2SRussell King config DEBUG_TI81XXUART1 693cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART1 (ti8148evm)" 694cce278d2SRussell King depends on ARCH_OMAP2PLUS 695cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 696cce278d2SRussell King 697cce278d2SRussell King config DEBUG_TI81XXUART2 698cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART2" 699cce278d2SRussell King depends on ARCH_OMAP2PLUS 700cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 701cce278d2SRussell King 702cce278d2SRussell King config DEBUG_TI81XXUART3 703cce278d2SRussell King bool "Kernel low-level debugging messages via TI81XX UART3 (ti8168evm)" 704cce278d2SRussell King depends on ARCH_OMAP2PLUS 705cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 706cce278d2SRussell King 707cce278d2SRussell King config DEBUG_AM33XXUART1 708cce278d2SRussell King bool "Kernel low-level debugging messages via AM33XX UART1" 709cce278d2SRussell King depends on ARCH_OMAP2PLUS 710cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 711cce278d2SRussell King 712cce278d2SRussell King config DEBUG_ZOOM_UART 713cce278d2SRussell King bool "Kernel low-level debugging messages via Zoom2/3 UART" 714cce278d2SRussell King depends on ARCH_OMAP2PLUS 715cce278d2SRussell King select DEBUG_OMAP2PLUS_UART 716808b7e07STony Lindgren 71759bba2a9SRob Herring config DEBUG_PICOXCELL_UART 71859bba2a9SRob Herring depends on ARCH_PICOXCELL 71959bba2a9SRob Herring bool "Use PicoXcell UART for low-level debug" 7200b4cccbeSRussell King select DEBUG_UART_8250 72159bba2a9SRob Herring help 72259bba2a9SRob Herring Say Y here if you want kernel low-level debugging support 72359bba2a9SRob Herring on PicoXcell based platforms. 72459bba2a9SRob Herring 7250a43cd3bSHaojian Zhuang config DEBUG_PXA_UART1 7260a43cd3bSHaojian Zhuang depends on ARCH_PXA 7270a43cd3bSHaojian Zhuang bool "Use PXA UART1 for low-level debug" 7284a003647SRussell King select DEBUG_UART_8250 7290a43cd3bSHaojian Zhuang help 7300a43cd3bSHaojian Zhuang Say Y here if you want kernel low-level debugging support 7310a43cd3bSHaojian Zhuang on PXA UART1. 7320a43cd3bSHaojian Zhuang 7331dc93416SArnd Bergmann config DEBUG_QCOM_UARTDM 7341dc93416SArnd Bergmann bool "Kernel low-level debugging messages via QCOM UARTDM" 7351dc93416SArnd Bergmann depends on ARCH_QCOM 7361dc93416SArnd Bergmann help 7371dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 7381dc93416SArnd Bergmann their output to the serial port on Qualcomm devices. 7391dc93416SArnd Bergmann 7401dc93416SArnd Bergmann ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT 7411dc93416SArnd Bergmann APQ8064 0x16640000 0xf0040000 7421dc93416SArnd Bergmann APQ8084 0xf995e000 0xfa75e000 7431dc93416SArnd Bergmann MSM8X60 0x19c40000 0xf0040000 7441dc93416SArnd Bergmann MSM8960 0x16440000 0xf0040000 7451dc93416SArnd Bergmann MSM8974 0xf991e000 0xfa71e000 7461dc93416SArnd Bergmann 7471dc93416SArnd Bergmann Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration 7481dc93416SArnd Bergmann options based on your needs. 7491dc93416SArnd Bergmann 750e76f4750SRussell King config DEBUG_REALVIEW_STD_PORT 751e76f4750SRussell King bool "RealView Default UART" 752e76f4750SRussell King depends on ARCH_REALVIEW 7535c972af4SRussell King select DEBUG_UART_PL01X 754e76f4750SRussell King help 755e76f4750SRussell King Say Y here if you want the debug print routines to direct 756e76f4750SRussell King their output to the serial port on RealView EB, PB11MP, PBA8 757e76f4750SRussell King and PBX platforms. 758e76f4750SRussell King 759e76f4750SRussell King config DEBUG_REALVIEW_PB1176_PORT 760e76f4750SRussell King bool "RealView PB1176 UART" 761e76f4750SRussell King depends on MACH_REALVIEW_PB1176 7625c972af4SRussell King select DEBUG_UART_PL01X 763e76f4750SRussell King help 764e76f4750SRussell King Say Y here if you want the debug print routines to direct 765e76f4750SRussell King their output to the standard serial port on the RealView 766e76f4750SRussell King PB1176 platform. 767e76f4750SRussell King 768cce278d2SRussell King config DEBUG_RK29_UART0 769cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART0" 77038bd6892SHeiko Stuebner depends on ARCH_ROCKCHIP 7714a003647SRussell King select DEBUG_UART_8250 772cce278d2SRussell King help 773cce278d2SRussell King Say Y here if you want kernel low-level debugging support 774cce278d2SRussell King on Rockchip based platforms. 775cce278d2SRussell King 776cce278d2SRussell King config DEBUG_RK29_UART1 777cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART1" 778cce278d2SRussell King depends on ARCH_ROCKCHIP 7794a003647SRussell King select DEBUG_UART_8250 780cce278d2SRussell King help 781cce278d2SRussell King Say Y here if you want kernel low-level debugging support 782cce278d2SRussell King on Rockchip based platforms. 783cce278d2SRussell King 784cce278d2SRussell King config DEBUG_RK29_UART2 785cce278d2SRussell King bool "Kernel low-level debugging messages via Rockchip RK29 UART2" 786cce278d2SRussell King depends on ARCH_ROCKCHIP 7874a003647SRussell King select DEBUG_UART_8250 788cce278d2SRussell King help 789cce278d2SRussell King Say Y here if you want kernel low-level debugging support 790cce278d2SRussell King on Rockchip based platforms. 791cce278d2SRussell King 792cce278d2SRussell King config DEBUG_RK3X_UART0 793aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART0" 794cce278d2SRussell King depends on ARCH_ROCKCHIP 7954a003647SRussell King select DEBUG_UART_8250 796cce278d2SRussell King help 797cce278d2SRussell King Say Y here if you want kernel low-level debugging support 798cce278d2SRussell King on Rockchip based platforms. 799cce278d2SRussell King 800cce278d2SRussell King config DEBUG_RK3X_UART1 801aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART1" 802cce278d2SRussell King depends on ARCH_ROCKCHIP 8034a003647SRussell King select DEBUG_UART_8250 804cce278d2SRussell King help 805cce278d2SRussell King Say Y here if you want kernel low-level debugging support 806cce278d2SRussell King on Rockchip based platforms. 807cce278d2SRussell King 808cce278d2SRussell King config DEBUG_RK3X_UART2 809aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART2" 810cce278d2SRussell King depends on ARCH_ROCKCHIP 8114a003647SRussell King select DEBUG_UART_8250 812cce278d2SRussell King help 813cce278d2SRussell King Say Y here if you want kernel low-level debugging support 814cce278d2SRussell King on Rockchip based platforms. 815cce278d2SRussell King 816cce278d2SRussell King config DEBUG_RK3X_UART3 817aa9c4f74SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK30/RK31 UART3" 818cce278d2SRussell King depends on ARCH_ROCKCHIP 8194a003647SRussell King select DEBUG_UART_8250 82038bd6892SHeiko Stuebner help 82138bd6892SHeiko Stuebner Say Y here if you want kernel low-level debugging support 82238bd6892SHeiko Stuebner on Rockchip based platforms. 82338bd6892SHeiko Stuebner 824efd02ee9SHeiko Stuebner config DEBUG_RK32_UART2 825efd02ee9SHeiko Stuebner bool "Kernel low-level debugging messages via Rockchip RK32 UART2" 826efd02ee9SHeiko Stuebner depends on ARCH_ROCKCHIP 827efd02ee9SHeiko Stuebner select DEBUG_UART_8250 828efd02ee9SHeiko Stuebner help 829efd02ee9SHeiko Stuebner Say Y here if you want kernel low-level debugging support 830efd02ee9SHeiko Stuebner on Rockchip RK32xx based platforms. 831efd02ee9SHeiko Stuebner 8327a2071c5SGeert Uytterhoeven config DEBUG_R7S72100_SCIF2 8337a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R7S72100" 8347a2071c5SGeert Uytterhoeven depends on ARCH_R7S72100 8357a2071c5SGeert Uytterhoeven help 8367a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8377a2071c5SGeert Uytterhoeven via SCIF2 on Renesas RZ/A1H (R7S72100). 8387a2071c5SGeert Uytterhoeven 8397a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN1_SCIF0 8407a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF0 on R8A7778" 8417a2071c5SGeert Uytterhoeven depends on ARCH_R8A7778 8427a2071c5SGeert Uytterhoeven help 8437a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8447a2071c5SGeert Uytterhoeven via SCIF0 on Renesas R-Car M1A (R8A7778). 8457a2071c5SGeert Uytterhoeven 8467a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN1_SCIF2 8477a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R8A7779" 8487a2071c5SGeert Uytterhoeven depends on ARCH_R8A7779 8497a2071c5SGeert Uytterhoeven help 8507a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8517a2071c5SGeert Uytterhoeven via SCIF2 on Renesas R-Car H1 (R8A7779). 8527a2071c5SGeert Uytterhoeven 8537a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN2_SCIF0 854e2fd51b7SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF0 on R8A7790/R8A7791/R8A7793" 8557a2071c5SGeert Uytterhoeven depends on ARCH_R8A7790 || ARCH_R8A7791 || ARCH_R8A7793 8567a2071c5SGeert Uytterhoeven help 8577a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8587a2071c5SGeert Uytterhoeven via SCIF0 on Renesas R-Car H2 (R8A7790), M2-W (R8A7791), or 8597a2071c5SGeert Uytterhoeven M2-N (R8A7793). 8607a2071c5SGeert Uytterhoeven 8617a2071c5SGeert Uytterhoeven config DEBUG_RCAR_GEN2_SCIF2 8627a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIF2 on R8A7794" 8637a2071c5SGeert Uytterhoeven depends on ARCH_R8A7794 8647a2071c5SGeert Uytterhoeven help 8657a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8667a2071c5SGeert Uytterhoeven via SCIF2 on Renesas R-Car E2 (R8A7794). 8677a2071c5SGeert Uytterhoeven 8687a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA0 86959b89af1SMagnus Damm bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4" 87059b89af1SMagnus Damm depends on ARCH_R8A73A4 8717a2071c5SGeert Uytterhoeven help 8727a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 87359b89af1SMagnus Damm via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4). 8747a2071c5SGeert Uytterhoeven 8757a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA1 8767a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIFA1 on R8A7740" 8777a2071c5SGeert Uytterhoeven depends on ARCH_R8A7740 8787a2071c5SGeert Uytterhoeven help 8797a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8807a2071c5SGeert Uytterhoeven via SCIFA1 on Renesas R-Mobile A1 (R8A7740). 8817a2071c5SGeert Uytterhoeven 8827a2071c5SGeert Uytterhoeven config DEBUG_RMOBILE_SCIFA4 8837a2071c5SGeert Uytterhoeven bool "Kernel low-level debugging messages via SCIFA4 on SH73A0" 8847a2071c5SGeert Uytterhoeven depends on ARCH_SH73A0 8857a2071c5SGeert Uytterhoeven help 8867a2071c5SGeert Uytterhoeven Say Y here if you want kernel low-level debugging support 8877a2071c5SGeert Uytterhoeven via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0). 8887a2071c5SGeert Uytterhoeven 889e76f4750SRussell King config DEBUG_S3C_UART0 890e76f4750SRussell King depends on PLAT_SAMSUNG 891a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 8921899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 893bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 8947bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 8955cc8a016SSachin Kamat bool "Use Samsung S3C UART 0 for low-level debug" 896e76f4750SRussell King help 897e76f4750SRussell King Say Y here if you want the debug print routines to direct 898e76f4750SRussell King their output to UART 0. The port must have been initialised 899e76f4750SRussell King by the boot-loader before use. 900e76f4750SRussell King 901e76f4750SRussell King config DEBUG_S3C_UART1 902e76f4750SRussell King depends on PLAT_SAMSUNG 903a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 9041899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 905bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9067bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9075cc8a016SSachin Kamat bool "Use Samsung S3C UART 1 for low-level debug" 908e76f4750SRussell King help 909e76f4750SRussell King Say Y here if you want the debug print routines to direct 910e76f4750SRussell King their output to UART 1. The port must have been initialised 911e76f4750SRussell King by the boot-loader before use. 912e76f4750SRussell King 913e76f4750SRussell King config DEBUG_S3C_UART2 914e76f4750SRussell King depends on PLAT_SAMSUNG 915a2e40710SArnd Bergmann select DEBUG_EXYNOS_UART if ARCH_EXYNOS 9161899de28SHeiko Stuebner select DEBUG_S3C24XX_UART if ARCH_S3C24XX 917bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9187bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9195cc8a016SSachin Kamat bool "Use Samsung S3C UART 2 for low-level debug" 920e76f4750SRussell King help 921e76f4750SRussell King Say Y here if you want the debug print routines to direct 922e76f4750SRussell King their output to UART 2. The port must have been initialised 923e76f4750SRussell King by the boot-loader before use. 924e76f4750SRussell King 9255fa23ddeSOlof Johansson config DEBUG_S3C_UART3 9267bab7d9eSTomasz Figa depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210) 9277bab7d9eSTomasz Figa select DEBUG_EXYNOS_UART if ARCH_EXYNOS 928bb08dea1SArnd Bergmann select DEBUG_S3C64XX_UART if ARCH_S3C64XX 9297bab7d9eSTomasz Figa select DEBUG_S5PV210_UART if ARCH_S5PV210 9305cc8a016SSachin Kamat bool "Use Samsung S3C UART 3 for low-level debug" 9315fa23ddeSOlof Johansson help 9325fa23ddeSOlof Johansson Say Y here if you want the debug print routines to direct 9335fa23ddeSOlof Johansson their output to UART 3. The port must have been initialised 9345fa23ddeSOlof Johansson by the boot-loader before use. 9355fa23ddeSOlof Johansson 936daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART0 937daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 938daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 939daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 0 for low-level debug" 940daf67dfcSHeiko Stuebner help 941daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 942daf67dfcSHeiko Stuebner their output to UART 0. The port must have been initialised 943daf67dfcSHeiko Stuebner by the boot-loader before use. 944daf67dfcSHeiko Stuebner 945daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART1 946daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 947daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 948daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 1 for low-level debug" 949daf67dfcSHeiko Stuebner help 950daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 951daf67dfcSHeiko Stuebner their output to UART 1. The port must have been initialised 952daf67dfcSHeiko Stuebner by the boot-loader before use. 953daf67dfcSHeiko Stuebner 954daf67dfcSHeiko Stuebner config DEBUG_S3C2410_UART2 955daf67dfcSHeiko Stuebner depends on ARCH_S3C24XX 956daf67dfcSHeiko Stuebner select DEBUG_S3C2410_UART 957daf67dfcSHeiko Stuebner bool "Use S3C2410/S3C2412 UART 2 for low-level debug" 958daf67dfcSHeiko Stuebner help 959daf67dfcSHeiko Stuebner Say Y here if you want the debug print routines to direct 960daf67dfcSHeiko Stuebner their output to UART 2. The port must have been initialised 961daf67dfcSHeiko Stuebner by the boot-loader before use. 962daf67dfcSHeiko Stuebner 963e6131fa3SDmitry Eremin-Solenikov config DEBUG_SA1100 964e6131fa3SDmitry Eremin-Solenikov depends on ARCH_SA1100 965e6131fa3SDmitry Eremin-Solenikov bool "Use SA1100 UARTs for low-level debug" 966e6131fa3SDmitry Eremin-Solenikov help 967e6131fa3SDmitry Eremin-Solenikov Say Y here if you want kernel low-level debugging support 968e6131fa3SDmitry Eremin-Solenikov on SA-11x0 UART ports. The kernel will check for the first 969e6131fa3SDmitry Eremin-Solenikov enabled UART in a sequence 3-1-2. 970e6131fa3SDmitry Eremin-Solenikov 971de73c162SDinh Nguyen config DEBUG_SOCFPGA_UART0 9726111bf7cSRob Herring depends on ARCH_SOCFPGA 973de73c162SDinh Nguyen bool "Use SOCFPGA UART0 for low-level debug" 9740b4cccbeSRussell King select DEBUG_UART_8250 9756111bf7cSRob Herring help 9766111bf7cSRob Herring Say Y here if you want kernel low-level debugging support 977de73c162SDinh Nguyen on SOCFPGA(Cyclone 5 and Arria 5) based platforms. 978de73c162SDinh Nguyen 979de73c162SDinh Nguyen config DEBUG_SOCFPGA_UART1 980de73c162SDinh Nguyen depends on ARCH_SOCFPGA 981de73c162SDinh Nguyen bool "Use SOCFPGA UART1 for low-level debug" 982de73c162SDinh Nguyen select DEBUG_UART_8250 983de73c162SDinh Nguyen help 984de73c162SDinh Nguyen Say Y here if you want kernel low-level debugging support 985de73c162SDinh Nguyen on SOCFPGA(Arria 10) based platforms. 986de73c162SDinh Nguyen 9876111bf7cSRob Herring 988d4da889aSChen-Yu Tsai config DEBUG_SUN9I_UART0 989d4da889aSChen-Yu Tsai bool "Kernel low-level debugging messages via sun9i UART0" 990d4da889aSChen-Yu Tsai depends on MACH_SUN9I 991d4da889aSChen-Yu Tsai select DEBUG_UART_8250 992d4da889aSChen-Yu Tsai help 993d4da889aSChen-Yu Tsai Say Y here if you want kernel low-level debugging support 994d4da889aSChen-Yu Tsai on Allwinner A80 based platforms on the UART0. 995d4da889aSChen-Yu Tsai 996aa25115aSStefan Roese config DEBUG_SUNXI_UART0 997aa25115aSStefan Roese bool "Kernel low-level debugging messages via sunXi UART0" 998aa25115aSStefan Roese depends on ARCH_SUNXI 9994a003647SRussell King select DEBUG_UART_8250 1000aa25115aSStefan Roese help 1001aa25115aSStefan Roese Say Y here if you want kernel low-level debugging support 1002aa25115aSStefan Roese on Allwinner A1X based platforms on the UART0. 1003aa25115aSStefan Roese 1004cb84fa18SMaxime Ripard config DEBUG_SUNXI_UART1 1005cb84fa18SMaxime Ripard bool "Kernel low-level debugging messages via sunXi UART1" 1006cb84fa18SMaxime Ripard depends on ARCH_SUNXI 10074a003647SRussell King select DEBUG_UART_8250 1008cb84fa18SMaxime Ripard help 1009cb84fa18SMaxime Ripard Say Y here if you want kernel low-level debugging support 1010cb84fa18SMaxime Ripard on Allwinner A1X based platforms on the UART1. 1011cb84fa18SMaxime Ripard 1012c4718543SChen-Yu Tsai config DEBUG_SUNXI_R_UART 1013c4718543SChen-Yu Tsai bool "Kernel low-level debugging messages via sunXi R_UART" 1014c4718543SChen-Yu Tsai depends on MACH_SUN6I || MACH_SUN8I 1015c4718543SChen-Yu Tsai select DEBUG_UART_8250 1016c4718543SChen-Yu Tsai help 1017c4718543SChen-Yu Tsai Say Y here if you want kernel low-level debugging support 1018c4718543SChen-Yu Tsai on Allwinner A31/A23 based platforms on the R_UART. 1019c4718543SChen-Yu Tsai 10207f46a107SBarry Song config DEBUG_SIRFPRIMA2_UART1 10217f46a107SBarry Song bool "Kernel low-level debugging messages via SiRFprimaII UART1" 10227f46a107SBarry Song depends on ARCH_PRIMA2 102301ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 10247f46a107SBarry Song help 10257f46a107SBarry Song Say Y here if you want the debug print routines to direct 10267f46a107SBarry Song their output to the uart1 port on SiRFprimaII devices. 10277f46a107SBarry Song 102801ea63d9SGuo Zeng config DEBUG_SIRFATLAS7_UART0 102901ea63d9SGuo Zeng bool "Kernel low-level debugging messages via SiRFatlas7 UART0" 103001ea63d9SGuo Zeng depends on ARCH_ATLAS7 103101ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 10327f46a107SBarry Song help 10337f46a107SBarry Song Say Y here if you want the debug print routines to direct 103401ea63d9SGuo Zeng their output to the uart0 port on SiRFATLAS7 devices.The uart0 103501ea63d9SGuo Zeng is used on SiRFATLAS7 as a extra debug port.sometimes an extra 103601ea63d9SGuo Zeng debug port can be very useful. 103701ea63d9SGuo Zeng 103801ea63d9SGuo Zeng config DEBUG_SIRFATLAS7_UART1 103901ea63d9SGuo Zeng bool "Kernel low-level debugging messages via SiRFatlas7 UART1" 104001ea63d9SGuo Zeng depends on ARCH_ATLAS7 104101ea63d9SGuo Zeng select DEBUG_SIRFSOC_UART 104201ea63d9SGuo Zeng help 104301ea63d9SGuo Zeng Say Y here if you want the debug print routines to direct 104401ea63d9SGuo Zeng their output to the uart1 port on SiRFATLAS7 devices. 10457f46a107SBarry Song 1046375d84cfSArnd Bergmann config DEBUG_SPEAR3XX 1047375d84cfSArnd Bergmann bool "Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART" 1048375d84cfSArnd Bergmann depends on ARCH_SPEAR3XX || ARCH_SPEAR6XX 1049375d84cfSArnd Bergmann select DEBUG_UART_PL01X 1050375d84cfSArnd Bergmann help 1051375d84cfSArnd Bergmann Say Y here if you want kernel low-level debugging support 1052375d84cfSArnd Bergmann on ST SPEAr based platforms. 1053375d84cfSArnd Bergmann 1054375d84cfSArnd Bergmann config DEBUG_SPEAR13XX 1055375d84cfSArnd Bergmann bool "Kernel low-level debugging messages via ST SPEAr 13xx UART" 1056375d84cfSArnd Bergmann depends on ARCH_SPEAR13XX 1057375d84cfSArnd Bergmann select DEBUG_UART_PL01X 1058375d84cfSArnd Bergmann help 1059375d84cfSArnd Bergmann Say Y here if you want kernel low-level debugging support 1060375d84cfSArnd Bergmann on ST SPEAr13xx based platforms. 1061375d84cfSArnd Bergmann 1062cce278d2SRussell King config STIH41X_DEBUG_ASC2 1063cce278d2SRussell King bool "Use StiH415/416 ASC2 UART for low-level debug" 10645562b800SArnd Bergmann depends on ARCH_STI 1065cce278d2SRussell King select DEBUG_STI_UART 10665562b800SArnd Bergmann help 10675562b800SArnd Bergmann Say Y here if you want kernel low-level debugging support 1068cce278d2SRussell King on STiH415/416 based platforms like b2000, which has 1069cce278d2SRussell King default UART wired up to ASC2. 1070cce278d2SRussell King 1071cce278d2SRussell King If unsure, say N. 1072cce278d2SRussell King 1073cce278d2SRussell King config STIH41X_DEBUG_SBC_ASC1 1074cce278d2SRussell King bool "Use StiH415/416 SBC ASC1 UART for low-level debug" 1075cce278d2SRussell King depends on ARCH_STI 1076cce278d2SRussell King select DEBUG_STI_UART 1077cce278d2SRussell King help 1078cce278d2SRussell King Say Y here if you want kernel low-level debugging support 1079cce278d2SRussell King on STiH415/416 based platforms like b2020. which has 1080cce278d2SRussell King default UART wired up to SBC ASC1. 10815562b800SArnd Bergmann 10825562b800SArnd Bergmann If unsure, say N. 10835562b800SArnd Bergmann 10841da177e4SLinus Torvalds config TEGRA_DEBUG_UART_AUTO_ODMDATA 10851da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART via ODMDATA" 10861da177e4SLinus Torvalds depends on ARCH_TEGRA 10871da177e4SLinus Torvalds select DEBUG_TEGRA_UART 10881da177e4SLinus Torvalds help 10891da177e4SLinus Torvalds Automatically determines which UART to use for low-level 10901da177e4SLinus Torvalds debug based on the ODMDATA value. This value is part of 10911da177e4SLinus Torvalds the BCT, and is written to the boot memory device using 10921da177e4SLinus Torvalds nvflash, or other flashing tool. When bits 19:18 are 3, 10931da177e4SLinus Torvalds then bits 17:15 indicate which UART to use; 0/1/2/3/4 10941da177e4SLinus Torvalds are UART A/B/C/D/E. 10951da177e4SLinus Torvalds 10961da177e4SLinus Torvalds config TEGRA_DEBUG_UARTA 10971da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART A" 10981da177e4SLinus Torvalds depends on ARCH_TEGRA 10991da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11001da177e4SLinus Torvalds help 11011da177e4SLinus Torvalds Say Y here if you want kernel low-level debugging support 11021da177e4SLinus Torvalds on Tegra based platforms. 11031da177e4SLinus Torvalds 11041da177e4SLinus Torvalds config TEGRA_DEBUG_UARTB 11051da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART B" 11061da177e4SLinus Torvalds depends on ARCH_TEGRA 11071da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11081da177e4SLinus Torvalds help 11091da177e4SLinus Torvalds Say Y here if you want kernel low-level debugging support 11101da177e4SLinus Torvalds on Tegra based platforms. 11111da177e4SLinus Torvalds 11121da177e4SLinus Torvalds config TEGRA_DEBUG_UARTC 11131da177e4SLinus Torvalds bool "Kernel low-level debugging messages via Tegra UART C" 11141da177e4SLinus Torvalds depends on ARCH_TEGRA 11151da177e4SLinus Torvalds select DEBUG_TEGRA_UART 11161da177e4SLinus Torvalds help 1117e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1118e76f4750SRussell King on Tegra based platforms. 1119e76f4750SRussell King 1120e76f4750SRussell King config TEGRA_DEBUG_UARTD 1121e76f4750SRussell King bool "Kernel low-level debugging messages via Tegra UART D" 1122e76f4750SRussell King depends on ARCH_TEGRA 1123e76f4750SRussell King select DEBUG_TEGRA_UART 1124e76f4750SRussell King help 1125e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1126e76f4750SRussell King on Tegra based platforms. 1127e76f4750SRussell King 1128e76f4750SRussell King config TEGRA_DEBUG_UARTE 1129e76f4750SRussell King bool "Kernel low-level debugging messages via Tegra UART E" 1130e76f4750SRussell King depends on ARCH_TEGRA 1131e76f4750SRussell King select DEBUG_TEGRA_UART 1132e76f4750SRussell King help 1133e76f4750SRussell King Say Y here if you want kernel low-level debugging support 1134e76f4750SRussell King on Tegra based platforms. 1135e76f4750SRussell King 1136dd324da7SLinus Walleij config DEBUG_U300_UART 1137dd324da7SLinus Walleij bool "Kernel low-level debugging messages via U300 UART0" 1138dd324da7SLinus Walleij depends on ARCH_U300 11395c972af4SRussell King select DEBUG_UART_PL01X 1140dd324da7SLinus Walleij help 1141dd324da7SLinus Walleij Say Y here if you want the debug print routines to direct 1142dd324da7SLinus Walleij their output to the uart port on U300 devices. 1143dd324da7SLinus Walleij 1144f87b95ddSLinus Walleij config DEBUG_UX500_UART 1145f87b95ddSLinus Walleij depends on ARCH_U8500 1146f87b95ddSLinus Walleij bool "Use Ux500 UART for low-level debug" 1147f87b95ddSLinus Walleij help 1148f87b95ddSLinus Walleij Say Y here if you want kernel low-level debugging support 1149f87b95ddSLinus Walleij on Ux500 based platforms. 1150f87b95ddSLinus Walleij 11514db22c10SArnd Bergmann config DEBUG_VERSATILE 11524db22c10SArnd Bergmann bool "Kernel low-level debugging messages via ARM Versatile UART" 11534db22c10SArnd Bergmann depends on ARCH_VERSATILE 11544db22c10SArnd Bergmann select DEBUG_UART_PL01X 1155d6682085SMatthias Brugger help 1156d6682085SMatthias Brugger Say Y here if you want kernel low-level debugging support 11574db22c10SArnd Bergmann on ARM Versatile platforms. 115865ec48c0SJoe.C 11591b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_DETECT 11601b820eafSPawel Moll bool "Autodetect UART0 on Versatile Express Cortex-A core tiles" 11611b820eafSPawel Moll depends on ARCH_VEXPRESS && CPU_CP15_MMU 11621b820eafSPawel Moll help 11631b820eafSPawel Moll This option enables a simple heuristic which tries to determine 11641b820eafSPawel Moll the motherboard's memory map variant (original or RS1) and then 11651b820eafSPawel Moll choose the relevant UART0 base address. 11661b820eafSPawel Moll 11671b820eafSPawel Moll Note that this will only work with standard A-class core tiles, 11681b820eafSPawel Moll and may fail with non-standard SMM or custom software models. 11691b820eafSPawel Moll 11701b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_CA9 11711b820eafSPawel Moll bool "Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)" 11721b820eafSPawel Moll depends on ARCH_VEXPRESS 11735c972af4SRussell King select DEBUG_UART_PL01X 11741b820eafSPawel Moll help 11751b820eafSPawel Moll This option selects UART0 at 0x10009000. Except for custom models, 11761b820eafSPawel Moll this applies only to the V2P-CA9 tile. 11771b820eafSPawel Moll 11781b820eafSPawel Moll config DEBUG_VEXPRESS_UART0_RS1 11791b820eafSPawel Moll bool "Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)" 11801b820eafSPawel Moll depends on ARCH_VEXPRESS 11815c972af4SRussell King select DEBUG_UART_PL01X 11821b820eafSPawel Moll help 11831b820eafSPawel Moll This option selects UART0 at 0x1c090000. This applies to most 11841b820eafSPawel Moll of the tiles using the RS1 memory map, including all new A-class 11851b820eafSPawel Moll core tiles, FPGA-based SMMs and software models. 11861b820eafSPawel Moll 1187ed18bdc8SJonathan Austin config DEBUG_VEXPRESS_UART0_CRX 1188ed18bdc8SJonathan Austin bool "Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)" 1189ed18bdc8SJonathan Austin depends on ARCH_VEXPRESS && !MMU 11905c972af4SRussell King select DEBUG_UART_PL01X 1191ed18bdc8SJonathan Austin help 1192ed18bdc8SJonathan Austin This option selects UART0 at 0xb0090000. This is appropriate for 1193ed18bdc8SJonathan Austin Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7 1194ed18bdc8SJonathan Austin 11951dc93416SArnd Bergmann config DEBUG_VF_UART 11961dc93416SArnd Bergmann bool "Vybrid UART" 11971dc93416SArnd Bergmann depends on SOC_VF610 11981dc93416SArnd Bergmann help 11991dc93416SArnd Bergmann Say Y here if you want kernel low-level debugging support 12001dc93416SArnd Bergmann on Vybrid based platforms. 12011dc93416SArnd Bergmann 1202b61a2722STony Prisk config DEBUG_VT8500_UART0 1203b61a2722STony Prisk bool "Use UART0 on VIA/Wondermedia SoCs" 1204b61a2722STony Prisk depends on ARCH_VT8500 1205b61a2722STony Prisk help 1206b61a2722STony Prisk This option selects UART0 on VIA/Wondermedia System-on-a-chip 1207b61a2722STony Prisk devices, including VT8500, WM8505, WM8650 and WM8850. 1208b61a2722STony Prisk 12091dc93416SArnd Bergmann config DEBUG_ZTE_ZX 12101dc93416SArnd Bergmann bool "Use ZTE ZX UART" 12111dc93416SArnd Bergmann select DEBUG_UART_PL01X 12121dc93416SArnd Bergmann depends on ARCH_ZX 12131dc93416SArnd Bergmann help 12141dc93416SArnd Bergmann Say Y here if you are enabling ZTE ZX296702 SOC and need 12151dc93416SArnd Bergmann debug uart support. 12161dc93416SArnd Bergmann 12171dc93416SArnd Bergmann This option is preferred over the platform specific 12181dc93416SArnd Bergmann options; the platform specific options are deprecated 12191dc93416SArnd Bergmann and will be soon removed. 12201dc93416SArnd Bergmann 12211dc93416SArnd Bergmann config DEBUG_ZYNQ_UART0 12221dc93416SArnd Bergmann bool "Kernel low-level debugging on Xilinx Zynq using UART0" 12231dc93416SArnd Bergmann depends on ARCH_ZYNQ 12241dc93416SArnd Bergmann help 12251dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 12261dc93416SArnd Bergmann their output to UART0 on the Zynq platform. 12271dc93416SArnd Bergmann 12281dc93416SArnd Bergmann config DEBUG_ZYNQ_UART1 12291dc93416SArnd Bergmann bool "Kernel low-level debugging on Xilinx Zynq using UART1" 12301dc93416SArnd Bergmann depends on ARCH_ZYNQ 12311dc93416SArnd Bergmann help 12321dc93416SArnd Bergmann Say Y here if you want the debug print routines to direct 12331dc93416SArnd Bergmann their output to UART1 on the Zynq platform. 12341dc93416SArnd Bergmann 12351dc93416SArnd Bergmann If you have a ZC702 board and want early boot messages to 12361dc93416SArnd Bergmann appear on the USB serial adaptor, select this option. 12371dc93416SArnd Bergmann 1238e76f4750SRussell King config DEBUG_ICEDCC 1239e76f4750SRussell King bool "Kernel low-level debugging via EmbeddedICE DCC channel" 1240e76f4750SRussell King help 1241e76f4750SRussell King Say Y here if you want the debug print routines to direct 1242e76f4750SRussell King their output to the EmbeddedICE macrocell's DCC channel using 1243e76f4750SRussell King co-processor 14. This is known to work on the ARM9 style ICE 1244e76f4750SRussell King channel and on the XScale with the PEEDI. 1245e76f4750SRussell King 1246e76f4750SRussell King Note that the system will appear to hang during boot if there 1247e76f4750SRussell King is nothing connected to read from the DCC. 1248e76f4750SRussell King 1249b0df8986SRussell King config DEBUG_SEMIHOSTING 125062194bdaSStephen Boyd bool "Kernel low-level debug output via semihosting I/O" 1251b0df8986SRussell King help 1252b0df8986SRussell King Semihosting enables code running on an ARM target to use 1253b0df8986SRussell King the I/O facilities on a host debugger/emulator through a 125462194bdaSStephen Boyd simple SVC call. The host debugger or emulator must have 1255b0df8986SRussell King semihosting enabled for the special svc call to be trapped 1256b0df8986SRussell King otherwise the kernel will crash. 1257b0df8986SRussell King 1258b0df8986SRussell King This is known to work with OpenOCD, as well as 1259b0df8986SRussell King ARM's Fast Models, or any other controlling environment 1260b0df8986SRussell King that implements semihosting. 1261b0df8986SRussell King 1262b0df8986SRussell King For more details about semihosting, please see 1263b0df8986SRussell King chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd. 1264b0df8986SRussell King 1265f8f1279cSRussell King config DEBUG_LL_UART_8250 1266f8f1279cSRussell King bool "Kernel low-level debugging via 8250 UART" 1267f8f1279cSRussell King help 1268f8f1279cSRussell King Say Y here if you wish the debug print routes to direct 1269f8f1279cSRussell King their output to an 8250 UART. You can use this option 1270f8f1279cSRussell King to provide the parameters for the 8250 UART rather than 1271f8f1279cSRussell King selecting one of the platform specific options above if 1272f8f1279cSRussell King you know the parameters for the port. 1273f8f1279cSRussell King 1274f8f1279cSRussell King This option is preferred over the platform specific 1275f8f1279cSRussell King options; the platform specific options are deprecated 1276f8f1279cSRussell King and will be soon removed. 1277f8f1279cSRussell King 1278494e492dSUwe Kleine-König config DEBUG_LL_UART_EFM32 1279494e492dSUwe Kleine-König bool "Kernel low-level debugging via efm32 UART" 1280494e492dSUwe Kleine-König depends on ARCH_EFM32 1281494e492dSUwe Kleine-König help 1282494e492dSUwe Kleine-König Say Y here if you want the debug print routines to direct 1283494e492dSUwe Kleine-König their output to an UART or USART port on efm32 based 1284494e492dSUwe Kleine-König machines. Use the following addresses for DEBUG_UART_PHYS: 1285494e492dSUwe Kleine-König 1286494e492dSUwe Kleine-König 0x4000c000 | USART0 1287494e492dSUwe Kleine-König 0x4000c400 | USART1 1288494e492dSUwe Kleine-König 0x4000c800 | USART2 1289494e492dSUwe Kleine-König 0x4000e000 | UART0 1290494e492dSUwe Kleine-König 0x4000e400 | UART1 1291494e492dSUwe Kleine-König 1292f8f1279cSRussell King config DEBUG_LL_UART_PL01X 1293f8f1279cSRussell King bool "Kernel low-level debugging via ARM Ltd PL01x Primecell UART" 1294f8f1279cSRussell King help 1295f8f1279cSRussell King Say Y here if you wish the debug print routes to direct 1296f8f1279cSRussell King their output to a PL01x Primecell UART. You can use 1297f8f1279cSRussell King this option to provide the parameters for the UART 1298f8f1279cSRussell King rather than selecting one of the platform specific 1299f8f1279cSRussell King options above if you know the parameters for the port. 1300f8f1279cSRussell King 1301f8f1279cSRussell King This option is preferred over the platform specific 1302f8f1279cSRussell King options; the platform specific options are deprecated 1303f8f1279cSRussell King and will be soon removed. 1304f8f1279cSRussell King 13051da177e4SLinus Torvaldsendchoice 13061da177e4SLinus Torvalds 1307a2e40710SArnd Bergmannconfig DEBUG_EXYNOS_UART 1308a2e40710SArnd Bergmann bool 1309a2e40710SArnd Bergmann 1310daf67dfcSHeiko Stuebnerconfig DEBUG_S3C2410_UART 1311daf67dfcSHeiko Stuebner bool 13121899de28SHeiko Stuebner select DEBUG_S3C24XX_UART 13131899de28SHeiko Stuebner 13141899de28SHeiko Stuebnerconfig DEBUG_S3C24XX_UART 13151899de28SHeiko Stuebner bool 1316daf67dfcSHeiko Stuebner 1317bb08dea1SArnd Bergmannconfig DEBUG_S3C64XX_UART 1318bb08dea1SArnd Bergmann bool 1319bb08dea1SArnd Bergmann 13207bab7d9eSTomasz Figaconfig DEBUG_S5PV210_UART 13217bab7d9eSTomasz Figa bool 13227bab7d9eSTomasz Figa 1323cce278d2SRussell Kingconfig DEBUG_OMAP2PLUS_UART 1324cce278d2SRussell King bool 1325cce278d2SRussell King depends on ARCH_OMAP2PLUS 1326cce278d2SRussell King 1327f8c95fe6SShawn Guoconfig DEBUG_IMX_UART_PORT 1328f8c95fe6SShawn Guo int "i.MX Debug UART Port Selection" if DEBUG_IMX1_UART || \ 1329f8c95fe6SShawn Guo DEBUG_IMX25_UART || \ 1330f8c95fe6SShawn Guo DEBUG_IMX21_IMX27_UART || \ 1331f8c95fe6SShawn Guo DEBUG_IMX31_UART || \ 1332f8c95fe6SShawn Guo DEBUG_IMX35_UART || \ 1333ad364a70SGreg Ungerer DEBUG_IMX50_UART || \ 1334f8c95fe6SShawn Guo DEBUG_IMX51_UART || \ 13350c52db7eSPaul Bolle DEBUG_IMX53_UART || \ 133634e8a16bSShawn Guo DEBUG_IMX6Q_UART || \ 133774368e81SShawn Guo DEBUG_IMX6SL_UART || \ 133852d7aec2SAnson Huang DEBUG_IMX6SX_UART || \ 133920c305f6SAnson Huang DEBUG_IMX6UL_UART || \ 134052d7aec2SAnson Huang DEBUG_IMX7D_UART 134149c9e60eSShawn Guo default 1 1342287939a3SShawn Guo depends on ARCH_MXC 134349c9e60eSShawn Guo help 134449c9e60eSShawn Guo Choose UART port on which kernel low-level debug messages 134549c9e60eSShawn Guo should be output. 134649c9e60eSShawn Guo 1347cfdb7d56SStefan Agnerconfig DEBUG_VF_UART_PORT 1348cfdb7d56SStefan Agner int "Vybrid Debug UART Port Selection" if DEBUG_VF_UART 1349cfdb7d56SStefan Agner default 1 1350cfdb7d56SStefan Agner range 0 3 1351cfdb7d56SStefan Agner depends on SOC_VF610 1352cfdb7d56SStefan Agner help 1353cfdb7d56SStefan Agner Choose UART port on which kernel low-level debug messages 1354cfdb7d56SStefan Agner should be output. 1355cfdb7d56SStefan Agner 1356cce278d2SRussell Kingconfig DEBUG_TEGRA_UART 1357cce278d2SRussell King bool 1358cce278d2SRussell King depends on ARCH_TEGRA 1359808b7e07STony Lindgren 1360cce278d2SRussell Kingconfig DEBUG_STI_UART 1361cce278d2SRussell King bool 1362cce278d2SRussell King depends on ARCH_STI 13635026aecfSSrinivas Kandagatla 136401ea63d9SGuo Zengconfig DEBUG_SIRFSOC_UART 136501ea63d9SGuo Zeng bool 136601ea63d9SGuo Zeng depends on ARCH_SIRF 136701ea63d9SGuo Zeng 136891a9fec0SRob Herringconfig DEBUG_LL_INCLUDE 136991a9fec0SRob Herring string 1370e6131fa3SDmitry Eremin-Solenikov default "debug/sa1100.S" if DEBUG_SA1100 1371*0c532546SMans Rullgard default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP 1372f8f1279cSRussell King default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 137342dfd1e1SNicolas Ferre default "debug/at91.S" if DEBUG_AT91_UART 1374d5bd4e8dSOleksij Rempel default "debug/asm9260.S" if DEBUG_ASM9260_UART 1375dd99eef5SAlexander Shiyan default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 13760045c0ddSArnd Bergmann default "debug/dc21285.S" if DEBUG_DC21285_PORT 1377d8a00916SCarlo Caione default "debug/meson.S" if DEBUG_MESON_UARTAO 1378f8f1279cSRussell King default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X 1379a2e40710SArnd Bergmann default "debug/exynos.S" if DEBUG_EXYNOS_UART 1380494e492dSUwe Kleine-König default "debug/efm32.S" if DEBUG_LL_UART_EFM32 138191a9fec0SRob Herring default "debug/icedcc.S" if DEBUG_ICEDCC 13826dde5ac5SShawn Guo default "debug/imx.S" if DEBUG_IMX1_UART || \ 13836dde5ac5SShawn Guo DEBUG_IMX25_UART || \ 13846dde5ac5SShawn Guo DEBUG_IMX21_IMX27_UART || \ 13854ad625d4SShawn Guo DEBUG_IMX31_UART || \ 13864ad625d4SShawn Guo DEBUG_IMX35_UART || \ 1387ad364a70SGreg Ungerer DEBUG_IMX50_UART || \ 13886dde5ac5SShawn Guo DEBUG_IMX51_UART || \ 13897356420cSFabio Estevam DEBUG_IMX53_UART ||\ 139034e8a16bSShawn Guo DEBUG_IMX6Q_UART || \ 139174368e81SShawn Guo DEBUG_IMX6SL_UART || \ 139252d7aec2SAnson Huang DEBUG_IMX6SX_UART || \ 139320c305f6SAnson Huang DEBUG_IMX6UL_UART || \ 139452d7aec2SAnson Huang DEBUG_IMX7D_UART 1395abbfb21eSDaniel Thompson default "debug/ks8695.S" if DEBUG_KS8695_UART 1396c0c89fafSStephen Boyd default "debug/msm.S" if DEBUG_QCOM_UARTDM 13974d31e664SDaniel Thompson default "debug/netx.S" if DEBUG_NETX_UART 1398808b7e07STony Lindgren default "debug/omap2plus.S" if DEBUG_OMAP2PLUS_UART 13997a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_R7S72100_SCIF2 14007a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF0 14017a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN1_SCIF2 14027a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF0 14037a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2 14047a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0 14057a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1 14067a2071c5SGeert Uytterhoeven default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4 1407bb08dea1SArnd Bergmann default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART 14087bab7d9eSTomasz Figa default "debug/s5pv210.S" if DEBUG_S5PV210_UART 140901ea63d9SGuo Zeng default "debug/sirf.S" if DEBUG_SIRFSOC_UART 14105026aecfSSrinivas Kandagatla default "debug/sti.S" if DEBUG_STI_UART 1411150a8dcfSLinus Torvalds default "debug/tegra.S" if DEBUG_TEGRA_UART 1412150a8dcfSLinus Torvalds default "debug/ux500.S" if DEBUG_UX500_UART 14134e218b99SRussell King default "debug/vexpress.S" if DEBUG_VEXPRESS_UART0_DETECT 1414c7c3eac6SShawn Guo default "debug/vf.S" if DEBUG_VF_UART 1415b61a2722STony Prisk default "debug/vt8500.S" if DEBUG_VT8500_UART0 1416385f02b1SJosh Cartwright default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 14176c548099SArnd Bergmann default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART 1418e23814daSBaruch Siach default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0 141991a9fec0SRob Herring default "mach/debug-macro.S" 142091a9fec0SRob Herring 1421f8f1279cSRussell King# Compatibility options for PL01x 14225c972af4SRussell Kingconfig DEBUG_UART_PL01X 1423a61cbf51SDaniel Thompson bool 14245c972af4SRussell King 1425f8f1279cSRussell King# Compatibility options for 8250 14267610b607SRussell Kingconfig DEBUG_UART_8250 14270045c0ddSArnd Bergmann def_bool ARCH_EBSA110 || \ 1428d7175a3bSArnd Bergmann ARCH_IOP13XX || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || \ 142959bd4c38SArnd Bergmann ARCH_RPC 14304a003647SRussell King 1431c3faa9b7SRussell Kingconfig DEBUG_UART_PHYS 1432c3faa9b7SRussell King hex "Physical base address of debug UART" 14334d31e664SDaniel Thompson default 0x00100a00 if DEBUG_NETX_UART 143497bd1a48SRussell King default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0 1435c3faa9b7SRussell King default 0x01c28000 if DEBUG_SUNXI_UART0 1436c3faa9b7SRussell King default 0x01c28400 if DEBUG_SUNXI_UART1 143797bd1a48SRussell King default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1 143897bd1a48SRussell King default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2 1439c4718543SChen-Yu Tsai default 0x01f02800 if DEBUG_SUNXI_R_UART 1440f2acf003SRussell King default 0x02530c00 if DEBUG_KEYSTONE_UART0 1441f2acf003SRussell King default 0x02531000 if DEBUG_KEYSTONE_UART1 1442c3faa9b7SRussell King default 0x03010fe0 if ARCH_RPC 1443d4da889aSChen-Yu Tsai default 0x07000000 if DEBUG_SUN9I_UART0 144458d03985SJun Nie default 0x09405000 if DEBUG_ZTE_ZX 1445b125170aSKrzysztof Hałasa default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ 14465c972af4SRussell King DEBUG_VEXPRESS_UART0_CA9 14475c972af4SRussell King default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT 1448c3faa9b7SRussell King default 0x10124000 if DEBUG_RK3X_UART0 1449c3faa9b7SRussell King default 0x10126000 if DEBUG_RK3X_UART1 14504db22c10SArnd Bergmann default 0x101f1000 if DEBUG_VERSATILE 14515c972af4SRussell King default 0x101fb000 if DEBUG_NOMADIK_UART 145265ec48c0SJoe.C default 0x11002000 if DEBUG_MT8127_UART0 1453d6682085SMatthias Brugger default 0x11006000 if DEBUG_MT6589_UART0 145465ec48c0SJoe.C default 0x11009000 if DEBUG_MT8135_UART3 14554db22c10SArnd Bergmann default 0x16000000 if DEBUG_INTEGRATOR 145606580275SHauke Mehrtens default 0x18000300 if DEBUG_BCM_5301X 145701ea63d9SGuo Zeng default 0x18010000 if DEBUG_SIRFATLAS7_UART0 145801ea63d9SGuo Zeng default 0x18020000 if DEBUG_SIRFATLAS7_UART1 14595c972af4SRussell King default 0x1c090000 if DEBUG_VEXPRESS_UART0_RS1 146027dafaa8SWang Long default 0x20001000 if DEBUG_HIP01_UART 1461c3faa9b7SRussell King default 0x20060000 if DEBUG_RK29_UART0 1462c3faa9b7SRussell King default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 1463c3faa9b7SRussell King default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 14645c972af4SRussell King default 0x20201000 if DEBUG_BCM2835 14655234c34eSEric Anholt default 0x3f201000 if DEBUG_BCM2836 1466753d1243SChristian Daudt default 0x3e000000 if DEBUG_BCM_KONA_UART 1467494e492dSUwe Kleine-König default 0x4000e400 if DEBUG_LL_UART_EFM32 14680aed6a37SJoachim Eastwood default 0x40081000 if DEBUG_LPC18XX_UART0 146959bd4c38SArnd Bergmann default 0x40090000 if DEBUG_LPC32XX 1470c3faa9b7SRussell King default 0x40100000 if DEBUG_PXA_UART1 1471d7175a3bSArnd Bergmann default 0x42000000 if DEBUG_GEMINI 14721899de28SHeiko Stuebner default 0x50000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ 14731899de28SHeiko Stuebner DEBUG_S3C2410_UART0) 14741899de28SHeiko Stuebner default 0x50004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ 14751899de28SHeiko Stuebner DEBUG_S3C2410_UART1) 14761899de28SHeiko Stuebner default 0x50008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ 14771899de28SHeiko Stuebner DEBUG_S3C2410_UART2) 1478c3ca2130SKrzysztof Hałasa default 0x78000000 if DEBUG_CNS3XXX 14790045c0ddSArnd Bergmann default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1 1480bb08dea1SArnd Bergmann default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0 1481bb08dea1SArnd Bergmann default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1 1482bb08dea1SArnd Bergmann default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2 1483bb08dea1SArnd Bergmann default 0x7f005c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3 1484d5bd4e8dSOleksij Rempel default 0x80010000 if DEBUG_ASM9260_UART 14855c972af4SRussell King default 0x80070000 if DEBUG_IMX23_UART 14865c972af4SRussell King default 0x80074000 if DEBUG_IMX28_UART 1487c39e1ef7SAlexander Shiyan default 0x80230000 if DEBUG_PICOXCELL_UART 1488f06455faSArnd Bergmann default 0x808c0000 if DEBUG_EP93XX || ARCH_EP93XX 14895c972af4SRussell King default 0x90020000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART 149001ea63d9SGuo Zeng default 0xb0060000 if DEBUG_SIRFPRIMA2_UART1 14915c972af4SRussell King default 0xb0090000 if DEBUG_VEXPRESS_UART0_CRX 14925c972af4SRussell King default 0xc0013000 if DEBUG_U300_UART 1493c3faa9b7SRussell King default 0xc8000000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN 1494c3faa9b7SRussell King default 0xc8000003 if ARCH_IXP4XX && CPU_BIG_ENDIAN 1495375d84cfSArnd Bergmann default 0xd0000000 if DEBUG_SPEAR3XX 1496d91125ddSMaxime Ripard default 0xd0012000 if DEBUG_MVEBU_UART0 1497d8a00916SCarlo Caione default 0xc81004c0 if DEBUG_MESON_UARTAO 1498c3faa9b7SRussell King default 0xd4017000 if DEBUG_MMP_UART2 1499c3faa9b7SRussell King default 0xd4018000 if DEBUG_MMP_UART3 1500375d84cfSArnd Bergmann default 0xe0000000 if DEBUG_SPEAR13XX 1501c9a1df48SHaojian Zhuang default 0xe4007000 if DEBUG_HIP04_UART 15027a2071c5SGeert Uytterhoeven default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0 15037a2071c5SGeert Uytterhoeven default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1 15047a2071c5SGeert Uytterhoeven default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4 15057a2071c5SGeert Uytterhoeven default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2 15067a2071c5SGeert Uytterhoeven default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0 15077a2071c5SGeert Uytterhoeven default 0xe8008000 if DEBUG_R7S72100_SCIF2 1508c3faa9b7SRussell King default 0xf0000be0 if ARCH_EBSA110 150981b43a6eSMarc Carino default 0xf040ab00 if DEBUG_BRCMSTB_UART 1510d91125ddSMaxime Ripard default 0xf1012000 if DEBUG_MVEBU_UART0_ALTERNATE 1511bd920490SMaxime Ripard default 0xf1012100 if DEBUG_MVEBU_UART1_ALTERNATE 1512caad0b41SSebastian Hesselbarth default 0xf7fc9000 if DEBUG_BERLIN_UART 151312aae309SHaifeng Yan default 0xf8b00000 if DEBUG_HIX5HD2_UART 15147098cff2SIvan T. Ivanov default 0xf991e000 if DEBUG_QCOM_UARTDM 15158d258bebSHaojian Zhuang default 0xfcb00000 if DEBUG_HI3620_UART 15163c215e64STsahee Zidenberg default 0xfd883000 if DEBUG_ALPINE_UART0 1517c3faa9b7SRussell King default 0xfe800000 if ARCH_IOP32X 1518efd02ee9SHeiko Stuebner default 0xff690000 if DEBUG_RK32_UART2 1519de73c162SDinh Nguyen default 0xffc02000 if DEBUG_SOCFPGA_UART0 1520de73c162SDinh Nguyen default 0xffc02100 if DEBUG_SOCFPGA_UART1 1521c3faa9b7SRussell King default 0xffd82340 if ARCH_IOP13XX 15227a2071c5SGeert Uytterhoeven default 0xffe40000 if DEBUG_RCAR_GEN1_SCIF0 15237a2071c5SGeert Uytterhoeven default 0xffe42000 if DEBUG_RCAR_GEN1_SCIF2 15245c972af4SRussell King default 0xfff36000 if DEBUG_HIGHBANK_UART 1525c26b9993SDaniel Thompson default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 1526c26b9993SDaniel Thompson default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 1527c26b9993SDaniel Thompson default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 15286c548099SArnd Bergmann default 0xfffe8600 if DEBUG_BCM63XX_UART 1529c3faa9b7SRussell King default 0xfffff700 if ARCH_IOP33X 1530d02fde7fSDaniel Thompson depends on ARCH_EP93XX || \ 1531d02fde7fSDaniel Thompson DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1532494e492dSUwe Kleine-König DEBUG_LL_UART_EFM32 || \ 1533d8a00916SCarlo Caione DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ 1534c0c89fafSStephen Boyd DEBUG_NETX_UART || \ 15354d31e664SDaniel Thompson DEBUG_QCOM_UARTDM || DEBUG_R7S72100_SCIF2 || \ 15367a2071c5SGeert Uytterhoeven DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \ 15377a2071c5SGeert Uytterhoeven DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF2 || \ 15387a2071c5SGeert Uytterhoeven DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ 15397a2071c5SGeert Uytterhoeven DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ 1540bb08dea1SArnd Bergmann DEBUG_S3C64XX_UART || \ 15416c548099SArnd Bergmann DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ 15426f112a08SAlexandre Belloni DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ 15436f112a08SAlexandre Belloni DEBUG_AT91_UART 1544c3faa9b7SRussell King 1545c3faa9b7SRussell Kingconfig DEBUG_UART_VIRT 1546c3faa9b7SRussell King hex "Virtual base address of debug UART" 15474d31e664SDaniel Thompson default 0xe0000a00 if DEBUG_NETX_UART 1548c3faa9b7SRussell King default 0xe0010fe0 if ARCH_RPC 1549c3faa9b7SRussell King default 0xf0000be0 if ARCH_EBSA110 1550d5bd4e8dSOleksij Rempel default 0xf0010000 if DEBUG_ASM9260_UART 15515c972af4SRussell King default 0xf01fb000 if DEBUG_NOMADIK_UART 15525234c34eSEric Anholt default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836 155306580275SHauke Mehrtens default 0xf1000300 if DEBUG_BCM_5301X 155465ec48c0SJoe.C default 0xf1002000 if DEBUG_MT8127_UART0 1555d6682085SMatthias Brugger default 0xf1006000 if DEBUG_MT6589_UART0 155665ec48c0SJoe.C default 0xf1009000 if DEBUG_MT8135_UART3 15574db22c10SArnd Bergmann default 0xf11f1000 if DEBUG_VERSATILE 15584db22c10SArnd Bergmann default 0xf1600000 if DEBUG_INTEGRATOR 1559c3faa9b7SRussell King default 0xf1c28000 if DEBUG_SUNXI_UART0 1560c3faa9b7SRussell King default 0xf1c28400 if DEBUG_SUNXI_UART1 1561c4718543SChen-Yu Tsai default 0xf1f02800 if DEBUG_SUNXI_R_UART 15621dc93416SArnd Bergmann default 0xf31004c0 if DEBUG_MESON_UARTAO 156359bd4c38SArnd Bergmann default 0xf4090000 if DEBUG_LPC32XX 1564d7175a3bSArnd Bergmann default 0xf4200000 if DEBUG_GEMINI 1565cde7fc87SRobert Jarzmik default 0xf6200000 if DEBUG_PXA_UART1 1566d4da889aSChen-Yu Tsai default 0xf7000000 if DEBUG_SUN9I_UART0 1567bb08dea1SArnd Bergmann default 0xf7000000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0 15681899de28SHeiko Stuebner default 0xf7000000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART0 || \ 15691899de28SHeiko Stuebner DEBUG_S3C2410_UART0) 1570bb08dea1SArnd Bergmann default 0xf7000400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1 1571bb08dea1SArnd Bergmann default 0xf7000800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2 1572bb08dea1SArnd Bergmann default 0xf7000c00 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART3 15731899de28SHeiko Stuebner default 0xf7004000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART1 || \ 15741899de28SHeiko Stuebner DEBUG_S3C2410_UART1) 15751899de28SHeiko Stuebner default 0xf7008000 if DEBUG_S3C24XX_UART && (DEBUG_S3C_UART2 || \ 15761899de28SHeiko Stuebner DEBUG_S3C2410_UART2) 1577caad0b41SSebastian Hesselbarth default 0xf7fc9000 if DEBUG_BERLIN_UART 1578c9a1df48SHaojian Zhuang default 0xf8007000 if DEBUG_HIP04_UART 15795c972af4SRussell King default 0xf8009000 if DEBUG_VEXPRESS_UART0_CA9 15805c972af4SRussell King default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 15817098cff2SIvan T. Ivanov default 0xfa71e000 if DEBUG_QCOM_UARTDM 1582b125170aSKrzysztof Hałasa default 0xfb002000 if DEBUG_CNS3XXX 15835c972af4SRussell King default 0xfb009000 if DEBUG_REALVIEW_STD_PORT 15845c972af4SRussell King default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT 158581b43a6eSMarc Carino default 0xfc40ab00 if DEBUG_BRCMSTB_UART 158658d03985SJun Nie default 0xfc705000 if DEBUG_ZTE_ZX 15876c548099SArnd Bergmann default 0xfcfe8600 if DEBUG_BCM63XX_UART 1588375d84cfSArnd Bergmann default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX 1589c047f529SArnd Bergmann default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0 15903c215e64STsahee Zidenberg default 0xfd883000 if DEBUG_ALPINE_UART0 1591c047f529SArnd Bergmann default 0xfde12000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_DOVE 1592c047f529SArnd Bergmann default 0xfe012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_ORION5X 1593c3faa9b7SRussell King default 0xfe017000 if DEBUG_MMP_UART2 1594c3faa9b7SRussell King default 0xfe018000 if DEBUG_MMP_UART3 15955c972af4SRussell King default 0xfe100000 if DEBUG_IMX23_UART || DEBUG_IMX28_UART 15960b4cccbeSRussell King default 0xfe230000 if DEBUG_PICOXCELL_UART 1597753d1243SChristian Daudt default 0xfe300000 if DEBUG_BCM_KONA_UART 1598c3faa9b7SRussell King default 0xfe800000 if ARCH_IOP32X 159912aae309SHaifeng Yan default 0xfeb00000 if DEBUG_HI3620_UART || DEBUG_HIX5HD2_UART 1600c3faa9b7SRussell King default 0xfeb24000 if DEBUG_RK3X_UART0 1601c3faa9b7SRussell King default 0xfeb26000 if DEBUG_RK3X_UART1 1602f2acf003SRussell King default 0xfeb30c00 if DEBUG_KEYSTONE_UART0 1603f2acf003SRussell King default 0xfeb31000 if DEBUG_KEYSTONE_UART1 1604de73c162SDinh Nguyen default 0xfec02000 if DEBUG_SOCFPGA_UART0 1605de73c162SDinh Nguyen default 0xfec02100 if DEBUG_SOCFPGA_UART1 1606c047f529SArnd Bergmann default 0xfec12000 if (DEBUG_MVEBU_UART0 || DEBUG_MVEBU_UART0_ALTERNATE) && ARCH_MVEBU 1607bd920490SMaxime Ripard default 0xfec12100 if DEBUG_MVEBU_UART1_ALTERNATE 160801ea63d9SGuo Zeng default 0xfec10000 if DEBUG_SIRFATLAS7_UART0 160997bd1a48SRussell King default 0xfec20000 if DEBUG_DAVINCI_DMx_UART0 161001ea63d9SGuo Zeng default 0xfec20000 if DEBUG_SIRFATLAS7_UART1 161101ea63d9SGuo Zeng default 0xfec60000 if DEBUG_SIRFPRIMA2_UART1 1612efd02ee9SHeiko Stuebner default 0xfec90000 if DEBUG_RK32_UART2 161397bd1a48SRussell King default 0xfed0c000 if DEBUG_DAVINCI_DA8XX_UART1 161497bd1a48SRussell King default 0xfed0d000 if DEBUG_DAVINCI_DA8XX_UART2 1615c39e1ef7SAlexander Shiyan default 0xfed60000 if DEBUG_RK29_UART0 1616c39e1ef7SAlexander Shiyan default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 1617c39e1ef7SAlexander Shiyan default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 1618f06455faSArnd Bergmann default 0xfedc0000 if DEBUG_EP93XX 16190045c0ddSArnd Bergmann default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1 16205c972af4SRussell King default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART 1621c3faa9b7SRussell King default 0xfee82340 if ARCH_IOP13XX 1622c3faa9b7SRussell King default 0xfef00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN 1623c3faa9b7SRussell King default 0xfef00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN 1624c39e1ef7SAlexander Shiyan default 0xfef36000 if DEBUG_HIGHBANK_UART 1625c26b9993SDaniel Thompson default 0xfefb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 1626c26b9993SDaniel Thompson default 0xfefb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 1627c26b9993SDaniel Thompson default 0xfefb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 1628c3faa9b7SRussell King default 0xfefff700 if ARCH_IOP33X 16295c972af4SRussell King default 0xff003000 if DEBUG_U300_UART 163027dafaa8SWang Long default 0xffd01000 if DEBUG_HIP01_UART 16315c972af4SRussell King default DEBUG_UART_PHYS if !MMU 1632f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1633d8a00916SCarlo Caione DEBUG_UART_8250 || DEBUG_UART_PL01X || DEBUG_MESON_UARTAO || \ 1634c0c89fafSStephen Boyd DEBUG_NETX_UART || \ 16354d31e664SDaniel Thompson DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ 1636bb08dea1SArnd Bergmann DEBUG_S3C64XX_UART || \ 16376c548099SArnd Bergmann DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ 1638e23814daSBaruch Siach DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 1639c3faa9b7SRussell King 16404a003647SRussell Kingconfig DEBUG_UART_8250_SHIFT 16414a003647SRussell King int "Register offset shift for the 8250 debug UART" 1642f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 16430045c0ddSArnd Bergmann default 0 if DEBUG_FOOTBRIDGE_COM1 || ARCH_IOP32X || DEBUG_BCM_5301X || \ 1644c26b9993SDaniel Thompson DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3 16454a003647SRussell King default 2 16467610b607SRussell King 16470b4cccbeSRussell Kingconfig DEBUG_UART_8250_WORD 16480b4cccbeSRussell King bool "Use 32-bit accesses for 8250 UART" 1649f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 16500b4cccbeSRussell King depends on DEBUG_UART_8250_SHIFT >= 2 1651cdd2e08bSArnd Bergmann default y if DEBUG_PICOXCELL_UART || \ 1652cdd2e08bSArnd Bergmann DEBUG_SOCFPGA_UART0 || DEBUG_SOCFPGA_UART1 || \ 1653cdd2e08bSArnd Bergmann DEBUG_KEYSTONE_UART0 || DEBUG_KEYSTONE_UART1 || \ 1654de73c162SDinh Nguyen DEBUG_ALPINE_UART0 || \ 165597bd1a48SRussell King DEBUG_DAVINCI_DMx_UART0 || DEBUG_DAVINCI_DA8XX_UART1 || \ 16569d6eccb9SArnd Bergmann DEBUG_DAVINCI_DA8XX_UART2 || \ 165781b43a6eSMarc Carino DEBUG_BCM_KONA_UART || DEBUG_RK32_UART2 || \ 165881b43a6eSMarc Carino DEBUG_BRCMSTB_UART 16590b4cccbeSRussell King 1660*0c532546SMans Rullgardconfig DEBUG_UART_8250_PALMCHIP 1661*0c532546SMans Rullgard bool "8250 UART is Palmchip BK-310x" 1662*0c532546SMans Rullgard depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 1663*0c532546SMans Rullgard help 1664*0c532546SMans Rullgard Palmchip provides a UART implementation compatible with 16550 1665*0c532546SMans Rullgard except for having a different register layout. Say Y here if 1666*0c532546SMans Rullgard the debug UART is of this type. 1667*0c532546SMans Rullgard 16687610b607SRussell Kingconfig DEBUG_UART_8250_FLOW_CONTROL 16697610b607SRussell King bool "Enable flow control for 8250 UART" 1670f8f1279cSRussell King depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 16710045c0ddSArnd Bergmann default y if ARCH_EBSA110 || DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC 16727610b607SRussell King 16733b4af9bcSShawn Guoconfig DEBUG_UNCOMPRESS 16743b4af9bcSShawn Guo bool 16759c77bc43SStefan Agner depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M 1676b6992fa9SRussell King default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ 1677ae3c99a2SStephen Warren (!DEBUG_TEGRA_UART || !ZBOOT_ROM) 1678b6992fa9SRussell King help 1679b6992fa9SRussell King This option influences the normal decompressor output for 1680b6992fa9SRussell King multiplatform kernels. Normally, multiplatform kernels disable 1681b6992fa9SRussell King decompressor output because it is not possible to know where to 1682b6992fa9SRussell King send the decompressor output. 1683b6992fa9SRussell King 1684b6992fa9SRussell King When this option is set, the selected DEBUG_LL output method 1685b6992fa9SRussell King will be re-used for normal decompressor output on multiplatform 1686b6992fa9SRussell King kernels. 1687b6992fa9SRussell King 16883b4af9bcSShawn Guo 1689615967b0SShawn Guoconfig UNCOMPRESS_INCLUDE 1690615967b0SShawn Guo string 1691ffd80eccSSachin Kamat default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ 169236d6c928SUlrich Hecht PLAT_SAMSUNG || ARM_SINGLE_ARMV7M 1693615967b0SShawn Guo default "mach/uncompress.h" 1694615967b0SShawn Guo 16951da177e4SLinus Torvaldsconfig EARLY_PRINTK 16961da177e4SLinus Torvalds bool "Early printk" 16971da177e4SLinus Torvalds depends on DEBUG_LL 16981da177e4SLinus Torvalds help 16991da177e4SLinus Torvalds Say Y here if you want to have an early console using the 17001da177e4SLinus Torvalds kernel low-level debugging functions. Add earlyprintk to your 17011da177e4SLinus Torvalds kernel parameters to enable this console. 17021da177e4SLinus Torvalds 17031da177e4SLinus Torvaldsconfig ARM_KPROBES_TEST 17041da177e4SLinus Torvalds tristate "Kprobes test module" 17051da177e4SLinus Torvalds depends on KPROBES && MODULES 17061da177e4SLinus Torvalds help 17071da177e4SLinus Torvalds Perform tests of kprobes API and instruction set simulation. 17081da177e4SLinus Torvalds 1709575320d6SWill Deaconconfig PID_IN_CONTEXTIDR 1710575320d6SWill Deacon bool "Write the current PID to the CONTEXTIDR register" 1711575320d6SWill Deacon depends on CPU_COPY_V6 1712575320d6SWill Deacon help 1713575320d6SWill Deacon Enabling this option causes the kernel to write the current PID to 1714575320d6SWill Deacon the PROCID field of the CONTEXTIDR register, at the expense of some 1715575320d6SWill Deacon additional instructions during context switch. Say Y here only if you 1716575320d6SWill Deacon are planning to use hardware trace tools with this kernel. 1717575320d6SWill Deacon 1718dca9aa92SLaura Abbottconfig DEBUG_SET_MODULE_RONX 1719dca9aa92SLaura Abbott bool "Set loadable kernel module data as NX and text as RO" 1720e6ae32c3SRussell King depends on MODULES && MMU 1721dca9aa92SLaura Abbott ---help--- 1722dca9aa92SLaura Abbott This option helps catch unintended modifications to loadable 1723dca9aa92SLaura Abbott kernel module's text and read-only data. It also prevents execution 1724dca9aa92SLaura Abbott of module data. Such protection may interfere with run-time code 1725dca9aa92SLaura Abbott patching and dynamic kernel tracing - and they might also protect 1726dca9aa92SLaura Abbott against certain classes of kernel exploits. 1727dca9aa92SLaura Abbott If in doubt, say "N". 1728dca9aa92SLaura Abbott 172901081f5aSMathieu Poiriersource "drivers/hwtracing/coresight/Kconfig" 1730bc4bf7feSPratik Patel 17311da177e4SLinus Torvaldsendmenu 1732