]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/edid.h
edid: Add an edid_check_checksum() helper function
[karo-tx-uboot.git] / include / edid.h
index d3cc5232dec8e87d18fab5f394d34d90f3267414..a69f43a20648381f79c3131acc018f9e477e1d84 100644 (file)
@@ -245,6 +245,15 @@ void edid_print_info(struct edid1_info *edid_info);
  */
 int edid_check_info(struct edid1_info *info);
 
+/**
+ * Check checksum of a 128 bytes EDID data block
+ *
+ * @param edid_block   EDID block data
+ *
+ * @return 0 on success, or a negative errno on error
+ */
+int edid_check_checksum(u8 *edid_block);
+
 /**
  * Get the horizontal and vertical rate ranges of the monitor.
  *