summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-03-28 20:31:33 +0800
committerBryan Wu <cooloney@kernel.org>2009-03-28 20:31:33 +0800
commitffc89627ae14b46f41836ddabdc9dc77c597eca5 (patch)
treed3ad40ed779d7ed17f8c4b71bc13da99982636ed /arch/blackfin
parente1312bfcc25f9301f997bf1ce84355a0f1167847 (diff)
downloadop-kernel-dev-ffc89627ae14b46f41836ddabdc9dc77c597eca5.zip
op-kernel-dev-ffc89627ae14b46f41836ddabdc9dc77c597eca5.tar.gz
Blackfin arch: bf51x processors also have 8 timers
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/gptimers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/gptimers.h b/arch/blackfin/include/asm/gptimers.h
index 0520d2a..a29f649 100644
--- a/arch/blackfin/include/asm/gptimers.h
+++ b/arch/blackfin/include/asm/gptimers.h
@@ -15,9 +15,9 @@
#include <asm/blackfin.h>
/*
- * BF537/BF527: 8 timers:
+ * BF51x/BF52x/BF537: 8 timers:
*/
-#if defined(BF527_FAMILY) || defined(BF537_FAMILY)
+#if defined(CONFIG_BF51x) || defined(BF527_FAMILY) || defined(BF537_FAMILY)
# define MAX_BLACKFIN_GPTIMERS 8
# define TIMER0_GROUP_REG TIMER_ENABLE
#endif
OpenPOWER on IntegriCloud