summaryrefslogtreecommitdiff
path: root/arch/metag/Kconfig
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2012-09-21 17:38:15 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:09:56 +0000
commitae85ac71b7433fa974759109c4380c620258f07f (patch)
tree066915c6c1f0f830c35ff12f4a84e233b6fd15da /arch/metag/Kconfig
parent690998b629a554d8004d3129a42176afafce9fae (diff)
metag: Add JTAG Debug Adapter (DA) support
Add basic JTAG Debug Adapter (DA) support so that drivers which communicate with the DA can detect whether one is actually present (otherwise the target will halt indefinitely). This allows the metag_da TTY driver and imgdafs filesystem driver to be built, updates defconfigs, and sets up the metag_da console early if it's configured in. Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/Kconfig')
-rw-r--r--arch/metag/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig
index f6846ad5d3a8..30adc7875daa 100644
--- a/arch/metag/Kconfig
+++ b/arch/metag/Kconfig
@@ -214,6 +214,18 @@ config METAG_PERFCOUNTER_IRQS
When disabled, Performance Counters information will be collected
based on Timer Interrupt.
+config METAG_DA
+ bool "DA support"
+ help
+ Say Y if you plan to use a DA debug adapter with Linux. The presence
+ of the DA will be detected automatically at boot, so it is safe to say
+ Y to this option even when booting without a DA.
+
+ This enables support for services provided by DA JTAG debug adapters,
+ such as:
+ - communication over DA channels (such as the console driver).
+ - use of the DA filesystem.
+
menu "Boot options"
config METAG_BUILTIN_DTB