summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/common.h
diff options
context:
space:
mode:
authorMark A. Greer2009-04-15 21:40:21 +0200
committerKevin Hilman2009-05-26 17:20:31 +0200
commit951d6f6d703110790256abfce03ced117d2dcc6b (patch)
tree598b30a93ff618f56579d2c1218088bd908e5125 /arch/arm/mach-davinci/include/mach/common.h
parentdavinci: Add base address and timer flexibility (diff)
downloadkernel-qcow2-linux-951d6f6d703110790256abfce03ced117d2dcc6b.tar.gz
kernel-qcow2-linux-951d6f6d703110790256abfce03ced117d2dcc6b.tar.xz
kernel-qcow2-linux-951d6f6d703110790256abfce03ced117d2dcc6b.zip
davinci: Add watchdog base address flexibility
The watchdog code currently hardcodes the base address of the timer its using. To support new SoCs, make it support timers at any address. Use the soc_info structure to do this. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/common.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/common.h b/arch/arm/mach-davinci/include/mach/common.h
index 90b43be1174e..d63703826a60 100644
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -57,6 +57,7 @@ struct davinci_soc_info {
u8 *intc_irq_prios;
unsigned long intc_irq_num;
struct davinci_timer_info *timer_info;
+ void __iomem *wdt_base;
};
extern struct davinci_soc_info davinci_soc_info;