diff options
author | Lauri Leukkunen <lauri.leukkunen@nokia.com> | 2008-12-10 17:36:31 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 17:36:31 -0800 |
commit | 84a34344ea1f2f313d84a9fb4cb685b65a6ec26d (patch) | |
tree | db657e72e0be439f4d0baab660e2d46320f02374 /arch/arm/plat-omap/include/mach/board-apollon.h | |
parent | a88231430384f49bebf8a6ec607a9eb4f2254e34 (diff) | |
download | op-kernel-dev-84a34344ea1f2f313d84a9fb4cb685b65a6ec26d.zip op-kernel-dev-84a34344ea1f2f313d84a9fb4cb685b65a6ec26d.tar.gz |
ARM: OMAP2: Use omap_rev() instead of system_rev
system_rev is meant for board revision, this patch changes
all relevant instances to use the new omap_rev() function
liberating system_rev to be used with ATAG_REVISION as it
has been designed.
Signed-off-by: Lauri Leukkunen <lauri.leukkunen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/board-apollon.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/board-apollon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/mach/board-apollon.h b/arch/arm/plat-omap/include/mach/board-apollon.h index 731c858..61bd5e8 100644 --- a/arch/arm/plat-omap/include/mach/board-apollon.h +++ b/arch/arm/plat-omap/include/mach/board-apollon.h @@ -29,12 +29,14 @@ #ifndef __ASM_ARCH_OMAP_APOLLON_H #define __ASM_ARCH_OMAP_APOLLON_H +#include <mach/cpu.h> + extern void apollon_mmc_init(void); static inline int apollon_plus(void) { /* The apollon plus has IDCODE revision 5 */ - return system_rev & 0xc0; + return omap_rev() & 0xc0; } /* Placeholder for APOLLON specific defines */ |