diff options
author | Wolfgang Denk <wd@denx.de> | 2008-08-25 23:34:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-25 23:34:22 +0200 |
commit | b97a31165ab042543bac38f692cf98575367afc4 (patch) | |
tree | 6fc13d6951d24728c29c4f45aa15c84a5e5d9578 /cpu/arm1136/mx31/generic.c | |
parent | 4d56e8dea670757c801a6a65531f02a8f981ce1f (diff) | |
parent | 079edb913dbae147b50a488cf02e03f473fc5f28 (diff) | |
download | u-boot-imx-b97a31165ab042543bac38f692cf98575367afc4.zip u-boot-imx-b97a31165ab042543bac38f692cf98575367afc4.tar.gz u-boot-imx-b97a31165ab042543bac38f692cf98575367afc4.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'cpu/arm1136/mx31/generic.c')
-rw-r--r-- | cpu/arm1136/mx31/generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/arm1136/mx31/generic.c b/cpu/arm1136/mx31/generic.c index dc031c9..1415d6c 100644 --- a/cpu/arm1136/mx31/generic.c +++ b/cpu/arm1136/mx31/generic.c @@ -27,8 +27,8 @@ static u32 mx31_decode_pll(u32 reg, u32 infreq) { u32 mfi = (reg >> 10) & 0xf; - u32 mfn = reg & 0x3f; - u32 mfd = (reg >> 16) & 0x3f; + u32 mfn = reg & 0x3ff; + u32 mfd = (reg >> 16) & 0x3ff; u32 pd = (reg >> 26) & 0xf; mfi = mfi <= 5 ? 5 : mfi; |