2 * Meta DA JTAG debugger control.
4 * Copyright 2012 Imagination Technologies Ltd.
8 #include <linux/export.h>
10 #include <linux/kernel.h>
12 #include <asm/metag_mem.h>
14 bool _metag_da_present
;
15 EXPORT_SYMBOL_GPL(_metag_da_present
);
17 int __init
metag_da_probe(void)
19 _metag_da_present
= (metag_in32(T0VECINT_BHALT
) == 1);
20 if (_metag_da_present
)
21 pr_info("DA present\n");
23 pr_info("DA not present\n");