diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-08-13 01:54:02 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-20 21:11:08 -0400 |
commit | bfefdff8f91aa0a9ff1291d18d54498af276a6e5 (patch) | |
tree | 39221aa63175486fbf84eced72e09ede164b2dc8 /arch/arm/mach-imx/common.h | |
parent | c7c3eac6277bc60fb4472a16c5af5d54afc83596 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 28e8ca0871e8..6ac25f68a6bc 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h | |||
@@ -77,6 +77,8 @@ extern int imx6q_revision(void); | |||
77 | extern int mx53_display_revision(void); | 77 | extern int mx53_display_revision(void); |
78 | extern void imx_set_aips(void __iomem *); | 78 | extern void imx_set_aips(void __iomem *); |
79 | extern int mxc_device_init(void); | 79 | extern int mxc_device_init(void); |
80 | void imx_set_soc_revision(unsigned int rev); | ||
81 | unsigned int imx_get_soc_revision(void); | ||
80 | 82 | ||
81 | enum mxc_cpu_pwr_mode { | 83 | enum mxc_cpu_pwr_mode { |
82 | WAIT_CLOCKED, /* wfi only */ | 84 | WAIT_CLOCKED, /* wfi only */ |