[U-Boot] [PATCH 20/45] dm: spi: Add logging of some return values

sjg at google.com sjg at google.com
Tue Oct 9 23:55:15 UTC 2018


When SPI flash operations fail it is helpful to be able to see the error
codes and where they are generated. Add logging to capture this
information for read operations.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/mtd/spi/sf-uclass.c | 6 +++---
 drivers/mtd/spi/sf_probe.c  | 2 +-
 drivers/mtd/spi/spi_flash.c | 8 ++++----
 drivers/spi/spi-uclass.c    | 6 +++---
 4 files changed, 11 insertions(+), 11 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list