mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-25 16:10:16 +00:00
kboot: dcp: Enable dcpext on t600x/t8103 as well
Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
e72e84f669
commit
f297951783
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue