diff options
author | Dan Williams <dan.j.williams@intel.com> | 2007-02-13 11:13:34 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-17 10:05:40 -0500 |
commit | 3668b45d46f777b0773ef5ff49531c1144efb6dd (patch) | |
tree | d9bb1a1ce8d0cce8bff99578fc0ba4bf8cdedd75 /arch/arm/mach-iop32x/iq80321.c | |
parent | 4434c5c7fd61c6713de882a2272b66f32fe7cac3 (diff) |
[ARM] 4187/1: iop: unify time implementation across iop32x, iop33x, and iop13xx
* architecture specific details are handled in asm/arch/time.h
* ARCH_IOP13XX now selects PLAT_IOP
* as suggested by Lennert use ifdef CONFIG_XSCALE to skip the cp_wait on
XSC3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop32x/iq80321.c')
-rw-r--r-- | arch/arm/mach-iop32x/iq80321.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-iop32x/iq80321.c b/arch/arm/mach-iop32x/iq80321.c index 1f37b5501888..361c70c0f64c 100644 --- a/arch/arm/mach-iop32x/iq80321.c +++ b/arch/arm/mach-iop32x/iq80321.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
34 | #include <asm/page.h> | 34 | #include <asm/page.h> |
35 | #include <asm/pgtable.h> | 35 | #include <asm/pgtable.h> |
36 | #include <asm/arch/time.h> | ||
36 | 37 | ||
37 | /* | 38 | /* |
38 | * IQ80321 timer tick configuration. | 39 | * IQ80321 timer tick configuration. |
@@ -40,12 +41,12 @@ | |||
40 | static void __init iq80321_timer_init(void) | 41 | static void __init iq80321_timer_init(void) |
41 | { | 42 | { |
42 | /* 33.333 MHz crystal. */ | 43 | /* 33.333 MHz crystal. */ |
43 | iop3xx_init_time(200000000); | 44 | iop_init_time(200000000); |
44 | } | 45 | } |
45 | 46 | ||
46 | static struct sys_timer iq80321_timer = { | 47 | static struct sys_timer iq80321_timer = { |
47 | .init = iq80321_timer_init, | 48 | .init = iq80321_timer_init, |
48 | .offset = iop3xx_gettimeoffset, | 49 | .offset = iop_gettimeoffset, |
49 | }; | 50 | }; |
50 | 51 | ||
51 | 52 | ||