imx233: fix potential hbus dividor settings + doc
commitca83b558dffbdc91e7ada0e1c48c208b945e1385
authorAmaury Pouly <amaury.pouly@gmail.com>
Wed, 26 Dec 2012 00:06:04 +0000 (26 01:06 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Wed, 26 Dec 2012 00:17:28 +0000 (26 01:17 +0100)
treea07be868bc57bde3e106a95d358856aeebd0c200
parent423755d1bd8e12c9b525b7d3c2918510d72bb37e
imx233: fix potential hbus dividor settings + doc

HBUS uses the same field for integer and fractional dividers, the
choice is made by a bit. Make sure both are changed together,
otherwise this could result in the wrong divider to be used and in
HBUS freq to be too low or too high (very bad).

Change-Id: I253d8eeee26c5038868b729c4f791511295a39f0
firmware/target/arm/imx233/clkctrl-imx233.c
firmware/target/arm/imx233/clkctrl-imx233.h