Fred Reitberger has uploaded this change for review. ( 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 --- M src/drivers/spi/spi_flash.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/75586/1
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; }