Skip to content

Commit

Permalink
kboot: dcp: Enable dcpext on t600x/t8103 as well
Browse files Browse the repository at this point in the history
Signed-off-by: Janne Grunau <[email protected]>
  • Loading branch information
jannau authored and marcan committed Nov 14, 2023
1 parent e72e84f commit f297951
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/kboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f297951

Please sign in to comment.