summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-03-28 13:31:33 +0100
committerBryan Wu <cooloney@kernel.org>2009-03-28 13:31:33 +0100
commitffc89627ae14b46f41836ddabdc9dc77c597eca5 (patch)
treed3ad40ed779d7ed17f8c4b71bc13da99982636ed /arch/blackfin
parentBlackfin arch: add a check to make sure only Blackfin GPIOs may generate IRQs (diff)
downloadlinux-ffc89627ae14b46f41836ddabdc9dc77c597eca5.tar.xz
linux-ffc89627ae14b46f41836ddabdc9dc77c597eca5.zip
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 0520d2aac8f3..a29f649e1729 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