spi: Make idcode debug print more useful
The old print simply said "Got idcode". This makes it actually display what it got. BUG=none BRANCH=none TEST=tested on nyan Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: I8f1c8fde6e4ac00b12e74f925b7bcff83d1f69f3 Reviewed-on: https://chromium-review.googlesource.com/191204 Tested-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
371c6c14d8
commit
5f13789be7
1 changed files with 4 additions and 1 deletions
|
|
@ -272,7 +272,10 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs)
|
|||
goto err_read_id;
|
||||
|
||||
#if CONFIG_DEBUG_SPI_FLASH
|
||||
printk(BIOS_SPEW, "SF: Got idcodes\n");
|
||||
printk(BIOS_SPEW, "SF: Got idcode: ");
|
||||
for (i = 0; i < sizeof(idcode); i++)
|
||||
printk(BIOS_SPEW, "%02x ", idcode[i]);
|
||||
printk(BIOS_SPEW, "\n");
|
||||
#endif
|
||||
|
||||
/* count the number of continuation bytes */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue