diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2011-12-19 05:20:15 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-19 18:47:14 -0500 |
commit | 4de34f3572882fd0a0e655cda494577c22663215 (patch) | |
tree | bacfc1653577ac6470d7e99e7d1c21931157dc80 /arch/arm/plat-omap | |
parent | 50a01e6440020877c2f71bc5ac4d818d9b8f31c1 (diff) |
ARM: OMAP2+: split omap2/3/4_check_revision function
We need to detect the SoC revision early, but the SoC
feature detection can be done later on. In order to allow
further clean-up later on, this patch separates the SoC
revision check from the SoC feature check.
This patch doesn't change functionality or behavior of the code
execution; it barely cleans up the code and splits into SoC
specific implementation for Rev ID and feature detection.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/cpu.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h index 6b51086fce18..428ccb12d168 100644 --- a/arch/arm/plat-omap/include/plat/cpu.h +++ b/arch/arm/plat-omap/include/plat/cpu.h | |||
@@ -451,7 +451,12 @@ IS_OMAP_TYPE(3517, 0x3517) | |||
451 | #define OMAP447X_CLASS 0x44700044 | 451 | #define OMAP447X_CLASS 0x44700044 |
452 | #define OMAP4470_REV_ES1_0 (OMAP447X_CLASS | (0x10 << 8)) | 452 | #define OMAP4470_REV_ES1_0 (OMAP447X_CLASS | (0x10 << 8)) |
453 | 453 | ||
454 | void omap2_check_revision(void); | 454 | void omap2xxx_check_revision(void); |
455 | void omap3xxx_check_revision(void); | ||
456 | void omap4xxx_check_revision(void); | ||
457 | void omap3xxx_check_features(void); | ||
458 | void ti81xx_check_features(void); | ||
459 | void omap4xxx_check_features(void); | ||
455 | 460 | ||
456 | /* | 461 | /* |
457 | * Runtime detection of OMAP3 features | 462 | * Runtime detection of OMAP3 features |