[PATCH 4/5] mtd: rawnand: zynq: Do not fail the probe for no reason
Miquel Raynal (DAVE)
miquel.raynal at bootlin.com
Fri May 29 18:39:00 CEST 2026
If there is no indication about 16b buswidth, no need to fail the probe,
just assume it is the (very standard) 8b case.
Signed-off-by: Miquel Raynal (DAVE) <miquel.raynal at bootlin.com>
---
drivers/mtd/nand/raw/zynq_nand.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c
index 54c255630724..be080cbb0743 100644
--- a/drivers/mtd/nand/raw/zynq_nand.c
+++ b/drivers/mtd/nand/raw/zynq_nand.c
@@ -1134,12 +1134,6 @@ static int zynq_nand_probe(struct udevice *dev)
nand_chip->write_buf = zynq_nand_write_buf;
is_16bit_bw = zynq_nand_check_is_16bit_bw_flash();
- if (is_16bit_bw == NAND_BW_UNKNOWN) {
- printf("%s: Unable detect NAND based on MIO settings\n",
- __func__);
- return -EINVAL;
- }
-
if (is_16bit_bw == NAND_BW_16BIT)
nand_chip->options = NAND_BUSWIDTH_16;
--
2.53.0
More information about the U-Boot
mailing list