summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ga-h61m-series/mainboard.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-21 22:34:44 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-30 08:55:19 +0000
commit991ee05de9fedc15f178660e0cac0b46e783525e (patch)
treec8bfd967763942cb684687dda8a4e0239142297c /src/mainboard/gigabyte/ga-h61m-series/mainboard.c
parent0c0b16ac9e8ae62533f3029aa1a9f33506222dce (diff)
downloadcoreboot-991ee05de9fedc15f178660e0cac0b46e783525e.tar.xz
mb/gigabyte/ga-h61m-s2pv: rename to ga-h61m-series
It is not a single mainboard anymore, it's actually three variants. Change-Id: I66f1239abadd8bf93269d6d4617329dc4b925e8d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39743 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/gigabyte/ga-h61m-series/mainboard.c')
-rw-r--r--src/mainboard/gigabyte/ga-h61m-series/mainboard.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/gigabyte/ga-h61m-series/mainboard.c b/src/mainboard/gigabyte/ga-h61m-series/mainboard.c
new file mode 100644
index 0000000000..e14e31c041
--- /dev/null
+++ b/src/mainboard/gigabyte/ga-h61m-series/mainboard.c
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ *
+ * 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 <drivers/intel/gma/int15.h>
+#include <southbridge/intel/bd82x6x/pch.h>
+
+static void mainboard_enable(struct device *dev)
+{
+ install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_NONE,
+ GMA_INT15_PANEL_FIT_DEFAULT,
+ GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};