From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Tue, 9 Oct 2018 16:55:15 -0700 Subject: [U-Boot] [PATCH 20/45] dm: spi: Add logging of some return values In-Reply-To: <20181001182249.129565-21-sjg@chromium.org> References: <20181001182249.129565-21-sjg@chromium.org> <20181001182249.129565-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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