Skip to content

Commit cc00f28

Browse files
committed
anx7625: retry boot if wrong fw version returned
1 parent d37974d commit cc00f28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/ENVIE_Video_coreboot/anx7625.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,11 @@ static int anx7625_power_on_init(uint8_t bus)
777777
//anx7625_disable_pd_protocol(bus);
778778
anx7625_reg_read(bus, RX_P0_ADDR, OCM_FW_VERSION, &version);
779779
anx7625_reg_read(bus, RX_P0_ADDR, OCM_FW_REVERSION, &revision);
780+
781+
if (version == 0 && revision == 0) {
782+
continue;
783+
}
784+
780785
ANXINFO("Firmware: ver %#02x, rev %#02x.\n", version, revision);
781786
return 0;
782787
}

0 commit comments

Comments
 (0)