Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69496 )
Change subject: mb/google/butterfly: Fix log messages ......................................................................
mb/google/butterfly: Fix log messages
Change 'printk(BIOS_DEBUG, "ERROR:' to printk(BIOS_ERR, "'.
Change-Id: Id31c25f5b8686f951ab4f331682b82ff327d5e78 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/mainboard/google/butterfly/mainboard.c 1 file changed, 15 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/69496/1
diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c index f428e69..67f371c 100644 --- a/src/mainboard/google/butterfly/mainboard.c +++ b/src/mainboard/google/butterfly/mainboard.c @@ -40,7 +40,7 @@ retval = *offset - 'a' + 0x0a; } if (retval > 0x0F) { - printk(BIOS_DEBUG, "Error: Invalid Hex digit found: %c - 0x%02x\n", + printk(BIOS_ERR, "Invalid Hex digit found: %c - 0x%02x\n", *offset, (unsigned char)*offset); retval = 0; } @@ -58,8 +58,7 @@ offset = search(key, (char *)search_address, sizeof(key) - 1, search_length); if (offset == search_length) { - printk(BIOS_DEBUG, - "Error: Could not locate '%s' in VPD\n", key); + printk(BIOS_ERR, "Could not locate '%s' in VPD\n", key); return 0; } printk(BIOS_DEBUG, "Located '%s' in VPD\n", key); @@ -149,7 +148,7 @@ kbd_type = EC_KBD_JP; } } else { - printk(BIOS_DEBUG, "Error: Could not locate VPD area\n"); + printk(BIOS_ERR, "Could not locate VPD area\n"); }
printk(BIOS_DEBUG, "Setting Keyboard type in EC to ");