summaryrefslogtreecommitdiff
path: root/src/mainboard/google/snow/mainboard.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2012-12-10 16:13:43 -0800
committerRonald G. Minnich <rminnich@gmail.com>2012-12-12 06:01:26 +0100
commitf89e6b22c0c42983f94316d29cf4f2f73a6d2b84 (patch)
tree5410b4d3885a8878a51f646f2873e8d3dd91f130 /src/mainboard/google/snow/mainboard.c
parent3600e960b603a610064c6024c275e149944df1ca (diff)
downloadcoreboot-f89e6b22c0c42983f94316d29cf4f2f73a6d2b84.tar.xz
Add minimal mainboard support for snow
This is the minimal set of sources that allow the board to build. These need to be filled in with actual code. But if we get these in upstream we can stop working against a WIP patch. Change-Id: I9347a573bb40761f6a12be3ee8febe3ca4be55a3 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/2018 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/snow/mainboard.c')
-rw-r--r--src/mainboard/google/snow/mainboard.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mainboard/google/snow/mainboard.c b/src/mainboard/google/snow/mainboard.c
new file mode 100644
index 0000000000..00b3e93f00
--- /dev/null
+++ b/src/mainboard/google/snow/mainboard.c
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2012 The ChromeOS Authors
+ *
+ * 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., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#include <device/device.h>
+
+// mainboard_enable is executed as first thing after
+// enumerate_buses().
+
+static void mainboard_enable(device_t dev)
+{
+ //dev->ops->init = mainboard_init;
+}
+
+struct chip_operations mainboard_ops = {
+ .name = "Samsung/Google ARM ChromeBook",
+ .enable_dev = mainboard_enable,
+};
+