From 4ceceef8b4a3aa25fbac94de2b663d7a474e590b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 Jul 2013 04:05:51 -0700 Subject: [PATCH] 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. BUG=None TEST=Built and booted into recovery mode on Snow. Before this change, it would hang trying to display the recovery screen. After this change, it could show the screen and also continue into the recovery image. BRANCH=None Change-Id: I6ca3bd948482b347a6a981e83b82b10dca995e5e Signed-off-by: Gabe Black Reviewed-on: https://gerrit.chromium.org/gerrit/61057 Reviewed-by: Ronald G. Minnich Commit-Queue: Gabe Black Tested-by: Gabe Black --- src/mainboard/google/snow/mainboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/google/snow/mainboard.c b/src/mainboard/google/snow/mainboard.c index 5aedac9646..7e63cc83de 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 */