Skip to content
Snippets Groups Projects
Commit a2865197 authored by Sascha Hauer's avatar Sascha Hauer
Browse files

[ARM] MXC: Use a single function for decoding a PLL


We had 3 versions of this function in clock support for MX1/2/3
Use a single one instead. I picked the one from the MX3 as it seems
to calculate more accurate as the other ones. Also, on MX27 and MX31 mfn
can be negative, this hasn't been handled correctly on MX27 since now.

This patch has been tested on MX27 and MX31 and produces the same clock
frequencies for me.

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 5512e88f
No related branches found
No related tags found
Loading
Loading
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