diff options
author | Gabe Black <gabeblack@google.com> | 2013-07-07 04:05:51 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-12-12 22:02:52 +0100 |
commit | dcaaba44b62ebec7fa3d490f5dbf35931360cfa1 (patch) | |
tree | 4ba2a0e749148d8269272cd1ae4b30bf389e2e5a /src | |
parent | d6ff9e7deb0680b7d54958377834bc3c7606ba0c (diff) | |
download | coreboot-dcaaba44b62ebec7fa3d490f5dbf35931360cfa1.tar.xz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/snow/mainboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/snow/mainboard.c b/src/mainboard/google/snow/mainboard.c index 93cc303cbc..0d194b45dc 100644 --- a/src/mainboard/google/snow/mainboard.c +++ b/src/mainboard/google/snow/mainboard.c @@ -47,6 +47,9 @@ static struct edid edid = { .ha = 1366, .va = 768, .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 */ |