aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/d510mo/mainboard.c
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2015-05-04 10:41:21 +1000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-02 00:39:03 +0100
commit74d165b18d749bf959f717b37ea67b84066271d6 (patch)
tree49426a1ac1cf83be5d957334fcecd1c40695160a /src/mainboard/intel/d510mo/mainboard.c
parent149c4c5d0191f1728a66ec986c3eae698cbf87cb (diff)
mainboard/intel/d510mo: Add Intel D510MO mainboard
Board uses Pineview native raminit Board boots from grub to linux kernel VGA needs work, currently headless machine Change-Id: I8e459c6d40e0711fac8fb8cfbf31d9cb2aaab3aa Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/10074 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/d510mo/mainboard.c')
-rw-r--r--src/mainboard/intel/d510mo/mainboard.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/intel/d510mo/mainboard.c b/src/mainboard/intel/d510mo/mainboard.c
new file mode 100644
index 0000000000..3b0ef0f274
--- /dev/null
+++ b/src/mainboard/intel/d510mo/mainboard.c
@@ -0,0 +1,36 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
+ *
+ * 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.
+ */
+
+#include <device/device.h>
+#include <device/pci_def.h>
+#include <device/pci_ops.h>
+#include <drivers/intel/gma/i915.h>
+#include <pc80/mc146818rtc.h>
+#include <device/pci.h>
+
+const struct i915_gpu_controller_info *
+intel_gma_get_controller_info(void)
+{
+ return NULL;
+}
+
+static void mainboard_enable(device_t dev)
+{
+ dev->ops->init = NULL;
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};