From bcc9879151c0ff61dfa3f2206b538d5c8be619ba Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 26 Jan 2023 15:14:42 -0600 Subject: [PATCH] drivers/vpd: Demote FMAP not found printk from error to warn Not all firmware which uses VPD uses both RO and RW regions, so either one not existing is not necessarily an error. Change-Id: I50f43a25ee24a642c39e2f0b52de2d4fef023f3b Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/72476 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/drivers/vpd/vpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/vpd/vpd.c b/src/drivers/vpd/vpd.c index 24b878f3f2..4bd5f60c70 100644 --- a/src/drivers/vpd/vpd.c +++ b/src/drivers/vpd/vpd.c @@ -50,7 +50,7 @@ static void init_vpd_rdev(const char *fmap_name, struct region_device *rdev) int32_t size; if (fmap_locate_area_as_rdev(fmap_name, rdev)) { - printk(BIOS_ERR, "%s: No %s FMAP section.\n", __func__, + printk(BIOS_WARNING, "%s: No %s FMAP section.\n", __func__, fmap_name); goto fail; }