From: Patrick Delaunay Date: Fri, 6 Mar 2020 10:14:10 +0000 (+0100) Subject: ram: stm32mp1: reduce delay after BIST reset for tuning X-Git-Tag: v2020.07-rc1~41^2~6^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d424e6786f637d3181ffa9e2cc9ed6bca00aa30f;p=oweals%2Fu-boot.git ram: stm32mp1: reduce delay after BIST reset for tuning Reduce the delay after BIST delay, from 1ms to 10us which is enough accoriding datasheet. Signed-off-by: Patrick Delaunay Acked-by: Patrice Chotard --- diff --git a/drivers/ram/stm32mp1/stm32mp1_tuning.c b/drivers/ram/stm32mp1/stm32mp1_tuning.c index 07d57d496c..3013b7b667 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tuning.c +++ b/drivers/ram/stm32mp1/stm32mp1_tuning.c @@ -402,7 +402,7 @@ run: writel(rand(), &phy->bistlsr); /* some delay to reset BIST */ - mdelay(1); + udelay(10); /*Perform BIST Run*/ clrsetbits_le32(&phy->bistrr,