aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/hp/folio_9480m/gma-mainboard.ads
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2020-09-08 19:50:55 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-11-10 06:16:05 +0000
commit85d0e7611a5cf9dcbf7d82deb54cc7e1e6fc79e8 (patch)
tree4725fb3f1538cbf09df121b42d08a24d586c9864 /src/mainboard/hp/folio_9480m/gma-mainboard.ads
parent43cc3c0273a165da17c50dad68c009ea557c9462 (diff)
mb/hp: Add HP EliteBook Folio 9480m
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. So it still uses ec/hp/kbc1126, but does not need EC firmware inserted into CBFS. We also need to leave the end of the OEM flash content untouched, so the default ROM size is set to 12MiB instead of 16MiB, and we need to modify the IFD when flashing. Thanks to persmule for providing the laptop and pointing out how to program the system flash chip of it. Change-Id: I2328c43cbb1f488aa1d0ddd9116814d971e5d8ae Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45578 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/hp/folio_9480m/gma-mainboard.ads')
-rw-r--r--src/mainboard/hp/folio_9480m/gma-mainboard.ads18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/hp/folio_9480m/gma-mainboard.ads b/src/mainboard/hp/folio_9480m/gma-mainboard.ads
new file mode 100644
index 0000000000..85e9ded77b
--- /dev/null
+++ b/src/mainboard/hp/folio_9480m/gma-mainboard.ads
@@ -0,0 +1,18 @@
+-- SPDX-License-Identifier: GPL-2.0-or-later
+
+with HW.GFX.GMA;
+with HW.GFX.GMA.Display_Probing;
+
+use HW.GFX.GMA;
+use HW.GFX.GMA.Display_Probing;
+
+private package GMA.Mainboard is
+
+ ports : constant Port_List :=
+ (DP1, -- DP1/HDMI1: DisplayPorts on board and dock
+ HDMI1,
+ DP2, -- DP2: VGA ports on board and dock
+ eDP,
+ others => Disabled);
+
+end GMA.Mainboard;