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 <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72476 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
@@ -50,7 +50,7 @@ static void init_vpd_rdev(const char *fmap_name, struct region_device *rdev)
|
|||||||
int32_t size;
|
int32_t size;
|
||||||
|
|
||||||
if (fmap_locate_area_as_rdev(fmap_name, rdev)) {
|
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);
|
fmap_name);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user