kboot: Don't fail if there are fewer than 6 DCPEXTs on t600x

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-10-25 00:23:42 +09:00
parent 0fb9bf6c40
commit aa0a3e6fcf

View file

@ -1218,6 +1218,8 @@ static int dt_set_display(void)
dcpext_reserved_regions_t600x[n],
ARRAY_SIZE(dcpext_reserved_regions_t600x[n]));
}
ret = 0;
} else {
printf("DT: unknown compatible, skip display reserved-memory setup\n");
return 0;