]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: replace cpu type check with ddr type check
authorAnson Huang <b20788@freescale.com>
Wed, 17 Sep 2014 03:11:45 +0000 (11:11 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 06:56:17 +0000 (14:56 +0800)
commitb8d46b949832e2d31f377c51041fbd4b20d18b5e
tree83577860847dac802631c097be8aefdd8b28ac96
parentbd094021e6c725207dd85dac5ca2bff46fe24960
ARM: imx: replace cpu type check with ddr type check

As the DDR/IO and MMDC setting are different on LPDDR2 and DDR3,
we used cpu type to decide how to do these settings in suspend
before which is NOT flexible, take i.MX6SL for example, although
it has LPDDR2 on EVK board, but users can also use DDR3 on other
boards, so it is better to read the DDR type from MMDC then decide
how to do related settings.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mmdc.c
arch/arm/mach-imx/mxc.h
arch/arm/mach-imx/pm-imx6.c
arch/arm/mach-imx/suspend-imx6.S