summaryrefslogtreecommitdiff
path: root/board/gingerbread/board.h
diff options
context:
space:
mode:
authorUdaya Kiran Ammu <udaykiran@google.com>2020-04-20 22:11:40 -0700
committerCommit Bot <commit-bot@chromium.org>2020-04-25 04:27:48 +0000
commit87c2d45e333909cd2d9e2b187b83ca07cf7007cc (patch)
tree842898611e94fa2ee61873e0980ab1783e6a03c0 /board/gingerbread/board.h
parent84d217f113db1aab88a8a886ffaebea60b1a3ef3 (diff)
downloadchrome-ec-87c2d45e333909cd2d9e2b187b83ca07cf7007cc.tar.gz
Gingerbread: Initial skeleton EC image.
This CL contains a skelton image. It is a derivative of honeybuns. BUG=b:154667178 BRANCH=none TEST=make BOARD=Gingerbread and verify that image builds successfully Signed-off-by: Udaya Kiran Ammu <udaykiran@google.com> Change-Id: I63a0e07956ed4cf430c09b94c9cd221fae3c4dd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2161461 Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/gingerbread/board.h')
-rw-r--r--board/gingerbread/board.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/board/gingerbread/board.h b/board/gingerbread/board.h
new file mode 100644
index 0000000000..c3052f3f59
--- /dev/null
+++ b/board/gingerbread/board.h
@@ -0,0 +1,53 @@
+/* Copyright 2020 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.
+ */
+
+/* Gingerbread board configuration */
+
+#ifndef __CROS_EC_BOARD_H
+#define __CROS_EC_BOARD_H
+
+/* Baseboard features */
+#include "baseboard.h"
+
+/* Optional features */
+#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
+
+#undef CONFIG_UART_TX_BUF_SIZE
+#define CONFIG_UART_TX_BUF_SIZE 4096
+
+/* Keyboard features */
+
+/* Sensors */
+
+/* USB Type C and USB PD defines */
+
+/* USB Type A Features */
+
+/* BC 1.2 */
+
+/* Volume Button feature */
+
+/* Fan features */
+
+/*
+ * Macros for GPIO signals used in common code that don't match the
+ * schematic names. Signal names in gpio.inc match the schematic and are
+ * then redefined here to so it's more clear which signal is being used for
+ * which purpose.
+ */
+#define GPIO_ENTERING_RW GPIO_EC_ENTERING_RW
+#define GPIO_WP_L GPIO_EC_WP_L
+
+
+
+#ifndef __ASSEMBLER__
+
+#include "gpio_signal.h"
+#include "registers.h"
+
+
+#endif /* !__ASSEMBLER__ */
+
+#endif /* __CROS_EC_BOARD_H */