mb/google/geralt: Keep booting even if MIPI panel not found
We should keep booting even failed to get the MIPI panel. BUG=none TEST=emerge-geralt coreboot; Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I39d9e04e5908f669ae2a1a8ce8858b93cae20654 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71785 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f488a40120
commit
1fd7d9dc90
|
@ -53,7 +53,8 @@ struct panel_description *get_active_panel(void)
|
||||||
|
|
||||||
/* We need to find init cmds for MIPI panel from CBFS */
|
/* We need to find init cmds for MIPI panel from CBFS */
|
||||||
get_mipi_cmd_from_cbfs(panel);
|
get_mipi_cmd_from_cbfs(panel);
|
||||||
assert(panel->s);
|
if (!panel->s)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
const struct edid *edid = &panel->s->edid;
|
const struct edid *edid = &panel->s->edid;
|
||||||
const char *name = edid->ascii_string;
|
const char *name = edid->ascii_string;
|
||||||
|
|
Loading…
Reference in New Issue