summaryrefslogtreecommitdiff
path: root/chip/mec1322
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-08-31 18:36:17 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-07 15:01:05 -0700
commit0898c7a63a4ccb0f11c1c61bb085d8d062f664ab (patch)
tree328298c6608da573904a497af5985db7280d686f /chip/mec1322
parent096ea20ed18095a967e1829b6ae60b13453416be (diff)
downloadchrome-ec-0898c7a63a4ccb0f11c1c61bb085d8d062f664ab.tar.gz
cleanup: Remove jtag_pre_init()
Use our newly-created chip_pre_init() for doing JTAG initialization. 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>
Diffstat (limited to 'chip/mec1322')
-rw-r--r--chip/mec1322/build.mk2
-rw-r--r--chip/mec1322/jtag.c13
2 files changed, 1 insertions, 14 deletions
diff --git a/chip/mec1322/build.mk b/chip/mec1322/build.mk
index 615697be0b..14726e9705 100644
--- a/chip/mec1322/build.mk
+++ b/chip/mec1322/build.mk
@@ -17,7 +17,7 @@ include core/$(CORE)/build.mk
endif
# Required chip modules
-chip-y=clock.o gpio.o hwtimer.o system.o uart.o jtag.o port80.o
+chip-y=clock.o gpio.o hwtimer.o system.o uart.o port80.o
chip-$(CONFIG_ADC)+=adc.o
chip-$(CONFIG_FANS)+=fan.o
chip-$(CONFIG_FLASH_PHYSICAL)+=flash.o
diff --git a/chip/mec1322/jtag.c b/chip/mec1322/jtag.c
deleted file mode 100644
index fdc2ed63cd..0000000000
--- a/chip/mec1322/jtag.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Copyright (c) 2013 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.
- */
-/* Settings to enable JTAG debugging */
-
-#include "jtag.h"
-#include "registers.h"
-
-void jtag_pre_init(void)
-{
- /* Not implemented yet */
-}