summaryrefslogtreecommitdiff
path: root/chip/it83xx/jtag.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-10-25 15:33:41 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-08 02:24:23 +0000
commit4cf4fcf1cb6a4332a27dd76ae19ba8852ddbaaec (patch)
treec7c60433492976a10506ec93e8fee8f7483fa44c /chip/it83xx/jtag.c
parent375e75de27813e0f440fefc45892157972e300dc (diff)
downloadchrome-ec-4cf4fcf1cb6a4332a27dd76ae19ba8852ddbaaec.tar.gz
ite: Add initial support for ITE IT8380 chip
Initial support for the ITE IT8380 chip with the following peripherals : - 8250-like UART module. - HW timer (with a 128-us tick period). - GPIO with pins initialization and edge interrupt support. other functions are stubbed. - Clock : basic fixed frequency setup only. It also add the dev board configuration as a test vehicle. Signed-off-by: Alec Berg <alecaberg@chromium.org> Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:23575 TEST=make BOARD=it8380dev on IT8380 dev board, use the EC serial console, use gettime from console. Change-Id: Id4bf37d1beb21d1a4bee404c9a0bc500025fe787 Reviewed-on: https://chromium-review.googlesource.com/175481 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'chip/it83xx/jtag.c')
-rw-r--r--chip/it83xx/jtag.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/chip/it83xx/jtag.c b/chip/it83xx/jtag.c
new file mode 100644
index 0000000000..b876d7f914
--- /dev/null
+++ b/chip/it83xx/jtag.c
@@ -0,0 +1,15 @@
+/* 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.
+ */
+
+#include "clock.h"
+#include "gpio.h"
+#include "jtag.h"
+#include "registers.h"
+#include "system.h"
+
+void jtag_pre_init(void)
+{
+ /* TODO(crosbug.com/p/23575): IMPLEMENT ME ! */
+}