diff options
author | Heiko Schocher <hs@denx.de> | 2011-09-14 19:44:00 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-30 22:00:58 +0200 |
commit | de23e7225b48b74dee75c93b3ef7b9e0405c8b0e (patch) | |
tree | 7ddbca1c789c851634b443fde50e2307753d136d /arch/arm/cpu/arm926ejs | |
parent | 19fdf9a1c338c408b992f3d0a7fd03b4207b8cf9 (diff) | |
download | u-boot-imx-de23e7225b48b74dee75c93b3ef7b9e0405c8b0e.zip u-boot-imx-de23e7225b48b74dee75c93b3ef7b9e0405c8b0e.tar.gz u-boot-imx-de23e7225b48b74dee75c93b3ef7b9e0405c8b0e.tar.bz2 |
arm, davinci: move davinci_timer in header file
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Paulraj Sandeep <s-paulraj@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/cpu/arm926ejs')
-rw-r--r-- | arch/arm/cpu/arm926ejs/davinci/timer.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c index 8b1734c..2e7ba48 100644 --- a/arch/arm/cpu/arm926ejs/davinci/timer.c +++ b/arch/arm/cpu/arm926ejs/davinci/timer.c @@ -39,23 +39,10 @@ #include <common.h> #include <asm/io.h> +#include <asm/arch/timer_defs.h> DECLARE_GLOBAL_DATA_PTR; -struct davinci_timer { - u_int32_t pid12; - u_int32_t emumgt; - u_int32_t na1; - u_int32_t na2; - u_int32_t tim12; - u_int32_t tim34; - u_int32_t prd12; - u_int32_t prd34; - u_int32_t tcr; - u_int32_t tgcr; - u_int32_t wdtcr; -}; - static struct davinci_timer * const timer = (struct davinci_timer *)CONFIG_SYS_TIMERBASE; |