ARM: 7116/1: debug: provide dummy default option for DEBUG_LL UART choice
Defaulting to DEBUG_ICEDCC will cause systems to hang during boot unless a hardware debugger is listening to the debug comms. channel. This patch adds a dummy UART option as the default DEBUG_LL choice which requires the platform to do the right thing. Acked-by: Stephen Boyd <sboyd@codeaurora.org> Tested-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
6996f425e5
commit
f73765fcb8
|
@ -81,6 +81,14 @@ choice
|
||||||
prompt "Kernel low-level debugging port"
|
prompt "Kernel low-level debugging port"
|
||||||
depends on DEBUG_LL
|
depends on DEBUG_LL
|
||||||
|
|
||||||
|
config DEBUG_LL_UART_NONE
|
||||||
|
bool "No low-level debugging UART"
|
||||||
|
help
|
||||||
|
Say Y here if your platform doesn't provide a UART option
|
||||||
|
below. This relies on your platform choosing the right UART
|
||||||
|
definition internally in order for low-level debugging to
|
||||||
|
work.
|
||||||
|
|
||||||
config DEBUG_ICEDCC
|
config DEBUG_ICEDCC
|
||||||
bool "Kernel low-level debugging via EmbeddedICE DCC channel"
|
bool "Kernel low-level debugging via EmbeddedICE DCC channel"
|
||||||
help
|
help
|
||||||
|
@ -89,8 +97,8 @@ choice
|
||||||
co-processor 14. This is known to work on the ARM9 style ICE
|
co-processor 14. This is known to work on the ARM9 style ICE
|
||||||
channel and on the XScale with the PEEDI.
|
channel and on the XScale with the PEEDI.
|
||||||
|
|
||||||
It does include a timeout to ensure that the system does not
|
Note that the system will appear to hang during boot if there
|
||||||
totally freeze when there is nothing connected to read.
|
is nothing connected to read from the DCC.
|
||||||
|
|
||||||
config DEBUG_FOOTBRIDGE_COM1
|
config DEBUG_FOOTBRIDGE_COM1
|
||||||
bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
|
bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
|
||||||
|
|
Loading…
Reference in New Issue