Skip to content

Commit

Permalink
[CRYO] debug OP-TEE#2
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Suvorov <[email protected]>
  • Loading branch information
MrCry0 committed Oct 2, 2022
1 parent a20659b commit 6bdf08e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/arch/arm/kernel/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,18 +1220,20 @@ static int add_descriptor_node(struct dt_descriptor *dt, const char *driver)
if (offs < 0) {
DMSG("%s(): offs=%d add_dt_path_subnode(%p, %s)\n", __func__, offs, dt->blob, root_name);
offs = add_dt_path_subnode(dt, "/", root);
DMSG("%s(): offs=%d [%x]\n", __func__, offs, offs);
DMSG("%s(): offs=%d\n", __func__, offs);
if (offs < 0)
return -1;
}

for (j = 0; j < i; j++) {
DMSG("%s(): fdt_add_subnode(%p, %d [%x], %s)\n", __func__, dt->blob, offs, offs, item[j]);
DMSG("%s(): fdt_add_subnode(%p, %d, %s)\n", __func__, dt->blob, offs, item[j]);
offs = fdt_add_subnode(dt->blob, offs, item[j]);
DMSG("%s(): offs=%d [%x]\n", __func__, offs, offs);
if (offs < 0) {
if (offs == -FDT_ERR_EXISTS)
if (offs == -FDT_ERR_EXISTS) {
offs = fdt_path_offset(dt->blob, item[j]);
DMSG("%s(): fdt_path_offset(%p, %s) = %d\n", __func__, dt->blob, item[j], offs);
}
if (offs < 0)
return -1;
}
Expand Down

0 comments on commit 6bdf08e

Please sign in to comment.