From 4b2490eed629801cfb59dc2bf20cccebba8daa0a Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Wed, 16 Feb 2022 07:25:21 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62008 Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer --- src/drivers/intel/i210/i210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/intel/i210/i210.c b/src/drivers/intel/i210/i210.c index 0b2fcd250e..c63ae0e4ae 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 */ -- cgit v1.2.3