summaryrefslogtreecommitdiff
path: root/src/mainboard/google/urara/mainboard.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2014-08-21 14:19:31 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-03-27 08:06:24 +0100
commitab0f710af735ecf2a8f8ca2dd1d3eeb16b54b818 (patch)
tree43847c33acd83bc359e78b09266f8cd20216278e /src/mainboard/google/urara/mainboard.c
parent3693838d47a133cc0133353ea6361e6fef8b664d (diff)
downloadcoreboot-ab0f710af735ecf2a8f8ca2dd1d3eeb16b54b818.tar.xz
urara: introduce board skeleton
Not much is happening yet, when the board is enabled (in the next patch), all three components build successfully, the map files show them placed where expected and the bopotblock is wrappeed in a BIMG header. BUG=chrome-os-partner:31438 TEST=when config is enabled, emerge-urara coreboot succeeds. more extensive testing to come later Change-Id: Ib7396189f4bee0fdd6a8ce5c9ab1277806cb5dcc Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1ca9efe59a7fcb99412410d509a7f9a91b6ef3ec Original-Change-Id: I573cfb70f5c1e612dfa0a55d3d22d92f00584c66 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/214600 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9047 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/urara/mainboard.c')
-rw-r--r--src/mainboard/google/urara/mainboard.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mainboard/google/urara/mainboard.c b/src/mainboard/google/urara/mainboard.c
new file mode 100644
index 0000000000..dd9cfa7c27
--- /dev/null
+++ b/src/mainboard/google/urara/mainboard.c
@@ -0,0 +1,33 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2014 Imagination Technologies
+ *
+ * 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
+ */
+
+#include <console/console.h>
+#include <device/device.h>
+
+static void mainboard_enable(device_t dev)
+{
+ printk(BIOS_INFO, "Enable Danube device...\n");
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};
+