soc/amd/common/fsp/fsp_validate.c: print warning instead of error

If an AMD FSP binary has no valid image revision information, print a
warning instead of an error.

Change-Id: Ie9c5a387b81205fe93382778090260e41e261776
Signed-off-by: Julian Schroeder <julianmarcusschroeder@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62349
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Julian Schroeder 2022-02-24 15:13:19 -06:00 committed by Raul Rangel
parent 554f9e6b20
commit 017ad9a41d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ void soc_validate_fspm_header(const struct fsp_header *hdr)
/* a coding bug on the AMD FSP side makes this value 1 in
older versions of the FSP.*/
if (hdr->image_revision == 1) {
printk(BIOS_ERR, "No AMD FSP image revision information available\n");
printk(BIOS_WARNING, "No AMD FSP image revision information available\n");
return;
}