snow: Fix the edid data structure definition so depthcharge works again.

Some new fields were added to the edid data structure, and the edid code was
changed to put estimated values into those fields which were ultimately passed
into depthcharge or other payloads. On snow we do things different and just
declare an edid structure statically which didn't have those members. The rows
and columns of the graphics console were 0, and that confused the framebuffer
driver and made it loop forever.

Change-Id: I6ca3bd948482b347a6a981e83b82b10dca995e5e
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/61057
Reviewed-by: Ronald G. Minnich <rminnich@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/4341
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Gabe Black 2013-07-07 04:05:51 -07:00 committed by Stefan Reinauer
parent d6ff9e7deb
commit dcaaba44b6
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ static struct edid edid = {
.ha = 1366, .ha = 1366,
.va = 768, .va = 768,
.bpp = 16, .bpp = 16,
.x_resolution = 1366,
.y_resolution = 768,
.bytes_per_line = 2 * 1366
}; };
/* TODO: transplanted DP stuff, clean up once we have something that works */ /* TODO: transplanted DP stuff, clean up once we have something that works */