diff --git a/core/arch/arm/kernel/boot.c b/core/arch/arm/kernel/boot.c index 89fbc310fa2..4e0764a75aa 100644 --- a/core/arch/arm/kernel/boot.c +++ b/core/arch/arm/kernel/boot.c @@ -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; }