Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/75586?usp=email )
Change subject: drivers/spi/spi_flash.c: Print the flash ID when find_match fails ......................................................................
drivers/spi/spi_flash.c: Print the flash ID when find_match fails
Print the flash ID codes when find_match fails to match the flash.
BUG=b:285110121
Change-Id: I2106abfcfbd44c7d56d48ffbb43d8c76089af076 Signed-off-by: Fred Reitberger reitbergerfred@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/75586 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Jon Murphy jpmurphy@google.com Reviewed-by: Martin Roth martin.roth@amd.corp-partner.google.com --- M src/drivers/spi/spi_flash.c 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Jon Murphy: Looks good to me, approved Martin Roth: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c index ea1b716..5182684 100644 --- a/src/drivers/spi/spi_flash.c +++ b/src/drivers/spi/spi_flash.c @@ -467,6 +467,7 @@ return fill_spi_flash(spi, flash, vi, part); }
+ printk(BIOS_WARNING, "SF: no match for ID %04x %04x\n", id[0], id[1]); return -1; }