diff options
author | Christoph Niedermaier <cniedermaier@dh-electronics.de> | 2018-11-05 11:48:35 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-11-06 17:36:22 +0300 |
commit | 8bed5a5cfc3317217f4b4ddad8044cbdd13d5a20 (patch) | |
tree | 17192f617896cd0afc7bbd22e84d01eaaa2f01b2 /Documentation/EDID/HOWTO.txt | |
parent | d2f112a5681078aa2150f218074f76617fea4d74 (diff) | |
download | linux-8bed5a5cfc3317217f4b4ddad8044cbdd13d5a20.tar.xz |
Docs/EDID: Calculate CRC while building the code
The previous version made it necessary to first generate an
EDID data set without correct CRC and then to fix the CRC in
a second step. This patch adds the CRC calculation to the
makefile in such a way that a correct EDID data set is generated
in a single build step. Successfully tested with all existing
and a couple of new data sets.
Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.de>
Reviewed-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/EDID/HOWTO.txt')
-rw-r--r-- | Documentation/EDID/HOWTO.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Documentation/EDID/HOWTO.txt b/Documentation/EDID/HOWTO.txt index 7d05a7d30a79..539871c3b785 100644 --- a/Documentation/EDID/HOWTO.txt +++ b/Documentation/EDID/HOWTO.txt @@ -47,12 +47,3 @@ EDID: #define YBLANK vtotal-vdisp #define YOFFSET vsyncstart-vdisp #define YPULSE vsyncend-vsyncstart - -The CRC value in the last line - #define CRC 0x55 -also is a bit tricky. After a first version of the binary data set is -created, it must be checked with the "edid-decode" utility which will -most probably complain about a wrong CRC. Fortunately, the utility also -displays the correct CRC which must then be inserted into the source -file. After the make procedure is repeated, the EDID data set is ready -to be used. |