[U-Boot] [PATCH 3/4] arm: mxs: be more careful when enabling gpmi_clk

2020-01-04 Thread sbabic
> 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 Applied to u-boot-imx, -next, thanks !

[U-Boot] [PATCH 3/4] arm: mxs: be more careful when enabling gpmi_clk

2019-09-12 Thread Rasmus Villemoes
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 --- arch/arm/cpu/arm926ejs/mxs/mxs.c | 5 - 1