diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-06-05 12:56:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-06-05 12:56:55 +0000 |
commit | 7a5c013c1e3fad5e90a55572a2c579332bf0ac56 (patch) | |
tree | 8bfdb2645c3d50a11ee9f4ceddf901f6f1070549 /c/src/lib/libcpu/arm/pxa255/clock/clock.c | |
parent | 2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7a5c013c1e3fad5e90a55572a2c579332bf0ac56.tar.bz2 |
2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* pxa255/clock/clock.c: Add ON_SKYEYE option to enable fast idle mode.
Diffstat (limited to 'c/src/lib/libcpu/arm/pxa255/clock/clock.c')
-rwxr-xr-x | c/src/lib/libcpu/arm/pxa255/clock/clock.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/c/src/lib/libcpu/arm/pxa255/clock/clock.c b/c/src/lib/libcpu/arm/pxa255/clock/clock.c index e4f6fc9cdf..d0fe9ecab4 100755 --- a/c/src/lib/libcpu/arm/pxa255/clock/clock.c +++ b/c/src/lib/libcpu/arm/pxa255/clock/clock.c @@ -8,26 +8,25 @@ * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * - * * $Id$ */ + #include <rtems.h> #include <rtems/clockdrv.h> #include <rtems/libio.h> #include <stdlib.h> #include <bsp.h> +#include <bspopts.h> #include <irq.h> #include <pxa255.h> - +#if ON_SKYEYE==1 + #define CLOCK_DRIVER_USE_FAST_IDLE +#endif static unsigned long period_num; - - - - /** * Enables clock interrupt. * |