diff options
author | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:36:30 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:36:30 -0500 |
commit | 5ba02dcab945dc0bcde7df0c5958329f34bd04ae (patch) | |
tree | 3c284488907609879fa25a05d6a7f9685cc01149 /arch/arm/mach-omap2/id.c | |
parent | 5dd81e2578d75779d1ce8ee0732db3a0e1b35678 (diff) |
ARM: OMAP2: Prepare cpu detection for further improvements
Rename omap2_check_revision to omap24xx_check_revision.
Then next patch will split if further and add omap34xx_check_revision.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/id.c')
-rw-r--r-- | arch/arm/mach-omap2/id.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index bf45ff39a7b5..b6ee18cd67d3 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -191,7 +191,7 @@ static void __init _set_omap_chip(void) | |||
191 | 191 | ||
192 | } | 192 | } |
193 | 193 | ||
194 | void __init omap2_check_revision(void) | 194 | void __init omap24xx_check_revision(void) |
195 | { | 195 | { |
196 | int i, j; | 196 | int i, j; |
197 | u32 idcode; | 197 | u32 idcode; |
@@ -266,6 +266,11 @@ void __init omap2_check_revision(void) | |||
266 | 266 | ||
267 | } | 267 | } |
268 | 268 | ||
269 | void __init omap2_check_revision(void) | ||
270 | { | ||
271 | omap24xx_check_revision(); | ||
272 | } | ||
273 | |||
269 | void __init omap2_set_globals_tap(struct omap_globals *omap2_globals) | 274 | void __init omap2_set_globals_tap(struct omap_globals *omap2_globals) |
270 | { | 275 | { |
271 | class = omap2_globals->class; | 276 | class = omap2_globals->class; |