summaryrefslogtreecommitdiff
path: root/common/main.c
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 /common/main.c
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 'common/main.c')
-rw-r--r--common/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/main.c b/common/main.c
index 8a1c1dabb1..95ef89f798 100644
--- a/common/main.c
+++ b/common/main.c
@@ -16,7 +16,6 @@
#include "flash.h"
#include "gpio.h"
#include "hooks.h"
-#include "jtag.h"
#include "keyboard_scan.h"
#ifdef CONFIG_MPU
#include "mpu.h"
@@ -64,8 +63,6 @@ test_mockable __keep int main(void)
mpu_pre_init();
#endif
- /* Configure the pin multiplexers and GPIOs */
- jtag_pre_init();
gpio_pre_init();
#ifdef CONFIG_BOARD_POST_GPIO_INIT