Commit 8bed5a5c authored by Christoph Niedermaier's avatar Christoph Niedermaier Committed by Jonathan Corbet
Browse files

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: default avatarChristoph Niedermaier <cniedermaier@dh-electronics.de>
Reviewed-by: default avatarCarsten Emde <C.Emde@osadl.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent d2f112a5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -39,6 +39,5 @@
#define ESTABLISHED_TIMING2_BITS 0x08 /* Bit 3 -> 1024x768 @60 Hz */
#define HSYNC_POL 0
#define VSYNC_POL 0
#define CRC 0x55

#include "edid.S"
+0 −1
Original line number Diff line number Diff line
@@ -39,6 +39,5 @@
/* No ESTABLISHED_TIMINGx_BITS */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define CRC 0xa0

#include "edid.S"
+0 −1
Original line number Diff line number Diff line
@@ -39,6 +39,5 @@
/* No ESTABLISHED_TIMINGx_BITS */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define CRC 0x9d

#include "edid.S"
+0 −1
Original line number Diff line number Diff line
@@ -39,6 +39,5 @@
/* No ESTABLISHED_TIMINGx_BITS */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define CRC 0x26

#include "edid.S"
+0 −1
Original line number Diff line number Diff line
@@ -39,6 +39,5 @@
/* No ESTABLISHED_TIMINGx_BITS */
#define HSYNC_POL 1
#define VSYNC_POL 1
#define CRC 0x05

#include "edid.S"
Loading