Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / arch / metag / kernel / da.c
1 /*
2 * Meta DA JTAG debugger control.
3 *
4 * Copyright 2012 Imagination Technologies Ltd.
5 */
6
7
8 #include <linux/export.h>
9 #include <linux/io.h>
10 #include <linux/kernel.h>
11 #include <asm/da.h>
12 #include <asm/metag_mem.h>
13
14 bool _metag_da_present;
15 EXPORT_SYMBOL_GPL(_metag_da_present);
16
17 int __init metag_da_probe(void)
18 {
19 _metag_da_present = (metag_in32(T0VECINT_BHALT) == 1);
20 if (_metag_da_present)
21 pr_info("DA present\n");
22 else
23 pr_info("DA not present\n");
24 return 0;
25 }
This page took 0.054268 seconds and 5 git commands to generate.