summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/gma.ads
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-02-18 01:25:58 +0100
committerNico Huber <nico.h@gmx.de>2019-08-05 16:12:53 +0000
commitb92c4e36837635252c0d2eddf381dc87edfb06c0 (patch)
tree083f8dd8220376ea20bb23535eae10adabf477b8 /src/drivers/intel/gma/gma.ads
parent3071c8114a8ea29b66916b9207d8ac07aad3b676 (diff)
downloadcoreboot-b92c4e36837635252c0d2eddf381dc87edfb06c0.tar.xz
drivers/intel/gma: Export Read_EDID() to C
Change-Id: Icf802904c569e621ca3b3105b6107936776c5cee Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31458 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/gma/gma.ads')
-rw-r--r--src/drivers/intel/gma/gma.ads12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/gma.ads b/src/drivers/intel/gma/gma.ads
index a6ce3a4f77..0b4b66bde7 100644
--- a/src/drivers/intel/gma/gma.ads
+++ b/src/drivers/intel/gma/gma.ads
@@ -1,2 +1,14 @@
+with Interfaces.C;
+
+with HW.GFX.EDID;
+
package GMA is
+
+ function read_edid
+ (raw_edid : out HW.GFX.EDID.Raw_EDID_Data;
+ Port : in Interfaces.C.int)
+ return Interfaces.C.int
+ with
+ Export, Convention => C, External_Name => "gma_read_edid";
+
end GMA;