edid: Set timings flags according to edid
authorJernej Skrabec <jernej.skrabec@siol.net>
Sat, 29 Apr 2017 12:43:35 +0000 (14:43 +0200)
committerAnatolij Gustschin <agust@denx.de>
Mon, 15 May 2017 18:28:12 +0000 (20:28 +0200)
commitdc8cae4df3c016cbcb6eb8a841a7a94ff36b9e0b
tree9aa0d82acd01381dde0e6a0d00a552ea49b6fb61
parent22f3368e71321db1e0e15dfbf54b052367890ec7
edid: Set timings flags according to edid

Timing flags are never set, so they may contain garbage. Since some
drivers check them, video output may be broken on those drivers.

Initialize them to 0 and check for few common flags.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/edid.c