blob: 9c7835dfd0d5c5002a4adfbc37edb717d9d0e887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* JTAG interface for Chrome EC */
#ifndef __CROS_EC_JTAG_H
#define __CROS_EC_JTAG_H
#include "common.h"
/**
* Pre-initialize the JTAG module.
*/
void jtag_pre_init(void);
#ifdef CONFIG_LOW_POWER_IDLE
/**
* Interrupt handler for JTAG clock.
*
* @param signal Signal which triggered the interrupt.
*/
void jtag_interrupt(enum gpio_signal signal);
#else
#define jtag_interrupt NULL
#endif
#endif /* __CROS_EC_JTAG_H */
|