diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2017-08-31 18:36:17 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2017-09-11 21:34:19 +0000 |
commit | 58c58000843a5c544a0f74abdb51d2985353642f (patch) | |
tree | c3f56c9d97fa7c941149545ab99d0100379ac13d /include | |
parent | b31512fe872257a6a34019e9f80d2c0352d3c544 (diff) | |
download | chrome-ec-58c58000843a5c544a0f74abdb51d2985353642f.tar.gz |
cleanup: Remove jtag_pre_init()
Use our newly-created chip_pre_init() for doing JTAG initialization.
Conflicts:
chip/npcx/build.mk
BUG=chromium:747629
BRANCH=None
TEST=`make buildall -j`
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ic5771895a214a9f1aa9bd289eef576f52adf973f
Reviewed-on: https://chromium-review.googlesource.com/629676
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit 0898c7a63a4ccb0f11c1c61bb085d8d062f664ab)
Reviewed-on: https://chromium-review.googlesource.com/660892
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/jtag.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/jtag.h b/include/jtag.h deleted file mode 100644 index cf927c2e2d..0000000000 --- a/include/jtag.h +++ /dev/null @@ -1,30 +0,0 @@ -/* 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" -#include "gpio.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 -static inline void jtag_interrupt(enum gpio_signal signal) { } -#endif /* !CONFIG_LOW_POWER_IDLE */ - -#endif /* __CROS_EC_JTAG_H */ |