u-boot-brain/drivers/mtd/spi
Simon Glass e567ec849a mtd: spi-nor: Tidy up error handling / debug code
The -ENODEV error value in spi_nor_read_id() is incorrect since there
clearly is a device - it just cannot be supported. Use -ENOMEDIUM instead
which has the virtue of being less common.

Fix the return value in spi_nor_scan().

Also there are a few printf() statements which should be debug() since
they bloat the code with unused strings at present. Fix those while here.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-08-03 22:19:54 -04:00
..
fsl_espi_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Kconfig mtd: spi: SPI_FLASH_MTD depends on MTD 2019-12-04 17:10:51 -05:00
Makefile spi: Allow separate control of SPI_FLASH_TINY for SPL/TPL 2020-08-03 22:19:54 -04:00
sandbox.c sandbox: spi: sandbox_sf_state_name() is required 2020-07-09 18:57:21 -06:00
sf_dataflash.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sf_internal.h sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
sf_mtd.c common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
sf_probe.c mtd: spi-nor: Tidy up error handling / debug code 2020-08-03 22:19:54 -04:00
sf-uclass.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
spi-nor-core.c mtd: spi-nor: Tidy up error handling / debug code 2020-08-03 22:19:54 -04:00
spi-nor-ids.c sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array 2020-05-11 01:30:49 +05:30
spi-nor-tiny.c mtd: spi-nor: Tidy up error handling / debug code 2020-08-03 22:19:54 -04:00