summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rambi/variants
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-13 07:34:48 +0100
committerMartin L Roth <gaumless@gmail.com>2022-11-15 04:17:34 +0000
commit0f864f6ef90d922fe09888a8ed500eb6be4a340c (patch)
tree33d3817c71eb7bf74527e8d4563e0ab3f0693376 /src/mainboard/google/rambi/variants
parent8f692f41bfe218ce2f711a86b9a22c76012e37e3 (diff)
mb/google: Fix log messages
Change 'printk(BIOS_DEBUG, "ERROR:' to printk(BIOS_ERR, "'. Change-Id: Id31c25f5b8686f951ab4f331682b82ff327d5e78 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69496 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/rambi/variants')
-rw-r--r--src/mainboard/google/rambi/variants/ninja/lan.c6
-rw-r--r--src/mainboard/google/rambi/variants/sumo/lan.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/google/rambi/variants/ninja/lan.c b/src/mainboard/google/rambi/variants/ninja/lan.c
index 0abbffe5f8..8dfdb08226 100644
--- a/src/mainboard/google/rambi/variants/ninja/lan.c
+++ b/src/mainboard/google/rambi/variants/ninja/lan.c
@@ -35,8 +35,7 @@ static unsigned char get_hex_digit(u8 *offset)
retval = *offset - 'a' + 0x0a;
}
if (retval > 0x0F) {
- printk(BIOS_DEBUG, "Error: Invalid Hex digit found: %c - 0x%02x\n",
- *offset, *offset);
+ printk(BIOS_ERR, "Invalid Hex digit found: %c - 0x%02x\n", *offset, *offset);
retval = 0;
}
@@ -52,8 +51,7 @@ static int get_mac_address(u32 *high_dword, u32 *low_dword,
offset = search(key, 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);
diff --git a/src/mainboard/google/rambi/variants/sumo/lan.c b/src/mainboard/google/rambi/variants/sumo/lan.c
index 66083ae466..168f8b50dc 100644
--- a/src/mainboard/google/rambi/variants/sumo/lan.c
+++ b/src/mainboard/google/rambi/variants/sumo/lan.c
@@ -35,8 +35,7 @@ static unsigned char get_hex_digit(u8 *offset)
retval = *offset - 'a' + 0x0a;
}
if (retval > 0x0F) {
- printk(BIOS_DEBUG, "Error: Invalid Hex digit found: %c - 0x%02x\n",
- *offset, *offset);
+ printk(BIOS_ERR, "Invalid Hex digit found: %c - 0x%02x\n", *offset, *offset);
retval = 0;
}
@@ -52,8 +51,7 @@ static int get_mac_address(u32 *high_dword, u32 *low_dword,
offset = search(key, 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);