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>
This commit is contained in:
parent
a909c7f613
commit
4b2490eed6
|
@ -187,7 +187,7 @@ static void init(struct device *dev)
|
||||||
/*Check first whether there is a valid MAC address available */
|
/*Check first whether there is a valid MAC address available */
|
||||||
status = mainboard_get_mac_address(dev, adr_to_set);
|
status = mainboard_get_mac_address(dev, adr_to_set);
|
||||||
if (status != CB_SUCCESS) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
/* Before we will write a new address, check the existing one */
|
/* Before we will write a new address, check the existing one */
|
||||||
|
|
Loading…
Reference in New Issue