kboot: dcp: Enable dcpext on t600x/t8103 as well

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-11-07 20:52:18 +01:00 committed by Hector Martin
parent e72e84f669
commit f297951783

View file

@ -1483,6 +1483,11 @@ static int dt_add_reserved_regions(const char *dcp_alias, const char *disp_alias
if (fdt_setprop_string(dt, dart_disp0, "status", "okay") < 0)
bail_cleanup("FDT: failed to enable 'dart-disp0'\n");
}
/* enable dcp* */
int dcp_node = fdt_path_offset(dt, dcp_alias);
if (dcp_node < 0 || fdt_setprop_string(dt, dcp_node, "status", "okay") < 0)
bail_cleanup("FDT: failed to enable '%s'\n", dcp_alias);
err:
if (dart_dcp)
dart_shutdown(dart_dcp);