ARM: imx: add soc revision helper functions
authorShawn Guo <shawn.guo@linaro.org>
Tue, 13 Aug 2013 05:54:02 +0000 (13:54 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 21 Oct 2013 01:11:08 +0000 (09:11 +0800)
commitbfefdff8f91aa0a9ff1291d18d54498af276a6e5
tree39221aa63175486fbf84eced72e09ede164b2dc8
parentc7c3eac6277bc60fb4472a16c5af5d54afc83596
ARM: imx: add soc revision helper functions

Similar to what we do for cpu type, the patch adds helper functions
imx_set_soc_revision() and imx_get_soc_revision() to maintain
imx_soc_revision in cpu.c.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpu.c