summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerrit <chrome-bot@google.com>2012-04-13 10:02:21 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2012-04-13 10:02:21 -0700
commit20467eb15bc6c191bf636cf1782de39f61470057 (patch)
tree6ff1ac203f07c6e31bbc95bdffbca44ac87ca8ad /include
parent765386a6238e1ceab3aaf9f5b07a4a563b698454 (diff)
parent71030319ec40c3fb299733d3abd4dcede28f1386 (diff)
downloadchrome-ec-20467eb15bc6c191bf636cf1782de39f61470057.tar.gz
Merge "stm32l: Add basic SPI driver"
Diffstat (limited to 'include')
-rw-r--r--include/spi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/spi.h b/include/spi.h
new file mode 100644
index 0000000000..45ea75231f
--- /dev/null
+++ b/include/spi.h
@@ -0,0 +1,14 @@
+/* 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.
+ */
+
+/* SPI interface for Chrome EC */
+
+#ifndef __CROS_EC_SPI_H
+#define __CROS_EC_SPI_H
+
+/* Initialize the SPI module ready for use */
+extern int spi_init(void);
+
+#endif /* __CROS_EC_SPI_H */