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>
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 7b7098a..405b3fd 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -470,9 +470,11 @@
* slots, seems to be specified by SPWG:
* http://www.spwg.org/
*/
+ strcpy(result_edid->ascii_string, extract_string(x + 5,
+ &c->has_valid_string_termination,
+ EDID_ASCII_STRING_LENGTH));
printk(BIOS_SPEW, "ASCII string: %s\n",
- extract_string(x + 5,
- &c->has_valid_string_termination, 13));
+ result_edid->ascii_string);
return 1;
case 0xFF:
printk(BIOS_SPEW, "Serial number: %s\n",