[PATCH 8/8] drivers: mtd: nand: HSD #1508104447-13: mtd: nand: raw: denali: Wait for reset completion status
Jit Loon Lim
jit.loon.lim at intel.com
Sun Sep 11 18:10:32 CEST 2022
From: Ley Foon Tan <ley.foon.tan at intel.com>
Fixed delay 200us is not working in certain platform. Change to
poll for reset completion status to have more reliable reset process.
Controller will set the rst_comp bit in intr_status register after
controller has completed its reset and initialization process.
Signed-off-by: Radu Bacrau <radu.bacrau at intel.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim at intel.com>
---
drivers/mtd/nand/raw/denali_dt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/denali_dt.c b/drivers/mtd/nand/raw/denali_dt.c
index cf4df0168a..5a4c11e159 100644
--- a/drivers/mtd/nand/raw/denali_dt.c
+++ b/drivers/mtd/nand/raw/denali_dt.c
@@ -154,8 +154,8 @@ static int denali_dt_probe(struct udevice *dev)
/*
* When the reset is deasserted, the initialization sequence is
- * kicked (bootstrap process). The driver must wait until it is
- * finished. Otherwise, it will result in unpredictable behavior.
+ * kicked. The driver must wait until it is finished. Otherwise,
+ * it will result in unpredictable behavior.
*/
ret = denali_wait_reset_complete(denali);
if (ret) {
--
2.26.2
More information about the U-Boot
mailing list