aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/veyron_brain/board.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2014-12-19 15:34:08 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-15 16:42:18 +0200
commit16e32ed2f317c410382ed3c4a37380d4e82cf9bb (patch)
treea7f9f78db47d180457f520f91f831f179b4341a8 /src/mainboard/google/veyron_brain/board.h
parent7f00962e70c57b0fc6faf50b8fbf26f95b96e6d2 (diff)
Brain: Initial mainboard import
This adds a directory with files copied over from Jerry, in addition to build system related changes (configs/* and Kconfig stuff) necessary to emerge-veyron_brain coreboot. The next patch will account for differences between Jerry and Brain. BUG=none BRANCH=none TEST=emerge-veyron_brain coreboot works Change-Id: Ib0da9caf80f46991b96bcb5756f807237f0902e1 Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: 9509d6277dae25a78062c1301054a39f704b33fe Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: I972f2623d9b0a43e3ea5312b3c4cd34ab44edc36 Original-Reviewed-on: https://chromium-review.googlesource.com/236989 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9637 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/mainboard/google/veyron_brain/board.h')
-rw-r--r--src/mainboard/google/veyron_brain/board.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/google/veyron_brain/board.h b/src/mainboard/google/veyron_brain/board.h
new file mode 100644
index 0000000000..2b1643d4bd
--- /dev/null
+++ b/src/mainboard/google/veyron_brain/board.h
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __MAINBOARD_GOOGLE_VEYRON_JERRY_BOARD_H
+#define __MAINBOARD_GOOGLE_VEYRON_JERRY_BOARD_H
+
+#include <boardid.h>
+#include <gpio.h>
+
+#define PMIC_BUS 0
+
+#define GPIO_RESET GPIO(0, B, 5)
+
+/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
+
+#endif /* __MAINBOARD_GOOGLE_VEYRON_JERRY_BOARD_H */