summaryrefslogtreecommitdiffstats
path: root/src/include/edid.h
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-04-29 14:00:47 +0200
committerNico Huber <nico.h@gmx.de>2017-05-03 16:18:15 +0200
commitdbe81612adba70d02831ffae57dd406fa08785b8 (patch)
treeabda1ed473383e69efe0ca72aa0ddd3657309430 /src/include/edid.h
parent53485d2eabc4312f5e48429e8f9a5e51b4c961e4 (diff)
downloadcoreboot-dbe81612adba70d02831ffae57dd406fa08785b8.tar.gz
coreboot-dbe81612adba70d02831ffae57dd406fa08785b8.tar.bz2
coreboot-dbe81612adba70d02831ffae57dd406fa08785b8.zip
lib/edid: Save the display ASCII string
Change-Id: Ic31af53dcb9947e2264c809ee8f80ea4f89f347d Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/19499 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include/edid.h')
-rw-r--r--src/include/edid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/edid.h b/src/include/edid.h
index 100dbe9ba312..1eb8c4d30661 100644
--- a/src/include/edid.h
+++ b/src/include/edid.h
@@ -53,6 +53,8 @@ struct edid_mode {
* unsigned int. We can move more into into this struct as needed.
*/
+#define EDID_ASCII_STRING_LENGTH 13
+
struct edid {
/* These next three things used to all be called bpp.
* Merriment ensued. The identifier
@@ -89,6 +91,7 @@ struct edid {
u32 bytes_per_line;
int hdmi_monitor_detected;
+ char ascii_string[EDID_ASCII_STRING_LENGTH + 1];
};
enum edid_status {