diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-04-15 12:40:21 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-26 08:20:31 -0700 |
commit | 951d6f6d703110790256abfce03ced117d2dcc6b (patch) | |
tree | 598b30a93ff618f56579d2c1218088bd908e5125 /arch/arm/mach-davinci/include/mach/time.h | |
parent | f64691b3ab795268072e76ddb89290b6277cdf33 (diff) | |
download | op-kernel-dev-951d6f6d703110790256abfce03ced117d2dcc6b.zip op-kernel-dev-951d6f6d703110790256abfce03ced117d2dcc6b.tar.gz |
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/time.h')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/time.h b/arch/arm/mach-davinci/include/mach/time.h index 1428d77..1c971d8 100644 --- a/arch/arm/mach-davinci/include/mach/time.h +++ b/arch/arm/mach-davinci/include/mach/time.h @@ -13,6 +13,7 @@ #define DAVINCI_TIMER0_BASE (IO_PHYS + 0x21400) #define DAVINCI_TIMER1_BASE (IO_PHYS + 0x21800) +#define DAVINCI_WDOG_BASE (IO_PHYS + 0x21C00) enum { T0_BOT, |