summaryrefslogtreecommitdiff
path: root/src/lib/edid.c
diff options
context:
space:
mode:
authorVince Hsu <vinceh@nvidia.com>2014-04-21 17:07:57 +0800
committerMarc Jones <marc.jones@se-eng.com>2014-12-17 04:51:10 +0100
commit4213b970ce3d8451e7bac19433c2109cc4aac04e (patch)
treed0ddd4fa9776c3833e83c3701d436cbd48eeff2e /src/lib/edid.c
parent1c8ee21fd31195be6a0473d10b1e7717f6adc5c2 (diff)
downloadcoreboot-4213b970ce3d8451e7bac19433c2109cc4aac04e.tar.xz
edid: initialize has_valid_detailed_blocks as 1
In last clean-up commit, the detailed_blocks parsing has been merged to one for-loop and combining return values in each iteration instead of assignment. As a result, has_valid_detailed_blocks should now be initialized as 1. BRANCH=none BUG=none TEST=Tested AUO 1080p and InnoLux 720p panels on nyan_big Original-Change-Id: Ie4b6e25de63c0e216ae5de9bde20eed1fe3e59a6 Original-Signed-off-by: Vince Hsu <vinceh@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/195803 Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org> Original-Commit-Queue: Hung-Te Lin <hungte@chromium.org> Original-Tested-by: Hung-Te Lin <hungte@chromium.org> (cherry picked from commit 21ac533d17c892c39532c263cc6ec15e4507ed3e) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I23111efb902c7e5994a4dbdfe77242c13ef5a70e Reviewed-on: http://review.coreboot.org/7835 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib/edid.c')
-rw-r--r--src/lib/edid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 89755e03cb..07850ee10f 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -968,6 +968,7 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
.has_valid_cvt = 1,
.has_valid_dummy_block = 1,
.has_valid_descriptor_ordering = 1,
+ .has_valid_detailed_blocks = 1,
.has_valid_descriptor_pad = 1,
.has_valid_range_descriptor = 1,
.has_valid_max_dotclock = 1,