From f8ad667d84a1143d5cccc77d5ddfa34cad55c4f2 Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Thu, 3 Jul 2008 11:24:26 +0100 Subject: [PATCH] --- yaml --- r: 100829 b: refs/heads/master c: b4b68f8cfaf583945019e41674cfa858c83316c3 h: refs/heads/master i: 100827: aaa6608973a15a1a2abfeb6ca6bf62c017e4ec35 v: v3 --- [refs] | 2 +- trunk/include/asm-arm/plat-s3c/regs-timer.h | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 14f4a81b01cb..4db3e4bd03ec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f348a2a2817e9d24b1edd4befc9659ec83501ca5 +refs/heads/master: b4b68f8cfaf583945019e41674cfa858c83316c3 diff --git a/trunk/include/asm-arm/plat-s3c/regs-timer.h b/trunk/include/asm-arm/plat-s3c/regs-timer.h index 8b0d594397b1..b5bc692f3489 100644 --- a/trunk/include/asm-arm/plat-s3c/regs-timer.h +++ b/trunk/include/asm-arm/plat-s3c/regs-timer.h @@ -65,6 +65,15 @@ #define S3C2410_TCFG1_MUX0_TCLK0 (4<<0) #define S3C2410_TCFG1_MUX0_MASK (15<<0) +#define S3C2410_TCFG1_MUX_DIV2 (0<<0) +#define S3C2410_TCFG1_MUX_DIV4 (1<<0) +#define S3C2410_TCFG1_MUX_DIV8 (2<<0) +#define S3C2410_TCFG1_MUX_DIV16 (3<<0) +#define S3C2410_TCFG1_MUX_TCLK (4<<0) +#define S3C2410_TCFG1_MUX_MASK (15<<0) + +#define S3C2410_TCFG1_SHIFT(x) ((x) * 4) + /* for each timer, we have an count buffer, an compare buffer and * an observation buffer */