lib/device_tree.c: Change 'printk(BIOS_DEBUG, "ERROR:' to printk(BIOS_ERR, "'
Change-Id: Ie20a2c35afc2b849396ddb023b99aab33836b8de Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61723 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
08d2016e50
commit
8b5841e9ea
|
@ -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 phandle_base = tree->max_phandle;
|
||||||
uint32_t new_max = dt_adjust_all_phandles(overlay->root, phandle_base);
|
uint32_t new_max = dt_adjust_all_phandles(overlay->root, phandle_base);
|
||||||
if (!new_max) {
|
if (!new_max) {
|
||||||
printk(BIOS_DEBUG, "ERROR: invalid phandles in overlay\n");
|
printk(BIOS_ERR, "invalid phandles in overlay\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
tree->max_phandle = new_max;
|
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);
|
"/__local_fixups__", NULL, NULL, 0);
|
||||||
if (local_fixups && dt_fixup_locals(overlay->root, local_fixups,
|
if (local_fixups && dt_fixup_locals(overlay->root, local_fixups,
|
||||||
phandle_base) < 0) {
|
phandle_base) < 0) {
|
||||||
printk(BIOS_DEBUG, "ERROR: invalid local fixups in overlay\n");
|
printk(BIOS_ERR, "invalid local fixups in overlay\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1536,8 +1536,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay)
|
||||||
"/__symbols__", NULL, NULL, 0);
|
"/__symbols__", NULL, NULL, 0);
|
||||||
if (fixups && dt_fixup_all_externals(tree, symbols, overlay,
|
if (fixups && dt_fixup_all_externals(tree, symbols, overlay,
|
||||||
fixups, overlay_symbols) < 0) {
|
fixups, overlay_symbols) < 0) {
|
||||||
printk(BIOS_DEBUG,
|
printk(BIOS_ERR, "cannot match external fixups from overlay\n");
|
||||||
"ERROR: cannot match external fixups from overlay\n");
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1546,7 +1545,7 @@ int dt_apply_overlay(struct device_tree *tree, struct device_tree *overlay)
|
||||||
struct device_tree_node *fragment;
|
struct device_tree_node *fragment;
|
||||||
list_for_each(fragment, overlay->root->children, list_node)
|
list_for_each(fragment, overlay->root->children, list_node)
|
||||||
if (dt_import_fragment(tree, fragment, overlay_symbols) < 0) {
|
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);
|
fragment->name);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue