summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2022-02-16 07:25:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-03-08 15:01:54 +0000
commit4b2490eed629801cfb59dc2bf20cccebba8daa0a (patch)
tree7d981930efb233f794da81b7a34bc34f7406f560 /src
parenta909c7f613d8fcb055c6dd38222436be868446ba (diff)
downloadcoreboot-4b2490eed629801cfb59dc2bf20cccebba8daa0a.tar.gz
coreboot-4b2490eed629801cfb59dc2bf20cccebba8daa0a.tar.bz2
coreboot-4b2490eed629801cfb59dc2bf20cccebba8daa0a.zip
drivers/intel/i210: Set log level to BIOS_NOTICE on missing MAC address
Set the log level to BIOS_NOTICE for the case where the mainboard can not provide a MAC address since this can be a valid case. Showing this message with log level BIOS_ERR is not appropriate. In addition, rephrase the message to make clear that if the mainboard does not provide a MAC address the one stored in the MAC will be used. Change-Id: Ibfc58845f0ea47ced048b446e685c4860a29f075 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62008 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/i210/i210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c
index 0b2fcd250e6a..c63ae0e4aefd 100644
--- a/src/drivers/intel/i210/i210.c
+++ b/src/drivers/intel/i210/i210.c
@@ -187,7 +187,7 @@ static void init(struct device *dev)
/*Check first whether there is a valid MAC address available */
status = mainboard_get_mac_address(dev, adr_to_set);
if (status != CB_SUCCESS) {
- printk(BIOS_ERR, "I210: No valid MAC address found\n");
+ printk(BIOS_NOTICE, "I210: Mainboard has no address, keep the one in MAC.\n");
return;
}
/* Before we will write a new address, check the existing one */