Skip to contentSkip to conversation

arm: mxs: be more careful when enabling gpmi_clk

PATCH New sbabic at denx.de 1 participant 1 message Jan 4, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 arm: mxs: be more careful when enabling gpmi_clk

Quoted 5 lines

The data sheet says that the DIV field cannot change while the CLKGATE bit is set or modified. So do it a little more carefully, by first clearing the bit, waiting for that to appear, then setting the DIV field.

Applied to u-boot-imx, -next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================