u-boot/drivers/mtd/nand/spi
Patrice Chotard 4f64a310fc mtd: spinand: Fix display of unknown raw ID
In case ID is not found in manufacturer table, the raw ID is
printed using %*phN format which is not supported by lib/vsprintf.c.
The information displayed doesn't reflect the raw ID return by the
unknown spi-nand.

Use %02x format instead, as done in spi-nor-core.c.

For example, before this patch:
  ERROR: spi-nand: spi_nand flash@0: unknown raw ID f74ec040
after
  ERROR: spi-nand: spi_nand flash@0: unknown raw ID 00 c2 26 03

Fixes: 0a6d6bae03 ("mtd: nand: Add core infrastructure to support SPI NANDs")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
2023-02-27 16:30:09 +01:00
..
core.c mtd: spinand: Fix display of unknown raw ID 2023-02-27 16:30:09 +01:00
gigadevice.c mtd: nand: spi: Support GigaDevice GD5F1GQ5UExxG 2021-02-26 16:01:37 +05:30
Kconfig mtd: rename CONFIG_MTD -> CONFIG_DM_MTD 2019-12-03 23:04:10 -05:00
macronix.c mtd: spinand: macronix: Fix ECC Status Read 2021-10-08 17:59:34 +05:30
Makefile mtd: spi-nand: Import Toshiba SPI-NAND support 2020-04-29 01:44:35 +05:30
micron.c mtd: spinand: micron: Add new Micron SPI NAND devices with multiple dies 2020-07-20 22:29:18 +05:30
toshiba.c mtd: spinand: toshiba: Support for new Kioxia Serial NAND 2020-05-28 01:24:03 +05:30
winbond.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00