ram: stm32mp1: reduce delay after BIST reset for tuning
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 6 Mar 2020 10:14:10 +0000 (11:14 +0100)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 24 Mar 2020 13:23:26 +0000 (14:23 +0100)
Reduce the delay after BIST delay, from 1ms to 10us
which is enough accoriding datasheet.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
drivers/ram/stm32mp1/stm32mp1_tuning.c

index 07d57d496c38eb8320279541dd6cb73e6d940e48..3013b7b6676ce8868272d04029a82ad4897a042e 100644 (file)
@@ -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,