]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00159737 [Mx6]Add clock check for periph clk
authorAnson Huang <b20788@freescale.com>
Tue, 11 Oct 2011 12:03:16 +0000 (20:03 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:43 +0000 (14:09 +0200)
commit589687bcd04604d193ad05b12e3193a4c0f9bc1c
tree0f79d0f2d26448591cf7ef2f71ab196ce6046c4f
parent6a86ae6aa6ad29f183e155c5050f4c2089a16ee9
ENGR00159737 [Mx6]Add clock check for periph clk

For lpddr2 board, current freq only support up to
400MHz, in this case, periph clk will set to 400M
in uboot, so in clock init, we need to check
whether the ddr clock is set to 400M, if yes, then
we should set periph clk parent to pll2_pfd_400M.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/crm_regs.h