summaryrefslogtreecommitdiffstats
path: root/src/mainboard/asrock/b75pro3-m/mainboard.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2017-06-15 18:18:51 +0800
committerMartin Roth <martinroth@google.com>2017-08-21 17:02:19 +0000
commit928c6c6336f2f04a7bd2d489ac9901aa0d7dfa2a (patch)
tree0a0213a8856f6e134306fe0e7942b7c31835c1d7 /src/mainboard/asrock/b75pro3-m/mainboard.c
parentb016f144cc9301b42b9578131b49ac2100926383 (diff)
downloadcoreboot-928c6c6336f2f04a7bd2d489ac9901aa0d7dfa2a.tar.gz
coreboot-928c6c6336f2f04a7bd2d489ac9901aa0d7dfa2a.tar.bz2
coreboot-928c6c6336f2f04a7bd2d489ac9901aa0d7dfa2a.zip
mainboard/asrock: add ASRock B75 Pro3-M
Tested: - i5-3550 and DIMM configurations: 2+0+2+2, 0+2+2+2, 2+2+2+2, 4+2+4+2 - debug output from serial port, EHCI debug port not found - Arch Linux (Linux 4.11.5) loaded from SeaBIOS, GRUB2, and Linux payload - all PCI and PCI Express slots Issues: - sometimes the machine fails to boot, with serial debug output it can be seen it stucks after SMM initialization, and more likely to fail to boot when serial cable is attached - no S3 resume (not tested in vendor firmware) Change-Id: I94fbfcee06921538b32aa3c23efa642e7e405ef6 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/20227 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/asrock/b75pro3-m/mainboard.c')
-rw-r--r--src/mainboard/asrock/b75pro3-m/mainboard.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/mainboard.c b/src/mainboard/asrock/b75pro3-m/mainboard.c
new file mode 100644
index 000000000000..f0d0cf72d0ba
--- /dev/null
+++ b/src/mainboard/asrock/b75pro3-m/mainboard.c
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2017 Iru Cai <mytbk920423@gmail.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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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(device_t dev)
+{
+ install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_NONE,
+ GMA_INT15_PANEL_FIT_DEFAULT,
+ GMA_INT15_BOOT_DISPLAY_CRT, 0);
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};