commit | abaf5c98047338c8d8774ff0a5cbc9efffda92f0 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Thu Sep 12 09:17:11 2019 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Tue Jan 07 10:26:57 2020 +0100 |
tree | 403c65514e691a98c750c0fc85691443f9a70875 | |
parent | fb9462522991a50b95ea00fdbc495634bb6a7cca [diff] |
arm: mxs: be more careful when enabling gpmi_clk 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. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>