]> code.ossystems Code Review - bsp/u-boot.git/commit
imx6: ensure AHB clock is 132MHz in low freq boot mode
authorAnson Huang <b20788@freescale.com>
Thu, 23 Jan 2014 06:00:18 +0000 (14:00 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 28 Mar 2014 16:38:35 +0000 (13:38 -0300)
commit8612ce3f4a90f119ad30cb2c591e5691a9e0a910
treed8678352935d5a349a85f67dbb53242eea35ff71
parent094a7918afb48704a465fc998b579e225fedabc4
imx6: ensure AHB clock is 132MHz in low freq boot mode

For low freq boot mode(ARM boot up with 396MHz), ROM
will not set AHB clock to 132MHz, and the reset value of
AHB divider is incorrect which will lead to wrong AHB
rate, need to correct it. To enable low freq boot mode,
need to set BOOT_CFG2[2] to high, tested on i.MX6Q/DL
SabreSD board and i.MX6SL EVK board.

Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c