summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/folio_9480m/mainboard.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-09-08 19:50:55 +0800
committerIru Cai <mytbk920423@gmail.com>2020-09-17 00:27:28 +0800
commit6fa724292f05462ddb8824c73c2958f36c19aca7 (patch)
tree9f4f6de2582380890ad694603c81218ba5ed8a95 /src/mainboard/hp/folio_9480m/mainboard.c
parente93c7defcc58ad3e4f2d1295069cecd631f69f9f (diff)
downloadcoreboot-hp9480m.tar.xz
mb/hp: Add HP EliteBook Folio 9480mhp9480m
The code is based on autoport, with necessary modifications. This laptop uses SMSC MEC1322 embedded controller, but the EC interface is the same as the EliteBook laptops of previous generations that use KBC1126 EC. Thanks to persmule for providing the laptop and pointing out the flashing method for it. Change-Id: I2328c43cbb1f488aa1d0ddd9116814d971e5d8ae Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Diffstat (limited to 'src/mainboard/hp/folio_9480m/mainboard.c')
-rw-r--r--src/mainboard/hp/folio_9480m/mainboard.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/hp/folio_9480m/mainboard.c b/src/mainboard/hp/folio_9480m/mainboard.c
new file mode 100644
index 0000000000..98cc8110cc
--- /dev/null
+++ b/src/mainboard/hp/folio_9480m/mainboard.c
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/device.h>
+#include <drivers/intel/gma/int15.h>
+
+static void mainboard_enable(struct device *dev)
+{
+ install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_EDP, GMA_INT15_PANEL_FIT_DEFAULT,
+ GMA_INT15_BOOT_DISPLAY_DEFAULT, 0);
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};