summaryrefslogtreecommitdiff
path: root/board/board_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/board_interface.h')
-rw-r--r--board/board_interface.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/board_interface.h b/board/board_interface.h
new file mode 100644
index 0000000000..6d63b8cec2
--- /dev/null
+++ b/board/board_interface.h
@@ -0,0 +1,20 @@
+/* Copyright (c) 2011 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.
+ *
+ * board.h -- defines the board interface. The implementation will be under
+ * board/your_board_name/main.c.
+ */
+
+#ifndef __BOARD_BOARD_INTERFACE_H
+#define __BOARD_BOARD_INTERFACE_H
+
+#include "cros_ec/include/ec_common.h"
+
+/* The initialize function of a board. Called by the EC core at start.
+ * The main mission is to register its callback function to the EC core.
+ */
+EcError BoardInit();
+
+
+#endif /* __BOARD_BOARD_INTERFACE_H */