summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/oak/mainboard.c')
-rw-r--r--src/mainboard/google/oak/mainboard.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index 7cb6a68507..2e17678cb1 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -229,10 +229,7 @@ static void display_startup(void)
return;
}
- edid.x_resolution = edid.mode.ha;
- edid.y_resolution = edid.mode.va;
- edid.bytes_per_line = edid.mode.ha * edid.framebuffer_bits_per_pixel /
- 8;
+ edid_set_framebuffer_bits_per_pixel(&edid, 32, 0);
mtk_ddp_init();
ret = mtk_dsi_init(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE,