diff options
-rw-r--r-- | src/lib/device_tree.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/device_tree.c b/src/lib/device_tree.c index 3821e5cced..fb3ce905bf 100644 --- a/src/lib/device_tree.c +++ b/src/lib/device_tree.c @@ -1501,7 +1501,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay) uint32_t phandle_base = tree->max_phandle; uint32_t new_max = dt_adjust_all_phandles(overlay->root, phandle_base); if (!new_max) { - printk(BIOS_DEBUG, "ERROR: invalid phandles in overlay\n"); + printk(BIOS_ERR, "invalid phandles in overlay\n"); return -1; } tree->max_phandle = new_max; @@ -1512,7 +1512,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay) "/__local_fixups__", NULL, NULL, 0); if (local_fixups && dt_fixup_locals(overlay->root, local_fixups, phandle_base) < 0) { - printk(BIOS_DEBUG, "ERROR: invalid local fixups in overlay\n"); + printk(BIOS_ERR, "invalid local fixups in overlay\n"); return -1; } @@ -1536,8 +1536,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay) "/__symbols__", NULL, NULL, 0); if (fixups && dt_fixup_all_externals(tree, symbols, overlay, fixups, overlay_symbols) < 0) { - printk(BIOS_DEBUG, - "ERROR: cannot match external fixups from overlay\n"); + printk(BIOS_ERR, "cannot match external fixups from overlay\n"); return -1; } @@ -1546,7 +1545,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay) struct device_tree_node *fragment; list_for_each(fragment, overlay->root->children, list_node) if (dt_import_fragment(tree, fragment, overlay_symbols) < 0) { - printk(BIOS_DEBUG, "ERROR: bad DT fragment '%s'\n", + printk(BIOS_ERR, "bad DT fragment '%s'\n", fragment->name); return -1; } |