imx233: rework cpu frequency scaling
commit09e6b890e64312f1d11d2e529d405b4df615b3bd
authorAmaury Pouly <amaury.pouly@gmail.com>
Wed, 26 Dec 2012 00:12:24 +0000 (26 01:12 +0100)
committerAmaury Pouly <amaury.pouly@gmail.com>
Wed, 26 Dec 2012 00:17:28 +0000 (26 01:17 +0100)
treebcdf6e2c405e52fc2bdc6ca56c3d4a02da668c73
parente2da3f47d335dad87362354c36ea7e27bc26676b
imx233: rework cpu frequency scaling

When changing the cpu frequency, it is important to make sure that
HBUS stays at a reasonable frequency otherwise the chip will
crash. Special care is needed about auto-slow and clk_p/clk_h
ratio on intermediate steps.

Change-Id: Ief9f68ddf286caabe75c879718dac5027ab1560f
firmware/target/arm/imx233/system-imx233.c