summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-02-08 21:23:12 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-11 14:07:37 +0000
commit8b5841e9ea37d593e0668e0b67a6a74a3cf7e782 (patch)
treee34fb57aa73db4cca7a5696dd91ed8d048a862d9 /src
parent08d2016e506153494eb053cd3a2db66f6f780d90 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/lib/device_tree.c9
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;
}