Skip to content
Snippets Groups Projects
Commit 7d75254b authored by Kotaro Hayashi's avatar Kotaro Hayashi Committed by Masahiro Yamada
Browse files

ARM: uniphier: fix delay fixup code in LD11 UMC init


The ddrphy_shift_rof_hws() never writes back the shifted delay value
to the register, which makes this function non-effective.

Signed-off-by: default avatarKotaro Hayashi <hayashi.kotaro@socionext.com>
[masahiro: add git log]
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent e95455ac
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ static void ddrphy_shift_rof_hws(void __iomem *phy_base, const int pos_shift[][2
rdqnsd = clamp(rdqnsd + ddrphy_hpstep(neg_shift[block][byte], dx, phy_base),
0U, 0xffU);
lcdlr1 = (lcdlr1 & ~(0xffff << 8)) | (rdqsd << 8) | (rdqnsd << 16);
writel(lcdlr1, phy_base + PHY_DXLCDLR1(dx));
readl(phy_base + PHY_DXLCDLR1(dx)); /* relax */
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment