mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
mtd: spi-nor: Print jedec id of unrecognized flashes
Hell to debug otherwise. Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
@@ -385,7 +385,7 @@ static const struct flash_info *spi_nor_read_id(struct spi_nor *nor)
|
||||
return info;
|
||||
}
|
||||
}
|
||||
dev_dbg(nor->dev, "unrecognized JEDEC id bytes: %02x, %02x, %02x\n",
|
||||
printf("unrecognized JEDEC id bytes: %02x, %02x, %02x\n",
|
||||
id[0], id[1], id[2]);
|
||||
return ERR_PTR(-EMEDIUMTYPE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user